Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",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.002301/0.002301, allocations: 183.4 kB / 15.76 MB, free: 6.367 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.972/1.972, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009442/0.0009441, allocations: 90.8 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2743/0.2743, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.000359, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1702, allocations: 58.87 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.928/7.098, allocations: 2.787 GB / 3.266 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/7.098, allocations: 86.89 kB / 3.266 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.356/8.455, allocations: 441 MB / 3.696 GB, free: 31.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.264e-06/8.455, allocations: 0 / 3.696 GB, free: 31.78 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.784e-05/8.455, allocations: 17.8 kB / 3.696 GB, free: 31.77 MB / 0.5105 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.006631/8.462, allocations: 1.847 MB / 3.698 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/8.462, allocations: 8.031 kB / 3.698 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/8.462, allocations: 102.5 kB / 3.698 GB, free: 29.76 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002532/8.464, allocations: 350.8 kB / 3.699 GB, free: 29.42 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/8.465, allocations: 0.5722 MB / 3.699 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/8.465, allocations: 59.17 kB / 3.699 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.777e-05/8.466, allocations: 56.69 kB / 3.699 GB, free: 28.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/8.468, allocations: 1.016 MB / 3.7 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/8.468, allocations: 0 / 3.7 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/8.468, allocations: 28 kB / 3.7 GB, free: 27.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/8.468, allocations: 21.31 kB / 3.7 GB, free: 27.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/8.47, allocations: 0.9182 MB / 3.701 GB, free: 26.66 MB / 0.5105 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.00439/8.474, allocations: 4.921 MB / 3.706 GB, free: 21.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/8.476, allocations: 0.7964 MB / 3.707 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3382/8.814, allocations: 24.2 MB / 3.73 GB, free: 57.15 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.5e-05/8.815, allocations: 40.64 kB / 3.73 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 5.68e-06/8.815, allocations: 0 / 3.73 GB, free: 57.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.006502/8.821, allocations: 1.652 MB / 3.732 GB, free: 56.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/8.821, allocations: 113.3 kB / 3.732 GB, free: 56.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/8.822, allocations: 458 kB / 3.733 GB, free: 56.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.223e-05/8.822, allocations: 35.52 kB / 3.733 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/8.822, allocations: 345.2 kB / 3.733 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/8.822, allocations: 157.6 kB / 3.733 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/8.822, allocations: 7.875 kB / 3.733 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001329/8.822, allocations: 377.9 kB / 3.733 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/8.823, allocations: 243.3 kB / 3.734 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/8.824, allocations: 425.3 kB / 3.734 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/8.825, allocations: 284.9 kB / 3.734 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/8.825, allocations: 4.531 kB / 3.734 GB, free: 55.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00196/8.827, allocations: 0.8375 MB / 3.735 GB, free: 55.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004828/8.827, allocations: 2.002 MB / 3.737 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/8.827, allocations: 9.781 kB / 3.737 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/8.829, allocations: 294.4 kB / 3.737 GB, free: 53.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/8.829, allocations: 144.6 kB / 3.738 GB, free: 53.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/8.831, allocations: 0.7995 MB / 3.738 GB, free: 53.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/8.832, allocations: 125.4 kB / 3.738 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/8.832, allocations: 35.47 kB / 3.739 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/8.832, allocations: 3.781 kB / 3.739 GB, free: 53.27 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002389/8.834, allocations: 0.7682 MB / 3.739 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/8.834, allocations: 4.219 kB / 3.739 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/8.835, allocations: 215.1 kB / 3.739 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/8.836, allocations: 141.8 kB / 3.74 GB, free: 53.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/8.837, allocations: 0.7556 MB / 3.74 GB, free: 52.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008043/8.838, allocations: 105.2 kB / 3.74 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/8.838, allocations: 33.06 kB / 3.74 GB, free: 52.71 MB / 0.5105 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.0005539/8.838, allocations: 280.4 kB / 3.741 GB, free: 52.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/8.838, allocations: 74.08 kB / 3.741 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/8.843, allocations: 3.057 MB / 3.744 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.572e-05/8.843, allocations: 44.41 kB / 3.744 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/8.843, allocations: 2.328 kB / 3.744 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/8.843, allocations: 5.922 kB / 3.744 GB, free: 52.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/8.845, allocations: 1.474 MB / 3.745 GB, free: 51.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/8.845, allocations: 3.969 kB / 3.745 GB, free: 51.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/8.846, allocations: 96.61 kB / 3.745 GB, free: 51.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/8.848, allocations: 1.006 MB / 3.746 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/8.848, allocations: 14.42 kB / 3.746 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/8.85, allocations: 1.452 MB / 3.748 GB, free: 51.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/8.85, allocations: 0 / 3.748 GB, free: 51.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003255/8.853, allocations: 2.063 MB / 3.75 GB, free: 51.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006416/8.854, allocations: 334.3 kB / 3.75 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-05/8.854, allocations: 13.14 kB / 3.75 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/8.854, allocations: 82.3 kB / 3.75 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/8.855, allocations: 55.45 kB / 3.75 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/8.855, allocations: 24.83 kB / 3.75 GB, free: 50.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007468/8.855, allocations: 467.1 kB / 3.751 GB, free: 50.83 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.31e-07/8.855, allocations: 1.438 kB / 3.751 GB, free: 50.83 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007431/8.863, allocations: 1.433 MB / 3.752 GB, free: 50.82 MB / 0.5105 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.01415/8.877, allocations: 3.997 MB / 3.756 GB, free: 49.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004059/8.881, allocations: 1.369 MB / 3.757 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/8.881, allocations: 2.312 kB / 3.757 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/8.883, allocations: 0.8032 MB / 3.758 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/8.885, allocations: 307.9 kB / 3.758 GB, free: 49.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009859/8.895, allocations: 7.265 MB / 3.766 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006811/8.895, allocations: 1.16 MB / 3.767 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001421/8.897, allocations: 0.6523 MB / 3.767 GB, free: 44.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/8.897, allocations: 416 kB / 3.768 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/8.897, allocations: 3.844 kB / 3.768 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/9.003, allocations: 54.53 MB / 3.821 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/9.004, allocations: 271.4 kB / 3.821 GB, free: 41.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/13.08, allocations: 0 / 3.821 GB, free: 41.56 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat