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.002033/0.002033, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.025/2.025, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001289/0.001289, allocations: 98.8 kB / 270.2 MB, free: 13.36 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.2531/0.2531, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 58.87 MB / 490.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.974/1.108, allocations: 321.1 MB / 0.7924 GB, free: 98.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.109, allocations: 88.89 kB / 0.7925 GB, free: 98.57 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6379/1.747, allocations: 165.8 MB / 0.9544 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.923e-06/1.747, allocations: 0 / 0.9544 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.778e-05/1.747, allocations: 23.31 kB / 0.9544 GB, free: 124.4 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.003736/1.751, allocations: 1.153 MB / 0.9555 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.751, allocations: 11.3 kB / 0.9556 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003572/1.751, allocations: 107.7 kB / 0.9557 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005991/1.752, allocations: 99.47 kB / 0.9557 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/1.753, allocations: 0.6101 MB / 0.9563 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/1.753, allocations: 42.53 kB / 0.9564 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/1.753, allocations: 51.53 kB / 0.9564 GB, free: 123 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/1.755, allocations: 0.8365 MB / 0.9573 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/1.755, allocations: 7.906 kB / 0.9573 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/1.755, allocations: 23.06 kB / 0.9573 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/1.755, allocations: 27.7 kB / 0.9573 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.757, allocations: 0.7827 MB / 0.9581 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/1.762, allocations: 3.306 MB / 0.9613 GB, free: 120 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/1.763, allocations: 494.9 kB / 0.9618 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/1.763, allocations: 0.5723 MB / 0.9623 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/1.763, allocations: 40.5 kB / 0.9624 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008002/1.764, allocations: 135.6 kB / 0.9625 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 5.009e-06/1.764, allocations: 0 / 0.9625 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=71): time 0.04287/1.807, allocations: 7.574 MB / 0.9699 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/1.807, allocations: 114.3 kB / 0.97 GB, free: 117 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/1.808, allocations: 0.5432 MB / 0.9705 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000188/1.808, allocations: 45.61 kB / 0.9706 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/1.808, allocations: 366.3 kB / 0.9709 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/1.809, allocations: 239.1 kB / 0.9712 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/1.809, allocations: 15.81 kB / 0.9712 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.809, allocations: 390.3 kB / 0.9715 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/1.81, allocations: 0.4941 MB / 0.972 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/1.812, allocations: 0.682 MB / 0.9727 GB, free: 114.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/1.813, allocations: 0.5424 MB / 0.9732 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/1.813, allocations: 4 kB / 0.9732 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003844/1.817, allocations: 1.515 MB / 0.9747 GB, free: 113 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005337/1.817, allocations: 2.009 MB / 0.9767 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/1.817, allocations: 4 kB / 0.9767 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007854/1.825, allocations: 1.235 MB / 0.9779 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/1.827, allocations: 234.4 kB / 0.9781 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/1.83, allocations: 1.666 MB / 0.9797 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.832, allocations: 119.8 kB / 0.9798 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/1.832, allocations: 59.94 kB / 0.9799 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.832, allocations: 4 kB / 0.9799 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004306/1.837, allocations: 1.427 MB / 0.9813 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/1.837, allocations: 7.953 kB / 0.9813 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/1.839, allocations: 454.8 kB / 0.9817 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.84, allocations: 255.6 kB / 0.982 GB, free: 105.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/1.844, allocations: 2.746 MB / 0.9847 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.845, allocations: 112 kB / 0.9848 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/1.845, allocations: 55.94 kB / 0.9848 GB, free: 102.7 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 () * Number of clocked 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.0006644/1.846, allocations: 300.9 kB / 0.9851 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/1.846, allocations: 82.97 kB / 0.9852 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004774/1.851, allocations: 1.855 MB / 0.987 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-05/1.851, allocations: 8 kB / 0.987 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.851, allocations: 0 / 0.987 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/1.851, allocations: 7.984 kB / 0.987 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006901/1.858, allocations: 2.857 MB / 0.9898 GB, free: 97.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.858, allocations: 0 / 0.9898 GB, free: 97.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/1.859, allocations: 179.8 kB / 0.99 GB, free: 97.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006357/1.865, allocations: 1.277 MB / 0.9912 GB, free: 96.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/1.865, allocations: 31.97 kB / 0.9913 GB, free: 96.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/1.867, allocations: 1.588 MB / 0.9928 GB, free: 94.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.867, allocations: 0 / 0.9928 GB, free: 94.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005588/1.873, allocations: 2.279 MB / 0.995 GB, free: 92.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/1.873, allocations: 275.8 kB / 0.9953 GB, free: 91.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/1.874, allocations: 19.56 kB / 0.9953 GB, free: 91.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.875, allocations: 115.8 kB / 0.9954 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/1.875, allocations: 68.89 kB / 0.9955 GB, free: 91.65 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.875, allocations: 39.97 kB / 0.9955 GB, free: 91.61 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006852/1.876, allocations: 439 kB / 0.9959 GB, free: 91.19 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.51e-07/1.876, allocations: 0 / 0.9959 GB, free: 91.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002737/1.879, allocations: 0.7065 MB / 0.9966 GB, free: 90.49 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * 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 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.007283/1.886, allocations: 3.301 MB / 0.9999 GB, free: 87.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006115/1.892, allocations: 2.137 MB / 1.002 GB, free: 85.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.892, allocations: 4.562 kB / 1.002 GB, free: 85.05 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/1.894, allocations: 0.6802 MB / 1.003 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/1.896, allocations: 366 kB / 1.003 GB, free: 84.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006387/1.902, allocations: 6.052 MB / 1.009 GB, free: 77.82 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/1.903, allocations: 1.005 MB / 1.01 GB, free: 76.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001352/1.904, allocations: 267.9 kB / 1.01 GB, free: 76.54 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005652/1.905, allocations: 343.2 kB / 1.01 GB, free: 76.21 MB / 0.4948 GB Notification: Performance of SimCode: time 1.282e-06/1.905, allocations: 0 / 1.01 GB, free: 76.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06683/1.972, allocations: 35.3 MB / 1.045 GB, free: 40.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/1.972, allocations: 277.4 kB / 1.045 GB, free: 40.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.219/5.191, allocations: 4 kB / 1.045 GB, free: 40.61 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