Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009817/0.0009817, allocations: 198.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.2 MB / 245 MB, free: 7.641 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008235/0.0008235, allocations: 101.2 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001843/0.0001844, allocations: 4 kB / 358 MB, free: 9.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1639, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07992/0.2439, allocations: 78.87 MB / 488.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.2441, allocations: 83.95 kB / 488.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009837/0.254, allocations: 3.558 MB / 492 MB, free: 8.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.254, allocations: 4.219 kB / 492 MB, free: 8.086 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.254, allocations: 7.938 kB / 492 MB, free: 8.078 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000784/0.2548, allocations: 0.5798 MB / 492.6 MB, free: 7.449 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2549, allocations: 8.031 kB / 492.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.2549, allocations: 46.55 kB / 492.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.255, allocations: 31.62 kB / 492.7 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.2553, allocations: 295 kB / 493 MB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2553, allocations: 4 kB / 493 MB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.2554, allocations: 19.95 kB / 493 MB, free: 7.008 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.2556, allocations: 125.6 kB / 493.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.2556, allocations: 0 / 493.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.2557, allocations: 8 kB / 493.1 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2557, allocations: 0 / 493.1 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.2558, allocations: 87.83 kB / 493.2 MB, free: 6.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007114/0.2566, allocations: 0.5235 MB / 493.7 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004507/0.257, allocations: 186.7 kB / 493.9 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.2571, allocations: 3.938 kB / 493.9 MB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2571, allocations: 34.56 kB / 494 MB, free: 5.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2571, allocations: 0 / 494 MB, free: 5.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001341/0.2584, allocations: 0.6653 MB / 494.6 MB, free: 5.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.2585, allocations: 59.34 kB / 494.7 MB, free: 5.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.2588, allocations: 299.7 kB / 495 MB, free: 4.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2588, allocations: 25.7 kB / 495 MB, free: 4.852 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.693e-05/0.2589, allocations: 152.4 kB / 495.2 MB, free: 4.695 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.26e-05/0.2589, allocations: 67.09 kB / 495.2 MB, free: 4.629 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.259, allocations: 7.938 kB / 495.2 MB, free: 4.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.2591, allocations: 338.8 kB / 495.6 MB, free: 4.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.2592, allocations: 68.34 kB / 495.6 MB, free: 4.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.2593, allocations: 63.92 kB / 495.7 MB, free: 4.156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.2595, allocations: 68.92 kB / 495.8 MB, free: 4.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2595, allocations: 0 / 495.8 MB, free: 4.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003614/0.2598, allocations: 218.6 kB / 496 MB, free: 3.871 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2599, allocations: 8 kB / 496 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2599, allocations: 3.953 kB / 496 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.2599, allocations: 4 kB / 496 MB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.2602, allocations: 59.95 kB / 496 MB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.2602, allocations: 4 kB / 496 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2603, allocations: 15.88 kB / 496.1 MB, free: 3.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.2604, allocations: 4 kB / 496.1 MB, free: 3.773 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.2605, allocations: 131.9 kB / 496.2 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.2605, allocations: 35.62 kB / 496.2 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.2609, allocations: 224.5 kB / 496.4 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2609, allocations: 3.953 kB / 496.5 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2609, allocations: 4 kB / 496.5 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.261, allocations: 0 / 496.5 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.2613, allocations: 317.4 kB / 496.8 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2613, allocations: 0 / 496.8 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.2616, allocations: 59.95 kB / 496.8 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.2617, allocations: 8 kB / 496.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.2617, allocations: 7.984 kB / 496.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2617, allocations: 0 / 496.8 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2617, allocations: 3.953 kB / 496.8 MB, free: 2.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005043/0.2622, allocations: 401.5 kB / 497.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.2623, allocations: 108.8 kB / 497.3 MB, free: 2.395 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.2623, allocations: 4 kB / 497.3 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2625, allocations: 11.98 kB / 497.4 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.2626, allocations: 15.94 kB / 497.4 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.2626, allocations: 4 kB / 497.4 MB, free: 2.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002208/0.2628, allocations: 247 kB / 497.6 MB, free: 2.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.943e-06/0.2628, allocations: 0 / 497.6 MB, free: 2.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.2631, allocations: 51.94 kB / 497.7 MB, free: 2.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (invMixingUnit.c,invMixingUnit.T,filter.x[1],mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007376/0.2638, allocations: 0.9276 MB / 498.6 MB, free: 1.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002921/0.2641, allocations: 166.9 kB / 498.8 MB, free: 0.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2642, allocations: 0 / 498.8 MB, free: 0.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.2643, allocations: 86.25 kB / 498.8 MB, free: 0.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.2645, allocations: 29.08 kB / 498.9 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.2671, allocations: 1.967 MB / 0.4891 GB, free: 14.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.2674, allocations: 0.7716 MB / 0.4899 GB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.2675, allocations: 38.27 kB / 0.4899 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.2677, allocations: 91.41 kB / 0.49 GB, free: 13.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2677, allocations: 0 / 0.49 GB, free: 13.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.2827, allocations: 5.163 MB / 0.495 GB, free: 8.973 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.2829, allocations: 237.6 kB / 0.4952 GB, free: 8.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.104, allocations: 6.5 kB / 0.4953 GB, free: 8.727 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Systems_Utilities_ComponentsMixingUnit_MixingUnitWithContinuousControl.fmu > Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Systems.Utilities.ComponentsMixingUnit.MixingUnitWithContinuousControl_res.mat does not exist to compare? outputFormat=mat