Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.524/2.524, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001622/0.001622, allocations: 185.1 kB / 498.1 MB, free: 5.738 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.621/1.621, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0009291/0.0009291, allocations: 106.2 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004013, allocations: 6.875 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3168, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.531, allocations: 438.5 MB / 1.651 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/1.531, allocations: 71.02 kB / 1.651 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.06114/1.592, allocations: 25.98 MB / 1.677 GB, free: 1.223 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.319e-06/1.592, allocations: 4 kB / 1.677 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.592, allocations: 7.938 kB / 1.677 GB, free: 1.211 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007881/1.593, allocations: 0.4962 MB / 1.677 GB, free: 0.6797 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/1.593, allocations: 8.031 kB / 1.677 GB, free: 0.6719 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.807e-05/1.593, allocations: 52.8 kB / 1.677 GB, free: 0.6211 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/1.593, allocations: 27.75 kB / 1.677 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/1.593, allocations: 201.7 kB / 1.677 GB, free: 372 kB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/1.593, allocations: 15.08 kB / 1.677 GB, free: 364 kB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/1.593, allocations: 11.38 kB / 1.677 GB, free: 356 kB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/1.594, allocations: 247.3 kB / 1.678 GB, free: 144 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.594, allocations: 0 / 1.678 GB, free: 144 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/1.594, allocations: 7.312 kB / 1.678 GB, free: 144 kB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/1.594, allocations: 8 kB / 1.678 GB, free: 136 kB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/1.594, allocations: 436.2 kB / 1.678 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/1.595, allocations: 1.039 MB / 1.679 GB, free: 14.74 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/1.596, allocations: 161 kB / 1.679 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/1.597, allocations: 1.835 MB / 1.681 GB, free: 12.45 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/1.597, allocations: 42.5 kB / 1.681 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/1.597, allocations: 0 / 1.681 GB, free: 12.41 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0003245/1.597, allocations: 146.3 kB / 1.681 GB, free: 12.28 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/1.597, allocations: 55.41 kB / 1.681 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/1.597, allocations: 155.7 kB / 1.681 GB, free: 12.07 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/1.597, allocations: 29.45 kB / 1.681 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/1.598, allocations: 133.6 kB / 1.682 GB, free: 11.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/1.598, allocations: 51.05 kB / 1.682 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/1.598, allocations: 7.484 kB / 1.682 GB, free: 11.87 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.598, allocations: 330.4 kB / 1.682 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/1.598, allocations: 34.8 kB / 1.682 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/1.598, allocations: 149.3 kB / 1.682 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/1.598, allocations: 57.3 kB / 1.682 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.598, allocations: 0 / 1.682 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002849/1.598, allocations: 217.4 kB / 1.682 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.598, allocations: 7.953 kB / 1.682 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.598, allocations: 4 kB / 1.682 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/1.598, allocations: 8 kB / 1.682 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/1.599, allocations: 59.84 kB / 1.682 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/1.599, allocations: 7.938 kB / 1.682 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/1.599, allocations: 27.5 kB / 1.682 GB, free: 11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/1.599, allocations: 18.98 kB / 1.682 GB, free: 10.98 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001047/1.599, allocations: 133.6 kB / 1.683 GB, free: 10.85 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/1.599, allocations: 15.81 kB / 1.683 GB, free: 10.84 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/1.599, allocations: 155 kB / 1.683 GB, free: 10.71 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.599, allocations: 3.938 kB / 1.683 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/1.599, allocations: 8 kB / 1.683 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.599, allocations: 3.984 kB / 1.683 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/1.599, allocations: 216.1 kB / 1.683 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.599, allocations: 3.938 kB / 1.683 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/1.6, allocations: 27.98 kB / 1.683 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.6, allocations: 4 kB / 1.683 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/1.6, allocations: 7.484 kB / 1.683 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.6, allocations: 7.953 kB / 1.683 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.6, allocations: 0 / 1.683 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/1.6, allocations: 219.2 kB / 1.683 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.814e-05/1.6, allocations: 108.8 kB / 1.683 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/1.6, allocations: 3.938 kB / 1.683 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/1.6, allocations: 23.67 kB / 1.683 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/1.6, allocations: 11.94 kB / 1.683 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/1.6, allocations: 11.44 kB / 1.683 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.524e-05/1.6, allocations: 119.3 kB / 1.683 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.6, allocations: 4 kB / 1.683 GB, free: 9.926 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004084/1.601, allocations: 90.89 kB / 1.684 GB, free: 9.848 MB / 0.9948 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007567/1.602, allocations: 0.867 MB / 1.684 GB, free: 8.98 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002087/1.602, allocations: 115.5 kB / 1.685 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.602, allocations: 4 kB / 1.685 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-05/1.602, allocations: 45.97 kB / 1.685 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/1.602, allocations: 46.3 kB / 1.685 GB, free: 8.809 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/1.604, allocations: 3.262 MB / 1.688 GB, free: 5.539 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/1.605, allocations: 0.7249 MB / 1.689 GB, free: 4.793 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001887/1.605, allocations: 45.69 kB / 1.689 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/1.605, allocations: 41.8 kB / 1.689 GB, free: 4.727 MB / 0.9948 GB Notification: Performance of SimCode: time 2.41e-07/1.605, allocations: 4 kB / 1.689 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/1.622, allocations: 5.342 MB / 1.694 GB, free: 15.55 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.622, allocations: 190.1 kB / 1.694 GB, free: 15.3 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/3.473, allocations: 4 kB / 1.694 GB, free: 15.3 MB / 1.01 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat does not exist to compare? outputFormat=mat