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.002177/0.002176, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002392/0.002392, allocations: 91.5 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2916/0.2916, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.238e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4009, allocations: 58.84 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.334/8.735, allocations: 2.781 GB / 3.247 GB, free: 7.621 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/8.736, allocations: 86.58 kB / 3.247 GB, free: 7.578 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.603/11.34, allocations: 434.7 MB / 3.671 GB, free: 57.91 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.605e-06/11.34, allocations: 0 / 3.671 GB, free: 57.91 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.964e-05/11.34, allocations: 28.95 kB / 3.671 GB, free: 57.91 MB / 0.4952 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.008704/11.35, allocations: 1.768 MB / 3.673 GB, free: 57.18 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/11.35, allocations: 11.44 kB / 3.673 GB, free: 57.18 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003739/11.35, allocations: 328.4 kB / 3.673 GB, free: 57.14 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/11.35, allocations: 0.5705 MB / 3.674 GB, free: 56.91 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/11.35, allocations: 21.81 kB / 3.674 GB, free: 56.91 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/11.35, allocations: 33.94 kB / 3.674 GB, free: 56.91 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001469/11.36, allocations: 0.5434 MB / 3.675 GB, free: 56.9 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/11.36, allocations: 0.6651 MB / 3.675 GB, free: 56.7 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/11.36, allocations: 0 / 3.675 GB, free: 56.7 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.321e-05/11.36, allocations: 3.312 kB / 3.675 GB, free: 56.7 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/11.36, allocations: 24.31 kB / 3.675 GB, free: 56.7 MB / 0.4952 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.2574/11.61, allocations: 83.78 MB / 3.757 GB, free: 20.32 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/11.62, allocations: 358.8 kB / 3.757 GB, free: 20.3 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/11.62, allocations: 169.7 kB / 3.758 GB, free: 20.29 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0537/11.67, allocations: 16.63 MB / 3.774 GB, free: 25.48 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/11.67, allocations: 36.12 kB / 3.774 GB, free: 25.45 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=37): time 3.006e-06/11.67, allocations: 0 / 3.774 GB, free: 25.45 MB / 0.5265 GB Notification: Performance of matching and sorting (n=37): time 0.003993/11.67, allocations: 0.7827 MB / 3.775 GB, free: 25.37 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.75e-05/11.67, allocations: 109.9 kB / 3.775 GB, free: 25.24 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007528/11.67, allocations: 437 kB / 3.775 GB, free: 25.12 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 7.847e-05/11.67, allocations: 29.7 kB / 3.775 GB, free: 25.09 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/11.67, allocations: 399.2 kB / 3.776 GB, free: 24.82 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/11.67, allocations: 121.9 kB / 3.776 GB, free: 24.74 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/11.68, allocations: 3.875 kB / 3.776 GB, free: 24.74 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001341/11.68, allocations: 331 kB / 3.776 GB, free: 24.43 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/11.68, allocations: 160.4 kB / 3.776 GB, free: 24.43 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/11.68, allocations: 344.8 kB / 3.777 GB, free: 24.21 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/11.68, allocations: 299.6 kB / 3.777 GB, free: 24.2 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/11.68, allocations: 3.609 kB / 3.777 GB, free: 24.2 MB / 0.5265 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002745/11.68, allocations: 0.6731 MB / 3.777 GB, free: 24.14 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008143/11.68, allocations: 2.096 MB / 3.779 GB, free: 21.94 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/11.68, allocations: 6.5 kB / 3.78 GB, free: 21.94 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/11.68, allocations: 180.7 kB / 3.78 GB, free: 21.93 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/11.68, allocations: 150 kB / 3.78 GB, free: 21.93 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/11.69, allocations: 0.8108 MB / 3.781 GB, free: 21.4 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/11.69, allocations: 148.5 kB / 3.781 GB, free: 21.36 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/11.69, allocations: 33.41 kB / 3.781 GB, free: 21.36 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/11.69, allocations: 3.906 kB / 3.781 GB, free: 21.36 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003151/11.69, allocations: 0.6076 MB / 3.781 GB, free: 21.33 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/11.69, allocations: 5.656 kB / 3.781 GB, free: 21.33 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/11.69, allocations: 149.3 kB / 3.782 GB, free: 21.32 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/11.69, allocations: 154.5 kB / 3.782 GB, free: 21.32 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/11.69, allocations: 0.7094 MB / 3.782 GB, free: 20.8 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/11.7, allocations: 112.8 kB / 3.782 GB, free: 20.77 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.417e-05/11.7, allocations: 31.48 kB / 3.783 GB, free: 20.77 MB / 0.5265 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 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (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.0003202/11.7, allocations: 121 kB / 3.783 GB, free: 20.66 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002201/11.7, allocations: 499.3 kB / 3.783 GB, free: 20.58 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/11.7, allocations: 61.3 kB / 3.783 GB, free: 20.55 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003691/11.7, allocations: 1.781 MB / 3.785 GB, free: 20.36 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-05/11.7, allocations: 27.47 kB / 3.785 GB, free: 20.36 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/11.7, allocations: 1.094 kB / 3.785 GB, free: 20.36 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/11.7, allocations: 0 / 3.785 GB, free: 20.36 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001826/11.7, allocations: 0.9036 MB / 3.786 GB, free: 20.16 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/11.7, allocations: 0 / 3.786 GB, free: 20.16 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/11.7, allocations: 54.58 kB / 3.786 GB, free: 20.16 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002336/11.71, allocations: 1.128 MB / 3.787 GB, free: 20.1 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/11.71, allocations: 7.344 kB / 3.787 GB, free: 20.1 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002653/11.71, allocations: 1.643 MB / 3.789 GB, free: 19.54 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/11.71, allocations: 0 / 3.789 GB, free: 19.54 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/11.71, allocations: 1.428 MB / 3.79 GB, free: 19.28 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007446/11.71, allocations: 273.3 kB / 3.79 GB, free: 19.11 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/11.71, allocations: 3.938 kB / 3.79 GB, free: 19.11 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/11.71, allocations: 72.94 kB / 3.79 GB, free: 19.1 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/11.71, allocations: 31.84 kB / 3.79 GB, free: 19.1 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.422e-05/11.71, allocations: 17.03 kB / 3.79 GB, free: 19.1 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0007967/11.72, allocations: 468 kB / 3.791 GB, free: 19 MB / 0.5265 GB Notification: Performance of sort global known variables: time 4.11e-07/11.72, allocations: 0 / 3.791 GB, free: 19 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.007336/11.72, allocations: 1.397 MB / 3.792 GB, free: 18.77 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.01449/11.74, allocations: 3.372 MB / 3.795 GB, free: 17.73 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.002443/11.74, allocations: 0.8478 MB / 3.796 GB, free: 17.7 MB / 0.5265 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/11.74, allocations: 0 / 3.796 GB, free: 17.7 MB / 0.5265 GB Notification: Performance of simCode: created simulation system equations: time 0.0008453/11.74, allocations: 415.9 kB / 3.797 GB, free: 17.68 MB / 0.5265 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/11.74, allocations: 248.8 kB / 3.797 GB, free: 17.67 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007406/11.75, allocations: 1.714 MB / 3.799 GB, free: 17.09 MB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/11.75, allocations: 1.035 MB / 3.8 GB, free: 16.36 MB / 0.5265 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/11.75, allocations: 322.9 kB / 3.8 GB, free: 16.36 MB / 0.5265 GB Notification: Performance of SimCode: time 1.964e-06/11.75, allocations: 0 / 3.8 GB, free: 16.36 MB / 0.5265 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.201/15.95, allocations: 39.56 MB / 3.839 GB, free: 88.43 MB / 0.5265 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