Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.463/2.463, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 178.6 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.642/1.642, allocations: 223.1 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 104.2 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 9.281 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3153, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.527, allocations: 435.2 MB / 1.648 GB, free: 10 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/1.528, allocations: 72.75 kB / 1.648 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.04411/1.572, allocations: 19.11 MB / 1.667 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.695e-06/1.572, allocations: 3.938 kB / 1.667 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.147e-05/1.572, allocations: 0 / 1.667 GB, free: 10.31 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004405/1.572, allocations: 367.6 kB / 1.667 GB, free: 9.906 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/1.572, allocations: 8.031 kB / 1.667 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/1.572, allocations: 33.56 kB / 1.667 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/1.572, allocations: 15.86 kB / 1.667 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/1.572, allocations: 159.1 kB / 1.667 GB, free: 9.648 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/1.573, allocations: 33.62 kB / 1.667 GB, free: 9.609 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/1.573, allocations: 4 kB / 1.667 GB, free: 9.605 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/1.573, allocations: 41.19 kB / 1.667 GB, free: 9.562 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/1.573, allocations: 0 / 1.667 GB, free: 9.562 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/1.573, allocations: 3.984 kB / 1.667 GB, free: 9.559 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/1.573, allocations: 0 / 1.667 GB, free: 9.559 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.578e-05/1.573, allocations: 19.88 kB / 1.667 GB, free: 9.539 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/1.573, allocations: 329.5 kB / 1.668 GB, free: 9.16 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 3.452e-05/1.573, allocations: 22.61 kB / 1.668 GB, free: 9.129 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 7.987e-05/1.573, allocations: 81.17 kB / 1.668 GB, free: 9.031 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/1.573, allocations: 34.5 kB / 1.668 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/1.573, allocations: 0 / 1.668 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0001574/1.574, allocations: 45.59 kB / 1.668 GB, free: 8.938 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.574, allocations: 59.27 kB / 1.668 GB, free: 8.871 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.755e-05/1.574, allocations: 89 kB / 1.668 GB, free: 8.777 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/1.574, allocations: 29.7 kB / 1.668 GB, free: 8.742 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/1.574, allocations: 87.92 kB / 1.668 GB, free: 8.656 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-06/1.574, allocations: 7.844 kB / 1.668 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/1.574, allocations: 0 / 1.668 GB, free: 8.648 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/1.574, allocations: 314.8 kB / 1.668 GB, free: 8.332 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/1.574, allocations: 4.125 kB / 1.668 GB, free: 8.328 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.592e-05/1.574, allocations: 21.59 kB / 1.668 GB, free: 8.305 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.131e-05/1.574, allocations: 7.984 kB / 1.668 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.574, allocations: 0 / 1.668 GB, free: 8.297 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.789e-05/1.574, allocations: 45.58 kB / 1.668 GB, free: 8.25 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.574, allocations: 8 kB / 1.668 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.574, allocations: 0 / 1.668 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.574, allocations: 0 / 1.668 GB, free: 8.242 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.463e-05/1.574, allocations: 12.05 kB / 1.668 GB, free: 8.23 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/1.574, allocations: 3.953 kB / 1.668 GB, free: 8.227 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.157e-05/1.574, allocations: 4 kB / 1.668 GB, free: 8.223 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/1.574, allocations: 3.938 kB / 1.668 GB, free: 8.219 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.74e-05/1.574, allocations: 109.8 kB / 1.669 GB, free: 8.102 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/1.574, allocations: 4 kB / 1.669 GB, free: 8.098 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/1.574, allocations: 120.6 kB / 1.669 GB, free: 7.977 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.524e-05/1.575, allocations: 184.2 kB / 1.669 GB, free: 7.789 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.214e-05/1.575, allocations: 176.3 kB / 1.669 GB, free: 7.609 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.076e-05/1.575, allocations: 184 kB / 1.669 GB, free: 7.426 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/1.575, allocations: 405.2 kB / 1.67 GB, free: 6.973 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/1.575, allocations: 101 kB / 1.67 GB, free: 6.867 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/1.575, allocations: 120.7 kB / 1.67 GB, free: 6.746 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.489e-05/1.575, allocations: 176.3 kB / 1.67 GB, free: 6.566 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/1.575, allocations: 180.2 kB / 1.67 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-05/1.575, allocations: 180.3 kB / 1.67 GB, free: 6.199 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.463e-05/1.575, allocations: 184.3 kB / 1.671 GB, free: 6.012 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/1.575, allocations: 319.4 kB / 1.671 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/1.575, allocations: 182 kB / 1.671 GB, free: 5.477 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/1.576, allocations: 188.2 kB / 1.671 GB, free: 5.285 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/1.576, allocations: 104.2 kB / 1.671 GB, free: 5.18 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/1.576, allocations: 184.2 kB / 1.671 GB, free: 4.992 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/1.576, allocations: 105 kB / 1.672 GB, free: 4.883 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.325e-05/1.576, allocations: 86.33 kB / 1.672 GB, free: 4.801 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.4e-07/1.576, allocations: 0 / 1.672 GB, free: 4.801 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002539/1.576, allocations: 20 kB / 1.672 GB, free: 4.781 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005482/1.577, allocations: 0.8802 MB / 1.672 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.076e-05/1.577, allocations: 8 kB / 1.673 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.577, allocations: 0 / 1.673 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.542e-06/1.577, allocations: 0 / 1.673 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/1.577, allocations: 0.5276 MB / 1.673 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004177/1.578, allocations: 225.5 kB / 1.673 GB, free: 3.082 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/1.578, allocations: 0.677 MB / 1.674 GB, free: 2.379 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.321e-05/1.578, allocations: 11 kB / 1.674 GB, free: 2.371 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/1.578, allocations: 11.44 kB / 1.674 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of SimCode: time 2.31e-07/1.578, allocations: 0 / 1.674 GB, free: 2.363 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/1.591, allocations: 2.018 MB / 1.676 GB, free: 0.5234 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/1.591, allocations: 196.5 kB / 1.676 GB, free: 296 kB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.626/3.217, allocations: 0 / 1.676 GB, free: 296 kB / 0.9792 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat