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.001649/0.001649, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.678/1.678, allocations: 221.3 MB / 236 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 102 kB / 287 MB, free: 224 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2348/0.2348, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.904e-05, allocations: 4.219 kB / 451.9 MB, free: 9.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1543, allocations: 61.9 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.717/7.871, allocations: 2.792 GB / 3.294 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/7.871, allocations: 83.45 kB / 3.294 GB, free: 78.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.864/9.736, allocations: 444.4 MB / 3.728 GB, free: 54.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/9.736, allocations: 0 / 3.728 GB, free: 54.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.574e-05/9.736, allocations: 20.94 kB / 3.728 GB, free: 54.75 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.007786/9.744, allocations: 1.768 MB / 3.73 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/9.744, allocations: 10.53 kB / 3.73 GB, free: 52.94 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003261/9.744, allocations: 106.4 kB / 3.73 GB, free: 52.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/9.747, allocations: 349.4 kB / 3.73 GB, free: 52.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/9.749, allocations: 0.572 MB / 3.731 GB, free: 51.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/9.749, allocations: 51.19 kB / 3.731 GB, free: 51.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/9.749, allocations: 56 kB / 3.731 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/9.752, allocations: 0.9811 MB / 3.732 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/9.752, allocations: 0 / 3.732 GB, free: 50.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/9.752, allocations: 35.58 kB / 3.732 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/9.752, allocations: 25.27 kB / 3.732 GB, free: 50.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/9.754, allocations: 0.8245 MB / 3.733 GB, free: 49.87 MB / 0.5261 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.005541/9.759, allocations: 4.917 MB / 3.737 GB, free: 44.56 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/9.761, allocations: 0.7059 MB / 3.738 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/9.762, allocations: 225.6 kB / 3.738 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0431/9.805, allocations: 24.29 MB / 3.762 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/9.805, allocations: 38.94 kB / 3.762 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=46): time 3.556e-06/9.805, allocations: 0 / 3.762 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46): time 0.003705/9.808, allocations: 1.064 MB / 3.763 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/9.809, allocations: 110.8 kB / 3.763 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007775/9.809, allocations: 452.7 kB / 3.764 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.459e-05/9.809, allocations: 33.7 kB / 3.764 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/9.81, allocations: 339.9 kB / 3.764 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/9.81, allocations: 161.7 kB / 3.764 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/9.81, allocations: 12 kB / 3.764 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001013/9.81, allocations: 366.8 kB / 3.765 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/9.81, allocations: 169.5 kB / 3.765 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/9.811, allocations: 361.6 kB / 3.765 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/9.811, allocations: 217.1 kB / 3.765 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/9.811, allocations: 0 / 3.765 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001164/9.812, allocations: 0.6799 MB / 3.766 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004918/9.813, allocations: 2.004 MB / 3.768 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/9.813, allocations: 4 kB / 3.768 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/9.814, allocations: 268.5 kB / 3.768 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/9.815, allocations: 135.8 kB / 3.768 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009454/9.816, allocations: 0.7552 MB / 3.769 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/9.816, allocations: 115.3 kB / 3.769 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/9.817, allocations: 35.98 kB / 3.769 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/9.817, allocations: 9.359 kB / 3.769 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/9.818, allocations: 0.6163 MB / 3.77 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/9.818, allocations: 4 kB / 3.77 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008221/9.819, allocations: 176.9 kB / 3.77 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/9.819, allocations: 139.8 kB / 3.77 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000545/9.82, allocations: 0.7161 MB / 3.771 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007751/9.82, allocations: 119.4 kB / 3.771 GB, free: 7.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/9.821, allocations: 31.98 kB / 3.771 GB, free: 7.211 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 () * 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.0002095/9.821, allocations: 145.9 kB / 3.771 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/9.821, allocations: 67.33 kB / 3.771 GB, free: 7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003126/9.824, allocations: 3.022 MB / 3.774 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.624e-05/9.824, allocations: 43.89 kB / 3.774 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/9.824, allocations: 4 kB / 3.774 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/9.824, allocations: 3.984 kB / 3.774 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/9.826, allocations: 1.48 MB / 3.776 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/9.826, allocations: 0 / 3.776 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003535/9.826, allocations: 103.9 kB / 3.776 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001988/9.828, allocations: 1.158 MB / 3.777 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/9.828, allocations: 19.94 kB / 3.777 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/9.83, allocations: 1.48 MB / 3.778 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/9.83, allocations: 0 / 3.778 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/9.832, allocations: 1.997 MB / 3.78 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006209/9.833, allocations: 330.7 kB / 3.781 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/9.833, allocations: 12 kB / 3.781 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008054/9.834, allocations: 87.78 kB / 3.781 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/9.834, allocations: 52.42 kB / 3.781 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/9.834, allocations: 27.98 kB / 3.781 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000754/9.835, allocations: 451.3 kB / 3.781 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.31e-07/9.835, allocations: 4 kB / 3.781 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007234/9.842, allocations: 1.432 MB / 3.783 GB, free: 11.19 MB / 0.5417 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 () * 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.01364/9.856, allocations: 3.849 MB / 3.786 GB, free: 7.504 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003168/9.859, allocations: 1.184 MB / 3.787 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/9.859, allocations: 0 / 3.787 GB, free: 6.328 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/9.86, allocations: 0.7456 MB / 3.788 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/9.862, allocations: 322.4 kB / 3.789 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008475/9.871, allocations: 2.37 MB / 3.791 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000955/9.872, allocations: 1.167 MB / 3.792 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001579/9.873, allocations: 0.6784 MB / 3.793 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005721/9.874, allocations: 411.3 kB / 3.793 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of SimCode: time 1.513e-06/9.874, allocations: 0 / 3.793 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5159/10.39, allocations: 58.19 MB / 3.85 GB, free: 79.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/10.39, allocations: 229.3 kB / 3.85 GB, free: 79.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.083/14.47, allocations: 0 / 3.85 GB, free: 79.37 MB / 0.5417 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