Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.002641/0.002641, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.02/2.02, 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.001166/0.001166, allocations: 86.88 kB / 270.9 MB, free: 8.367 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.5204/0.5204, allocations: 43.55 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.000471, allocations: 15.98 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1328, allocations: 58.84 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.897/9.03, allocations: 2.782 GB / 3.26 GB, free: 41.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/9.03, allocations: 86.14 kB / 3.26 GB, free: 41.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.237/11.27, allocations: 440.2 MB / 3.69 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.535e-06/11.27, allocations: 0 / 3.69 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.692e-05/11.27, allocations: 16 kB / 3.69 GB, free: 9.711 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.009975/11.28, allocations: 1.859 MB / 3.692 GB, free: 7.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/11.28, allocations: 12.02 kB / 3.692 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004223/11.28, allocations: 102.5 kB / 3.692 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004014/11.28, allocations: 327.9 kB / 3.693 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002096/11.28, allocations: 0.5633 MB / 3.693 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.757e-05/11.28, allocations: 53.31 kB / 3.693 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/11.28, allocations: 52.69 kB / 3.693 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/11.29, allocations: 1.016 MB / 3.694 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/11.29, allocations: 7.938 kB / 3.694 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/11.29, allocations: 28 kB / 3.694 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/11.29, allocations: 21 kB / 3.694 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004899/11.29, allocations: 0.9404 MB / 3.695 GB, free: 4.59 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.4219/11.72, allocations: 4.77 MB / 3.7 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004813/11.72, allocations: 0.8293 MB / 3.701 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07681/11.8, allocations: 24.15 MB / 3.724 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/11.8, allocations: 46.72 kB / 3.724 GB, free: 39.49 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 3.437e-06/11.8, allocations: 0 / 3.724 GB, free: 39.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.01053/11.81, allocations: 1.695 MB / 3.726 GB, free: 39.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/11.81, allocations: 109.4 kB / 3.726 GB, free: 39.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008564/11.81, allocations: 462.9 kB / 3.727 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.316e-05/11.81, allocations: 34.77 kB / 3.727 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/11.81, allocations: 365.1 kB / 3.727 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/11.81, allocations: 152 kB / 3.727 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/11.81, allocations: 13.69 kB / 3.727 GB, free: 38.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.479e-05/11.81, allocations: 334.4 kB / 3.727 GB, free: 38.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/11.81, allocations: 253.6 kB / 3.728 GB, free: 38.49 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/11.81, allocations: 434 kB / 3.728 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/11.81, allocations: 294.6 kB / 3.728 GB, free: 38.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/11.81, allocations: 3.312 kB / 3.728 GB, free: 38.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003299/11.82, allocations: 0.812 MB / 3.729 GB, free: 38.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005721/11.82, allocations: 2.101 MB / 3.731 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/11.82, allocations: 6.469 kB / 3.731 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/11.82, allocations: 297.5 kB / 3.731 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/11.82, allocations: 147.6 kB / 3.732 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/11.82, allocations: 0.7978 MB / 3.732 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/11.82, allocations: 127.9 kB / 3.733 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.214e-05/11.82, allocations: 38.09 kB / 3.733 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/11.82, allocations: 4.438 kB / 3.733 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004166/11.83, allocations: 0.7898 MB / 3.733 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/11.83, allocations: 9.75 kB / 3.733 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001683/11.83, allocations: 188.7 kB / 3.734 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/11.83, allocations: 152.7 kB / 3.734 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/11.83, allocations: 0.7451 MB / 3.734 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/11.83, allocations: 103.8 kB / 3.734 GB, free: 34.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/11.83, allocations: 30.89 kB / 3.735 GB, free: 34.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 55 * 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.0006074/11.83, allocations: 282 kB / 3.735 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/11.84, allocations: 66.64 kB / 3.735 GB, free: 34.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005756/11.84, allocations: 2.911 MB / 3.738 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/11.84, allocations: 37.09 kB / 3.738 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/11.84, allocations: 0 / 3.738 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/11.84, allocations: 5.359 kB / 3.738 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/11.84, allocations: 1.372 MB / 3.739 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/11.84, allocations: 3 kB / 3.739 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/11.84, allocations: 112.4 kB / 3.739 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003468/11.85, allocations: 1.061 MB / 3.74 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/11.85, allocations: 10.84 kB / 3.74 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/11.85, allocations: 1.445 MB / 3.742 GB, free: 33.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/11.85, allocations: 0 / 3.742 GB, free: 33.63 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004263/11.85, allocations: 1.891 MB / 3.743 GB, free: 33.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008024/11.86, allocations: 364.4 kB / 3.744 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/11.86, allocations: 14.39 kB / 3.744 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/11.86, allocations: 95.17 kB / 3.744 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/11.86, allocations: 49.41 kB / 3.744 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/11.86, allocations: 19.41 kB / 3.744 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00103/11.86, allocations: 0.5551 MB / 3.745 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/11.86, allocations: 2.438 kB / 3.745 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007491/11.87, allocations: 1.426 MB / 3.746 GB, free: 33.06 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: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01615/11.88, allocations: 3.833 MB / 3.75 GB, free: 32.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005848/11.89, allocations: 1.29 MB / 3.751 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/11.89, allocations: 5.031 kB / 3.751 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002011/11.89, allocations: 0.7051 MB / 3.752 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003174/11.89, allocations: 343.7 kB / 3.752 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/11.9, allocations: 7.319 MB / 3.759 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/11.91, allocations: 1.146 MB / 3.76 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007879/11.91, allocations: 415.6 kB / 3.761 GB, free: 42.24 MB / 0.5261 GB Notification: Performance of SimCode: time 1.864e-06/11.91, allocations: 2.406 kB / 3.761 GB, free: 42.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.851/15.76, allocations: 41.45 MB / 3.801 GB, free: 39.03 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat