Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002123/0.002123, allocations: 186.1 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.335/2.335, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001199/0.001198, allocations: 91.17 kB / 270.9 MB, free: 8.371 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.5266/0.5266, allocations: 43.55 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004881, allocations: 12 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1401, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.721/8.861, allocations: 2.787 GB / 3.266 GB, free: 20.44 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/8.861, allocations: 92.5 kB / 3.266 GB, free: 20.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.711/11.57, allocations: 441 MB / 3.696 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.205e-06/11.57, allocations: 0 / 3.696 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.162e-05/11.57, allocations: 20.66 kB / 3.696 GB, free: 57.07 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.009243/11.58, allocations: 1.852 MB / 3.698 GB, free: 56.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/11.58, allocations: 8.438 kB / 3.698 GB, free: 56.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003294/11.58, allocations: 106.8 kB / 3.698 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004068/11.59, allocations: 354.2 kB / 3.699 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/11.59, allocations: 0.5703 MB / 3.699 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.909e-05/11.59, allocations: 50.66 kB / 3.699 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/11.59, allocations: 58.88 kB / 3.699 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/11.59, allocations: 1.016 MB / 3.7 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/11.59, allocations: 4.406 kB / 3.7 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/11.59, allocations: 31.38 kB / 3.7 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/11.59, allocations: 23.44 kB / 3.7 GB, free: 55.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004972/11.6, allocations: 0.9225 MB / 3.701 GB, free: 55.88 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.01235/11.61, allocations: 4.914 MB / 3.706 GB, free: 52.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005603/11.62, allocations: 0.7849 MB / 3.707 GB, free: 52.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1136/11.73, allocations: 24.2 MB / 3.73 GB, free: 37.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.728e-05/11.73, allocations: 39.78 kB / 3.73 GB, free: 37.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 5.019e-06/11.73, allocations: 0 / 3.73 GB, free: 37.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.01602/11.75, allocations: 1.657 MB / 3.732 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.095e-05/11.75, allocations: 107.3 kB / 3.732 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009703/11.75, allocations: 460.8 kB / 3.733 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/11.75, allocations: 34.92 kB / 3.733 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/11.75, allocations: 376 kB / 3.733 GB, free: 37.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/11.75, allocations: 153 kB / 3.733 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/11.75, allocations: 13.75 kB / 3.733 GB, free: 36.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/11.75, allocations: 336 kB / 3.733 GB, free: 36.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/11.75, allocations: 251.2 kB / 3.734 GB, free: 36.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/11.75, allocations: 424.5 kB / 3.734 GB, free: 36.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/11.75, allocations: 284.2 kB / 3.734 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/11.75, allocations: 3.031 kB / 3.734 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003203/11.75, allocations: 0.7982 MB / 3.735 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005206/11.75, allocations: 2.013 MB / 3.737 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/11.75, allocations: 6.375 kB / 3.737 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002741/11.76, allocations: 290.9 kB / 3.737 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/11.76, allocations: 141.8 kB / 3.738 GB, free: 34.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/11.76, allocations: 0.801 MB / 3.738 GB, free: 33.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/11.76, allocations: 122.4 kB / 3.738 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/11.76, allocations: 37.89 kB / 3.738 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/11.76, allocations: 2.844 kB / 3.738 GB, free: 33.7 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003641/11.77, allocations: 0.7661 MB / 3.739 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/11.77, allocations: 7.469 kB / 3.739 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/11.77, allocations: 190 kB / 3.739 GB, free: 33.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/11.77, allocations: 144.3 kB / 3.74 GB, free: 33.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/11.77, allocations: 0.7479 MB / 3.74 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/11.77, allocations: 103.6 kB / 3.74 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/11.77, allocations: 36.86 kB / 3.74 GB, free: 33.14 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.0006671/11.77, allocations: 285.1 kB / 3.741 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/11.77, allocations: 62.98 kB / 3.741 GB, free: 32.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0068/11.78, allocations: 3.063 MB / 3.744 GB, free: 32.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.585e-05/11.78, allocations: 48.02 kB / 3.744 GB, free: 32.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/11.78, allocations: 2.625 kB / 3.744 GB, free: 32.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/11.78, allocations: 3.562 kB / 3.744 GB, free: 32.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/11.78, allocations: 1.478 MB / 3.745 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/11.78, allocations: 0 / 3.745 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007189/11.78, allocations: 95.05 kB / 3.745 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003423/11.79, allocations: 1.004 MB / 3.746 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/11.79, allocations: 21 kB / 3.746 GB, free: 32.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/11.79, allocations: 1.448 MB / 3.748 GB, free: 31.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/11.79, allocations: 3.562 kB / 3.748 GB, free: 31.74 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004646/11.79, allocations: 2.06 MB / 3.75 GB, free: 31.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000832/11.79, allocations: 334.9 kB / 3.75 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/11.79, allocations: 17.7 kB / 3.75 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/11.8, allocations: 79.34 kB / 3.75 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/11.8, allocations: 52.09 kB / 3.75 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/11.8, allocations: 20.45 kB / 3.75 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001063/11.8, allocations: 471.7 kB / 3.751 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.51e-07/11.8, allocations: 1.188 kB / 3.751 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008611/11.81, allocations: 1.43 MB / 3.752 GB, free: 30.91 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.01656/11.82, allocations: 4.011 MB / 3.756 GB, free: 29.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005718/11.83, allocations: 1.361 MB / 3.757 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/11.83, allocations: 3.125 kB / 3.757 GB, free: 29.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002123/11.83, allocations: 0.8021 MB / 3.758 GB, free: 29.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/11.83, allocations: 315.3 kB / 3.758 GB, free: 29.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/11.84, allocations: 7.292 MB / 3.766 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/11.85, allocations: 1.161 MB / 3.767 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008271/11.85, allocations: 420.8 kB / 3.767 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of SimCode: time 1.914e-06/11.85, allocations: 0 / 3.767 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.853/15.7, allocations: 41.47 MB / 3.808 GB, free: 20.4 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat