Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.002475/0.002481, allocations: 181.5 kB / 13.66 MB, free: 1.664 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.09/2.09, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001842/0.001841, allocations: 82.66 kB / 267.5 MB, free: 14.04 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.2854/0.2854, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.373e-05, allocations: 0 / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 58.86 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.374/8.499, allocations: 2.765 GB / 3.238 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/8.5, allocations: 89.72 kB / 3.238 GB, free: 74.99 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.164/10.66, allocations: 420.2 MB / 3.648 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.498e-06/10.66, allocations: 0 / 3.648 GB, free: 65.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.93e-05/10.66, allocations: 22.23 kB / 3.648 GB, free: 65.84 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007818/10.67, allocations: 1.655 MB / 3.65 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/10.67, allocations: 10.81 kB / 3.65 GB, free: 64.84 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/10.67, allocations: 95.34 kB / 3.65 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/10.67, allocations: 302.2 kB / 3.65 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/10.68, allocations: 0.5154 MB / 3.65 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/10.68, allocations: 44.48 kB / 3.651 GB, free: 64.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/10.68, allocations: 56.47 kB / 3.651 GB, free: 64.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/10.68, allocations: 0.9524 MB / 3.652 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/10.68, allocations: 3.938 kB / 3.652 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/10.68, allocations: 27.41 kB / 3.652 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/10.68, allocations: 20.28 kB / 3.652 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/10.68, allocations: 0.7884 MB / 3.652 GB, free: 63.63 MB / 0.5105 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.007343/10.69, allocations: 4.637 MB / 3.657 GB, free: 59.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/10.69, allocations: 0.6929 MB / 3.658 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/10.69, allocations: 217.3 kB / 3.658 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07704/10.77, allocations: 24.16 MB / 3.681 GB, free: 37.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/10.77, allocations: 39.28 kB / 3.681 GB, free: 37.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.817e-06/10.77, allocations: 0 / 3.681 GB, free: 37.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.004465/10.77, allocations: 1.005 MB / 3.682 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/10.77, allocations: 106.8 kB / 3.682 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000652/10.78, allocations: 395.9 kB / 3.683 GB, free: 35.84 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/10.78, allocations: 37.7 kB / 3.683 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/10.78, allocations: 350.6 kB / 3.683 GB, free: 35.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/10.78, allocations: 153.6 kB / 3.683 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/10.78, allocations: 8 kB / 3.683 GB, free: 35.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/10.78, allocations: 334.8 kB / 3.684 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/10.78, allocations: 161.1 kB / 3.684 GB, free: 34.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/10.78, allocations: 330 kB / 3.684 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/10.78, allocations: 200.2 kB / 3.684 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/10.78, allocations: 0 / 3.684 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00188/10.78, allocations: 0.6111 MB / 3.685 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004134/10.78, allocations: 1.916 MB / 3.687 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/10.78, allocations: 8 kB / 3.687 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/10.78, allocations: 176.7 kB / 3.687 GB, free: 31.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/10.78, allocations: 119.8 kB / 3.687 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/10.78, allocations: 0.7318 MB / 3.688 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/10.78, allocations: 103.4 kB / 3.688 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.997e-05/10.78, allocations: 31.98 kB / 3.688 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/10.78, allocations: 4 kB / 3.688 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001714/10.79, allocations: 0.575 MB / 3.689 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/10.79, allocations: 4 kB / 3.689 GB, free: 29.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/10.79, allocations: 159.9 kB / 3.689 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/10.79, allocations: 124 kB / 3.689 GB, free: 29.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000749/10.79, allocations: 0.689 MB / 3.689 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008678/10.79, allocations: 99.53 kB / 3.69 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.236e-05/10.79, allocations: 35.98 kB / 3.69 GB, free: 28.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002466/10.79, allocations: 144.8 kB / 3.69 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/10.79, allocations: 55.34 kB / 3.69 GB, free: 28.42 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/10.79, allocations: 2.892 MB / 3.693 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-05/10.79, allocations: 39.94 kB / 3.693 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/10.79, allocations: 3.984 kB / 3.693 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/10.79, allocations: 0 / 3.693 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/10.8, allocations: 1.434 MB / 3.694 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/10.8, allocations: 0 / 3.694 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/10.8, allocations: 95.86 kB / 3.694 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/10.8, allocations: 0.744 MB / 3.695 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/10.8, allocations: 12 kB / 3.695 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/10.8, allocations: 1.249 MB / 3.696 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/10.8, allocations: 0 / 3.696 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/10.8, allocations: 1.797 MB / 3.698 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/10.8, allocations: 322.7 kB / 3.698 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/10.8, allocations: 15.95 kB / 3.698 GB, free: 19.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009159/10.8, allocations: 87.77 kB / 3.698 GB, free: 19.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/10.81, allocations: 52.42 kB / 3.698 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/10.81, allocations: 16 kB / 3.698 GB, free: 19.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006911/10.81, allocations: 423.2 kB / 3.699 GB, free: 19.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/10.81, allocations: 0 / 3.699 GB, free: 19.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006529/10.81, allocations: 1.346 MB / 3.7 GB, free: 17.79 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01357/10.83, allocations: 3.702 MB / 3.704 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003003/10.83, allocations: 1.108 MB / 3.705 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/10.83, allocations: 1.625 kB / 3.705 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/10.83, allocations: 0.7185 MB / 3.705 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002655/10.83, allocations: 282.7 kB / 3.706 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007658/10.84, allocations: 2.281 MB / 3.708 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/10.84, allocations: 1.138 MB / 3.709 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/10.84, allocations: 395.3 kB / 3.709 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of SimCode: time 1.603e-06/10.84, allocations: 0 / 3.709 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.323/15.16, allocations: 40.74 MB / 3.749 GB, free: 66.43 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat