Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002121/0.002121, allocations: 181.3 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.168/2.168, 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.001083/0.001083, allocations: 86.64 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.2888/0.2888, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.682e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1243, allocations: 58.85 MB / 484.2 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.344, allocations: 321 MB / 0.7864 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/1.344, allocations: 85.92 kB / 0.7865 GB, free: 102 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9271/2.271, allocations: 165.1 MB / 0.9477 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.793e-06/2.271, allocations: 0 / 0.9477 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.322e-05/2.271, allocations: 23.2 kB / 0.9477 GB, free: 123.7 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.00345/2.275, allocations: 1.046 MB / 0.9488 GB, free: 123 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/2.275, allocations: 7.594 kB / 0.9488 GB, free: 123 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/2.275, allocations: 93.05 kB / 0.9489 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005027/2.275, allocations: 97.64 kB / 0.949 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/2.277, allocations: 0.6198 MB / 0.9496 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/2.277, allocations: 35.75 kB / 0.9496 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/2.277, allocations: 53.28 kB / 0.9496 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/2.279, allocations: 0.7663 MB / 0.9504 GB, free: 122 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/2.279, allocations: 3.938 kB / 0.9504 GB, free: 122 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/2.279, allocations: 25.62 kB / 0.9504 GB, free: 122 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/2.279, allocations: 18.22 kB / 0.9504 GB, free: 122 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/2.281, allocations: 0.6553 MB / 0.9511 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006275/2.287, allocations: 3.295 MB / 0.9543 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/2.288, allocations: 401.1 kB / 0.9547 GB, free: 119.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/2.289, allocations: 253.5 kB / 0.9549 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004185/2.289, allocations: 0.5759 MB / 0.9555 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/2.289, allocations: 41.72 kB / 0.9555 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001195/2.291, allocations: 131.4 kB / 0.9556 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.767e-06/2.291, allocations: 3.938 kB / 0.9557 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.06635/2.357, allocations: 6.144 MB / 0.9617 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/2.357, allocations: 114.4 kB / 0.9618 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/2.358, allocations: 0.5448 MB / 0.9623 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002014/2.358, allocations: 36.98 kB / 0.9623 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/2.359, allocations: 381 kB / 0.9627 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/2.359, allocations: 242.8 kB / 0.9629 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/2.359, allocations: 23.91 kB / 0.9629 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.54e-05/2.359, allocations: 337.8 kB / 0.9633 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009339/2.36, allocations: 336.8 kB / 0.9636 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/2.361, allocations: 0.5225 MB / 0.9641 GB, free: 115 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/2.362, allocations: 397.2 kB / 0.9645 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/2.362, allocations: 0 / 0.9645 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003227/2.365, allocations: 1.125 MB / 0.9656 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004301/2.366, allocations: 2.006 MB / 0.9675 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/2.366, allocations: 3.875 kB / 0.9675 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01206/2.378, allocations: 1.198 MB / 0.9687 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/2.38, allocations: 243.3 kB / 0.9689 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/2.384, allocations: 1.597 MB / 0.9705 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/2.386, allocations: 112.3 kB / 0.9706 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000247/2.386, allocations: 64.69 kB / 0.9707 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/2.386, allocations: 0 / 0.9707 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004199/2.391, allocations: 1.085 MB / 0.9717 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/2.391, allocations: 11.64 kB / 0.9717 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/2.394, allocations: 353.8 kB / 0.9721 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002169/2.396, allocations: 259.7 kB / 0.9723 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004789/2.401, allocations: 2.639 MB / 0.9749 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/2.403, allocations: 110.9 kB / 0.975 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/2.403, allocations: 60.19 kB / 0.9751 GB, free: 108.1 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.0003861/2.403, allocations: 151.6 kB / 0.9752 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/2.404, allocations: 86.98 kB / 0.9753 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005293/2.409, allocations: 1.504 MB / 0.9768 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/2.409, allocations: 14.78 kB / 0.9768 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/2.409, allocations: 3.703 kB / 0.9768 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/2.409, allocations: 3.891 kB / 0.9768 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008392/2.417, allocations: 2.511 MB / 0.9792 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/2.417, allocations: 3.938 kB / 0.9792 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/2.419, allocations: 185.6 kB / 0.9794 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/2.43, allocations: 1.226 MB / 0.9806 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002139/2.43, allocations: 27.97 kB / 0.9806 GB, free: 105 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/2.432, allocations: 1.511 MB / 0.9821 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.432, allocations: 0 / 0.9821 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005352/2.438, allocations: 1.742 MB / 0.9838 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007594/2.439, allocations: 275.8 kB / 0.9841 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/2.439, allocations: 20.06 kB / 0.9841 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/2.441, allocations: 115.7 kB / 0.9842 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/2.441, allocations: 64.67 kB / 0.9843 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/2.441, allocations: 43.97 kB / 0.9843 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007608/2.442, allocations: 439.1 kB / 0.9847 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.11e-07/2.442, allocations: 0 / 0.9847 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003002/2.445, allocations: 0.7026 MB / 0.9854 GB, free: 100 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.007531/2.452, allocations: 2.781 MB / 0.9881 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006178/2.459, allocations: 1.637 MB / 0.9897 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/2.459, allocations: 4 kB / 0.9897 GB, free: 95.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/2.46, allocations: 0.5127 MB / 0.9902 GB, free: 95.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/2.463, allocations: 353.7 kB / 0.9906 GB, free: 94.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0049/2.468, allocations: 1.521 MB / 0.9921 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/2.469, allocations: 0.9967 MB / 0.993 GB, free: 92.18 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009177/2.47, allocations: 343.2 kB / 0.9934 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/2.47, allocations: 0 / 0.9934 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.591/6.06, allocations: 27.98 MB / 1.021 GB, free: 64 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat