Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 185.1 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 90.17 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4484/0.4484, allocations: 44.23 MB / 387.5 MB, free: 38.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003826, allocations: 8 kB / 460 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5143, allocations: 61.89 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.581/8.095, allocations: 2.792 GB / 3.302 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/8.096, allocations: 94.97 kB / 3.302 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.539/9.635, allocations: 445.7 MB / 3.737 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.488e-06/9.635, allocations: 1.062 kB / 3.737 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.973e-05/9.635, allocations: 22.56 kB / 3.737 GB, free: 58.14 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007271/9.642, allocations: 1.847 MB / 3.739 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/9.642, allocations: 12.66 kB / 3.739 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/9.643, allocations: 108.4 kB / 3.739 GB, free: 57.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/9.645, allocations: 350.5 kB / 3.739 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/9.647, allocations: 0.575 MB / 3.74 GB, free: 57.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/9.647, allocations: 48.47 kB / 3.74 GB, free: 57.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/9.647, allocations: 57.12 kB / 3.74 GB, free: 57.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/9.649, allocations: 1.023 MB / 3.741 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/9.649, allocations: 1.312 kB / 3.741 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.633e-05/9.649, allocations: 29.59 kB / 3.741 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.059e-05/9.649, allocations: 21.09 kB / 3.741 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/9.652, allocations: 0.9208 MB / 3.742 GB, free: 56.8 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005611/9.658, allocations: 4.916 MB / 3.747 GB, free: 53.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/9.66, allocations: 0.7855 MB / 3.748 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04177/9.702, allocations: 24.21 MB / 3.771 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/9.702, allocations: 41.62 kB / 3.771 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=46): time 2.775e-06/9.702, allocations: 0 / 3.771 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.005757/9.708, allocations: 1.653 MB / 3.773 GB, free: 38.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/9.708, allocations: 110.7 kB / 3.773 GB, free: 38.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006308/9.708, allocations: 461.9 kB / 3.773 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/9.708, allocations: 35.95 kB / 3.773 GB, free: 38.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/9.709, allocations: 335.5 kB / 3.774 GB, free: 37.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/9.709, allocations: 164.6 kB / 3.774 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/9.709, allocations: 5.938 kB / 3.774 GB, free: 37.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001303/9.709, allocations: 371.5 kB / 3.774 GB, free: 37.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/9.709, allocations: 244.4 kB / 3.775 GB, free: 37.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/9.71, allocations: 426.6 kB / 3.775 GB, free: 37.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/9.711, allocations: 285.2 kB / 3.775 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/9.711, allocations: 3.188 kB / 3.775 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001683/9.712, allocations: 0.8375 MB / 3.776 GB, free: 37.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003832/9.713, allocations: 2.005 MB / 3.778 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/9.713, allocations: 4.625 kB / 3.778 GB, free: 35.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/9.714, allocations: 296.1 kB / 3.778 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/9.715, allocations: 143.2 kB / 3.778 GB, free: 35.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/9.716, allocations: 0.7964 MB / 3.779 GB, free: 34.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008148/9.717, allocations: 120.8 kB / 3.779 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/9.717, allocations: 38.73 kB / 3.779 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/9.717, allocations: 6.406 kB / 3.779 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001699/9.718, allocations: 0.7685 MB / 3.78 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/9.718, allocations: 10.28 kB / 3.78 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009966/9.719, allocations: 203.5 kB / 3.78 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004688/9.72, allocations: 144.4 kB / 3.78 GB, free: 34.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007254/9.721, allocations: 0.7533 MB / 3.781 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007382/9.721, allocations: 113.8 kB / 3.781 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/9.722, allocations: 34.59 kB / 3.781 GB, free: 34.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004394/9.722, allocations: 294.2 kB / 3.782 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/9.722, allocations: 60.56 kB / 3.782 GB, free: 33.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/9.725, allocations: 3.053 MB / 3.785 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/9.725, allocations: 43.31 kB / 3.785 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/9.725, allocations: 8.922 kB / 3.785 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/9.725, allocations: 5.672 kB / 3.785 GB, free: 33.52 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/9.727, allocations: 1.48 MB / 3.786 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/9.727, allocations: 3.5 kB / 3.786 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/9.727, allocations: 95.33 kB / 3.786 GB, free: 33.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/9.729, allocations: 1.011 MB / 3.787 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.057e-05/9.729, allocations: 14.38 kB / 3.787 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/9.731, allocations: 1.448 MB / 3.789 GB, free: 32.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/9.731, allocations: 3.312 kB / 3.789 GB, free: 32.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/9.733, allocations: 2.058 MB / 3.791 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005488/9.734, allocations: 334.7 kB / 3.791 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/9.734, allocations: 13.5 kB / 3.791 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/9.735, allocations: 81.5 kB / 3.791 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/9.735, allocations: 56.92 kB / 3.791 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/9.735, allocations: 23.52 kB / 3.791 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006484/9.735, allocations: 465.3 kB / 3.792 GB, free: 32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/9.735, allocations: 0 / 3.792 GB, free: 32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00681/9.742, allocations: 1.434 MB / 3.793 GB, free: 31.78 MB / 0.5261 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01199/9.754, allocations: 3.993 MB / 3.797 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003346/9.758, allocations: 1.366 MB / 3.798 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/9.758, allocations: 0 / 3.798 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/9.759, allocations: 0.8138 MB / 3.799 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/9.761, allocations: 323.4 kB / 3.799 GB, free: 30.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009912/9.771, allocations: 7.26 MB / 3.806 GB, free: 25.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/9.771, allocations: 1.164 MB / 3.808 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001222/9.773, allocations: 0.6611 MB / 3.808 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005113/9.773, allocations: 420 kB / 3.809 GB, free: 24.57 MB / 0.5261 GB Notification: Performance of SimCode: time 1.293e-06/9.773, allocations: 4 kB / 3.809 GB, free: 24.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09415/9.867, allocations: 54.62 MB / 3.862 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/9.868, allocations: 267 kB / 3.862 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.301/14.17, allocations: 0 / 3.862 GB, free: 11.54 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat