Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",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.001726/0.001726, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.709/1.709, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008983/0.0008981, allocations: 88.28 kB / 267.1 MB, free: 9.281 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.4434/0.4434, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.55e-05, allocations: 0 / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1411, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.223, allocations: 321 MB / 0.7864 GB, free: 88.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/1.224, allocations: 92.47 kB / 0.7865 GB, free: 88.73 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6722/1.896, allocations: 165.1 MB / 0.9477 GB, free: 105 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.384e-06/1.896, allocations: 3.938 kB / 0.9477 GB, free: 105 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.942e-05/1.896, allocations: 24.64 kB / 0.9478 GB, free: 105 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002852/1.899, allocations: 1.041 MB / 0.9488 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/1.899, allocations: 9.312 kB / 0.9488 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/1.899, allocations: 91.86 kB / 0.9489 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004259/1.9, allocations: 101.2 kB / 0.949 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.901, allocations: 0.6168 MB / 0.9496 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/1.901, allocations: 38.06 kB / 0.9496 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.585e-05/1.901, allocations: 53.59 kB / 0.9497 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/1.902, allocations: 0.7629 MB / 0.9504 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/1.902, allocations: 7.812 kB / 0.9504 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.543e-05/1.902, allocations: 27.69 kB / 0.9504 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/1.902, allocations: 21.81 kB / 0.9505 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/1.903, allocations: 0.6532 MB / 0.9511 GB, free: 103.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/1.908, allocations: 3.295 MB / 0.9543 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007747/1.909, allocations: 398.9 kB / 0.9547 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004354/1.909, allocations: 257 kB / 0.9549 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003442/1.909, allocations: 0.5774 MB / 0.9555 GB, free: 99.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.909, allocations: 41.7 kB / 0.9556 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006922/1.91, allocations: 126 kB / 0.9557 GB, free: 99.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.586e-06/1.91, allocations: 0 / 0.9557 GB, free: 99.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.03487/1.945, allocations: 6.142 MB / 0.9617 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/1.945, allocations: 111.5 kB / 0.9618 GB, free: 97.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007404/1.946, allocations: 0.5499 MB / 0.9623 GB, free: 97.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/1.946, allocations: 37.27 kB / 0.9623 GB, free: 97.61 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/1.946, allocations: 362 kB / 0.9627 GB, free: 97.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/1.946, allocations: 243.2 kB / 0.9629 GB, free: 97.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.076e-05/1.947, allocations: 15.5 kB / 0.9629 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.947, allocations: 390.9 kB / 0.9633 GB, free: 96.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/1.947, allocations: 329.6 kB / 0.9636 GB, free: 96.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/1.948, allocations: 0.5263 MB / 0.9641 GB, free: 96.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/1.948, allocations: 402.1 kB / 0.9645 GB, free: 96.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.948, allocations: 0 / 0.9645 GB, free: 96.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001997/1.95, allocations: 1.174 MB / 0.9657 GB, free: 95.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006393/1.951, allocations: 1.998 MB / 0.9676 GB, free: 93.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.951, allocations: 7.812 kB / 0.9676 GB, free: 93.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006257/1.957, allocations: 1.191 MB / 0.9688 GB, free: 93.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.959, allocations: 239.8 kB / 0.969 GB, free: 93.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.961, allocations: 1.591 MB / 0.9706 GB, free: 92.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/1.962, allocations: 122.8 kB / 0.9707 GB, free: 92.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/1.962, allocations: 61.41 kB / 0.9708 GB, free: 92.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.962, allocations: 11.02 kB / 0.9708 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002813/1.965, allocations: 1.082 MB / 0.9718 GB, free: 91.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/1.965, allocations: 3.812 kB / 0.9718 GB, free: 91.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/1.967, allocations: 414.4 kB / 0.9722 GB, free: 91.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/1.968, allocations: 258.6 kB / 0.9725 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003537/1.972, allocations: 2.659 MB / 0.9751 GB, free: 89.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.973, allocations: 123.2 kB / 0.9752 GB, free: 89.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/1.973, allocations: 52.72 kB / 0.9752 GB, free: 89.25 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003814/1.974, allocations: 151.7 kB / 0.9754 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/1.974, allocations: 83.69 kB / 0.9755 GB, free: 89.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/1.978, allocations: 1.511 MB / 0.9769 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/1.978, allocations: 11.59 kB / 0.9769 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.978, allocations: 0 / 0.9769 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/1.978, allocations: 7.734 kB / 0.9769 GB, free: 88.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005778/1.983, allocations: 2.525 MB / 0.9794 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.984, allocations: 3.5 kB / 0.9794 GB, free: 87.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/1.984, allocations: 182.1 kB / 0.9796 GB, free: 87.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005951/1.99, allocations: 1.224 MB / 0.9808 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/1.99, allocations: 31.27 kB / 0.9808 GB, free: 87.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/1.992, allocations: 1.504 MB / 0.9823 GB, free: 85.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.992, allocations: 0 / 0.9823 GB, free: 85.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/1.996, allocations: 1.742 MB / 0.984 GB, free: 85.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007717/1.997, allocations: 274.6 kB / 0.9842 GB, free: 84.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/1.997, allocations: 15.81 kB / 0.9843 GB, free: 84.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.998, allocations: 117.9 kB / 0.9844 GB, free: 84.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/1.998, allocations: 65.44 kB / 0.9844 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001195/1.998, allocations: 44.84 kB / 0.9845 GB, free: 84.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007476/1.999, allocations: 431.2 kB / 0.9849 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.61e-07/1.999, allocations: 0 / 0.9849 GB, free: 84.71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002987/2.002, allocations: 0.7094 MB / 0.9856 GB, free: 84.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00694/2.009, allocations: 2.778 MB / 0.9883 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005472/2.014, allocations: 1.664 MB / 0.9899 GB, free: 82.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/2.015, allocations: 0 / 0.9899 GB, free: 82.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/2.016, allocations: 0.5067 MB / 0.9904 GB, free: 82.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/2.018, allocations: 362.2 kB / 0.9908 GB, free: 81.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004411/2.023, allocations: 1.497 MB / 0.9922 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/2.023, allocations: 0.9979 MB / 0.9932 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001471/2.025, allocations: 292.1 kB / 0.9935 GB, free: 79.55 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/2.025, allocations: 331.2 kB / 0.9938 GB, free: 79.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.302e-06/2.025, allocations: 0 / 0.9938 GB, free: 79.22 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07405/2.099, allocations: 36.87 MB / 1.03 GB, free: 42.35 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/2.099, allocations: 238.9 kB / 1.03 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.911/6.01, allocations: 3.938 kB / 1.03 GB, free: 42.02 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat