Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.001479/0.00148, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009081/0.000908, allocations: 86.59 kB / 267 MB, free: 9.285 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.4148/0.4148, allocations: 43.46 MB / 358.6 MB, free: 52.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.843e-05/3.845e-05, allocations: 4 kB / 425.4 MB, free: 8.789 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1551, allocations: 58.85 MB / 484.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.903/8.058, allocations: 2.765 GB / 3.238 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/8.058, allocations: 85.47 kB / 3.238 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.589/9.647, allocations: 420.2 MB / 3.648 GB, free: 53.07 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.573e-06/9.647, allocations: 3.719 kB / 3.648 GB, free: 53.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.31e-05/9.648, allocations: 19.02 kB / 3.648 GB, free: 53.07 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.005858/9.653, allocations: 1.644 MB / 3.65 GB, free: 52.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/9.653, allocations: 10.19 kB / 3.65 GB, free: 52.15 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/9.654, allocations: 100.3 kB / 3.65 GB, free: 52.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/9.656, allocations: 299.3 kB / 3.65 GB, free: 52.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/9.657, allocations: 0.5233 MB / 3.65 GB, free: 51.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/9.657, allocations: 48.62 kB / 3.651 GB, free: 51.66 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/9.657, allocations: 54.03 kB / 3.651 GB, free: 51.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/9.659, allocations: 0.9458 MB / 3.652 GB, free: 51.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/9.659, allocations: 7.812 kB / 3.652 GB, free: 51.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/9.659, allocations: 23.69 kB / 3.652 GB, free: 51.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/9.659, allocations: 30.36 kB / 3.652 GB, free: 51.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/9.661, allocations: 0.7738 MB / 3.652 GB, free: 50.95 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/9.665, allocations: 4.664 MB / 3.657 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/9.667, allocations: 0.679 MB / 3.658 GB, free: 46.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/9.667, allocations: 220.2 kB / 3.658 GB, free: 46.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04208/9.709, allocations: 24.16 MB / 3.681 GB, free: 31.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/9.709, allocations: 42.25 kB / 3.681 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/9.709, allocations: 0 / 3.681 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.003219/9.713, allocations: 1.002 MB / 3.682 GB, free: 31.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/9.713, allocations: 106.1 kB / 3.682 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/9.713, allocations: 409.3 kB / 3.683 GB, free: 30.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/9.713, allocations: 32.89 kB / 3.683 GB, free: 30.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/9.713, allocations: 320 kB / 3.683 GB, free: 30.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/9.714, allocations: 144.2 kB / 3.683 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/9.714, allocations: 10.81 kB / 3.683 GB, free: 30.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001004/9.714, allocations: 364.3 kB / 3.684 GB, free: 29.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/9.714, allocations: 152.2 kB / 3.684 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003335/9.714, allocations: 326.9 kB / 3.684 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/9.715, allocations: 195.2 kB / 3.684 GB, free: 29.53 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/9.715, allocations: 15.48 kB / 3.684 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001181/9.716, allocations: 0.6451 MB / 3.685 GB, free: 29.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004052/9.716, allocations: 1.919 MB / 3.687 GB, free: 27.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/9.716, allocations: 7.328 kB / 3.687 GB, free: 27.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/9.717, allocations: 175.3 kB / 3.687 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/9.717, allocations: 123 kB / 3.687 GB, free: 27.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006688/9.718, allocations: 0.7206 MB / 3.688 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/9.719, allocations: 108.2 kB / 3.688 GB, free: 26.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/9.719, allocations: 32.03 kB / 3.688 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/9.719, allocations: 3.938 kB / 3.688 GB, free: 26.5 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001038/9.72, allocations: 0.5702 MB / 3.689 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/9.72, allocations: 7.594 kB / 3.689 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000793/9.721, allocations: 176.2 kB / 3.689 GB, free: 26.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/9.721, allocations: 126.1 kB / 3.689 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005154/9.722, allocations: 0.6998 MB / 3.69 GB, free: 25.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006149/9.722, allocations: 102 kB / 3.69 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/9.722, allocations: 27.59 kB / 3.69 GB, free: 25.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000193/9.723, allocations: 147.5 kB / 3.69 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/9.723, allocations: 59.59 kB / 3.69 GB, free: 25.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/9.726, allocations: 2.885 MB / 3.693 GB, free: 24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.613e-05/9.726, allocations: 42.3 kB / 3.693 GB, free: 23.99 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/9.726, allocations: 0 / 3.693 GB, free: 23.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/9.726, allocations: 15.11 kB / 3.693 GB, free: 23.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/9.727, allocations: 1.429 MB / 3.694 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/9.727, allocations: 0 / 3.694 GB, free: 23.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/9.727, allocations: 92.77 kB / 3.694 GB, free: 23.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/9.729, allocations: 0.7536 MB / 3.695 GB, free: 23.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/9.729, allocations: 11.84 kB / 3.695 GB, free: 23.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009563/9.73, allocations: 1.248 MB / 3.696 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/9.73, allocations: 2.438 kB / 3.696 GB, free: 22.18 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/9.731, allocations: 1.8 MB / 3.698 GB, free: 21.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004255/9.732, allocations: 323.6 kB / 3.698 GB, free: 21.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/9.732, allocations: 15.48 kB / 3.698 GB, free: 21.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004964/9.732, allocations: 77.81 kB / 3.698 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/9.733, allocations: 47.12 kB / 3.698 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-05/9.733, allocations: 17.88 kB / 3.698 GB, free: 20.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004639/9.733, allocations: 423.4 kB / 3.699 GB, free: 20.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/9.733, allocations: 3.938 kB / 3.699 GB, free: 20.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00625/9.739, allocations: 1.347 MB / 3.7 GB, free: 20.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/9.75, allocations: 3.701 MB / 3.704 GB, free: 18.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002744/9.753, allocations: 1.136 MB / 3.705 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/9.753, allocations: 0 / 3.705 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009955/9.754, allocations: 0.7157 MB / 3.706 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/9.756, allocations: 298.9 kB / 3.706 GB, free: 17.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007286/9.763, allocations: 2.247 MB / 3.708 GB, free: 16.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/9.764, allocations: 1.141 MB / 3.709 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001395/9.766, allocations: 0.6864 MB / 3.71 GB, free: 16.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/9.766, allocations: 379.8 kB / 3.71 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/9.766, allocations: 0 / 3.71 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4353/10.2, allocations: 55.92 MB / 3.765 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/10.2, allocations: 232.5 kB / 3.765 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.879/14.08, allocations: 0 / 3.765 GB, free: 83.68 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat