Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001242/0.001242, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 86.36 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2757/0.2757, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.835e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.15, allocations: 320.3 MB / 0.7789 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.15, allocations: 88.53 kB / 0.7789 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6186/1.769, allocations: 164.1 MB / 0.9391 GB, free: 119 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.973e-06/1.769, allocations: 0 / 0.9391 GB, free: 119 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.634e-05/1.769, allocations: 21.72 kB / 0.9392 GB, free: 119 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002444/1.771, allocations: 1.044 MB / 0.9402 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.772, allocations: 12.16 kB / 0.9402 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003479/1.772, allocations: 98.95 kB / 0.9403 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009925/1.773, allocations: 0.62 MB / 0.9409 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/1.773, allocations: 14.25 kB / 0.9409 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/1.773, allocations: 34.08 kB / 0.9409 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009324/1.774, allocations: 0.6198 MB / 0.9415 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009397/1.775, allocations: 0.6682 MB / 0.9422 GB, free: 118 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/1.775, allocations: 2.25 kB / 0.9422 GB, free: 118 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/1.775, allocations: 7.344 kB / 0.9422 GB, free: 118 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/1.775, allocations: 20.69 kB / 0.9422 GB, free: 118 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/1.779, allocations: 3.184 MB / 0.9453 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007095/1.78, allocations: 390.6 kB / 0.9457 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/1.78, allocations: 254.9 kB / 0.946 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/1.78, allocations: 0.5679 MB / 0.9465 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/1.78, allocations: 42.38 kB / 0.9465 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006941/1.781, allocations: 114 kB / 0.9467 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.657e-06/1.781, allocations: 2.781 kB / 0.9467 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=63): time 0.0319/1.813, allocations: 4.962 MB / 0.9515 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/1.813, allocations: 107.1 kB / 0.9516 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005676/1.814, allocations: 461 kB / 0.952 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/1.814, allocations: 25.7 kB / 0.9521 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/1.814, allocations: 364.1 kB / 0.9524 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000157/1.814, allocations: 209.3 kB / 0.9526 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/1.814, allocations: 0 / 0.9526 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.814, allocations: 380.1 kB / 0.953 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/1.815, allocations: 276.9 kB / 0.9532 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/1.815, allocations: 462.1 kB / 0.9537 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/1.818, allocations: 0.6604 MB / 0.9543 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.818, allocations: 0 / 0.9543 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00406/1.822, allocations: 1.345 MB / 0.9556 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004332/1.823, allocations: 2.001 MB / 0.9576 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/1.823, allocations: 7.562 kB / 0.9576 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003821/1.826, allocations: 0.7352 MB / 0.9583 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/1.827, allocations: 201.7 kB / 0.9585 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/1.831, allocations: 1.896 MB / 0.9604 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/1.832, allocations: 94.33 kB / 0.9605 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.832, allocations: 53.89 kB / 0.9605 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.832, allocations: 6.469 kB / 0.9605 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003946/1.836, allocations: 1.076 MB / 0.9616 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.836, allocations: 3.688 kB / 0.9616 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/1.838, allocations: 280.3 kB / 0.9618 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/1.839, allocations: 223.4 kB / 0.9621 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006452/1.845, allocations: 4.633 MB / 0.9666 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/1.846, allocations: 88.31 kB / 0.9667 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.323e-05/1.846, allocations: 41.53 kB / 0.9667 GB, free: 107.6 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003722/1.847, allocations: 131.7 kB / 0.9668 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004141/1.851, allocations: 1.178 MB / 0.968 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/1.851, allocations: 81.97 kB / 0.9681 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003264/1.854, allocations: 1.387 MB / 0.9694 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.854, allocations: 13.84 kB / 0.9694 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.854, allocations: 0 / 0.9694 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.854, allocations: 3.797 kB / 0.9694 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004535/1.859, allocations: 2.187 MB / 0.9716 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.859, allocations: 0 / 0.9716 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/1.859, allocations: 156 kB / 0.9717 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/1.861, allocations: 498.7 kB / 0.9722 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/1.861, allocations: 15.05 kB / 0.9722 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/1.863, allocations: 1.599 MB / 0.9738 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.863, allocations: 3.219 kB / 0.9738 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/1.866, allocations: 1.598 MB / 0.9753 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/1.867, allocations: 246.4 kB / 0.9756 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.867, allocations: 7.312 kB / 0.9756 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000724/1.867, allocations: 77.73 kB / 0.9756 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/1.868, allocations: 62.66 kB / 0.9757 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/1.868, allocations: 41.42 kB / 0.9757 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003794/1.868, allocations: 347.9 kB / 0.9761 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.223e-06/1.868, allocations: 0 / 0.9761 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002104/1.87, allocations: 0.6466 MB / 0.9767 GB, free: 104.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.004626/1.875, allocations: 2.621 MB / 0.9793 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003616/1.878, allocations: 1.441 MB / 0.9807 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.878, allocations: 0 / 0.9807 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006907/1.879, allocations: 417.8 kB / 0.9811 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/1.881, allocations: 282.8 kB / 0.9813 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/1.883, allocations: 1.312 MB / 0.9826 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/1.884, allocations: 0.9884 MB / 0.9836 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009354/1.885, allocations: 235.5 kB / 0.9838 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003717/1.885, allocations: 307 kB / 0.9841 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/1.885, allocations: 3.938 kB / 0.9841 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05945/1.945, allocations: 30.66 MB / 1.014 GB, free: 87 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/1.945, allocations: 194.7 kB / 1.014 GB, free: 86.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.435/5.38, allocations: 0 / 1.014 GB, free: 86.76 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat