Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.194/2.194, allocations: 390.5 MB / 398 MB, free: 10.93 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.001004/0.001004, allocations: 183.9 kB / 491.2 MB, free: 1.551 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.42/1.42, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009209/0.0009209, allocations: 98.44 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.242e-05/1.244e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2402, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.306, allocations: 438.5 MB / 1.641 GB, free: 9.305 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/1.306, allocations: 74.52 kB / 1.641 GB, free: 9.266 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 0.05875/1.365, allocations: 25.78 MB / 1.666 GB, free: 4.227 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.403e-06/1.365, allocations: 3.938 kB / 1.666 GB, free: 4.223 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.101e-05/1.365, allocations: 4 kB / 1.666 GB, free: 4.219 MB / 1.073 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.0007544/1.366, allocations: 489.2 kB / 1.666 GB, free: 3.707 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.366, allocations: 12.03 kB / 1.666 GB, free: 3.695 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/1.366, allocations: 31.75 kB / 1.666 GB, free: 3.664 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/1.367, allocations: 209.1 kB / 1.667 GB, free: 3.43 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.367, allocations: 4 kB / 1.667 GB, free: 3.426 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/1.367, allocations: 8 kB / 1.667 GB, free: 3.418 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004776/1.367, allocations: 412.4 kB / 1.667 GB, free: 3.086 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/1.367, allocations: 221.8 kB / 1.667 GB, free: 2.891 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.367, allocations: 0 / 1.667 GB, free: 2.891 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/1.367, allocations: 0 / 1.667 GB, free: 2.891 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/1.367, allocations: 8 kB / 1.667 GB, free: 2.883 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/1.368, allocations: 0.9986 MB / 1.668 GB, free: 1.887 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002562/1.369, allocations: 141.3 kB / 1.668 GB, free: 1.762 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/1.369, allocations: 50.7 kB / 1.668 GB, free: 1.723 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001448/1.37, allocations: 1.937 MB / 1.67 GB, free: 15.47 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/1.37, allocations: 38.52 kB / 1.67 GB, free: 15.42 MB / 1.089 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/1.37, allocations: 0 / 1.67 GB, free: 15.42 MB / 1.089 GB Notification: Performance of matching and sorting (n=15): time 0.0004742/1.371, allocations: 136.6 kB / 1.67 GB, free: 15.3 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/1.371, allocations: 51.41 kB / 1.671 GB, free: 15.23 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/1.371, allocations: 138 kB / 1.671 GB, free: 15.11 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/1.371, allocations: 25.7 kB / 1.671 GB, free: 15.07 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/1.371, allocations: 142.2 kB / 1.671 GB, free: 14.94 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/1.371, allocations: 50.67 kB / 1.671 GB, free: 14.89 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-06/1.371, allocations: 0 / 1.671 GB, free: 14.89 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.371, allocations: 326.4 kB / 1.671 GB, free: 14.57 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/1.371, allocations: 31.92 kB / 1.671 GB, free: 14.55 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/1.372, allocations: 120.6 kB / 1.671 GB, free: 14.39 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/1.372, allocations: 91.92 kB / 1.671 GB, free: 14.32 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.372, allocations: 0 / 1.671 GB, free: 14.32 MB / 1.089 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004735/1.372, allocations: 198.9 kB / 1.672 GB, free: 14.14 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.372, allocations: 9.719 kB / 1.672 GB, free: 14.13 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.372, allocations: 11.98 kB / 1.672 GB, free: 14.12 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.372, allocations: 11.89 kB / 1.672 GB, free: 14.11 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/1.373, allocations: 59.8 kB / 1.672 GB, free: 14.05 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/1.373, allocations: 7.984 kB / 1.672 GB, free: 14.04 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/1.373, allocations: 19.75 kB / 1.672 GB, free: 14.02 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/1.373, allocations: 8 kB / 1.672 GB, free: 14.02 MB / 1.089 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 () * 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 8.512e-05/1.373, allocations: 116.7 kB / 1.672 GB, free: 13.9 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003726/1.373, allocations: 139.7 kB / 1.672 GB, free: 13.77 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.733e-05/1.373, allocations: 23.77 kB / 1.672 GB, free: 13.75 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/1.374, allocations: 166.4 kB / 1.672 GB, free: 13.61 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.374, allocations: 4 kB / 1.672 GB, free: 13.6 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.374, allocations: 0 / 1.672 GB, free: 13.6 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.374, allocations: 0 / 1.672 GB, free: 13.6 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/1.374, allocations: 181.8 kB / 1.672 GB, free: 13.4 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.374, allocations: 0 / 1.672 GB, free: 13.4 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/1.374, allocations: 31.92 kB / 1.672 GB, free: 13.37 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.374, allocations: 0 / 1.672 GB, free: 13.37 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/1.374, allocations: 11.92 kB / 1.672 GB, free: 13.36 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.374, allocations: 7.953 kB / 1.672 GB, free: 13.35 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.374, allocations: 3.938 kB / 1.672 GB, free: 13.35 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/1.375, allocations: 229.3 kB / 1.673 GB, free: 13.12 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/1.375, allocations: 111.9 kB / 1.673 GB, free: 13 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/1.375, allocations: 0 / 1.673 GB, free: 13 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/1.375, allocations: 23.92 kB / 1.673 GB, free: 12.98 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/1.375, allocations: 11.94 kB / 1.673 GB, free: 12.97 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/1.375, allocations: 7.688 kB / 1.673 GB, free: 12.96 MB / 1.089 GB Notification: Performance of sorting global known variables: time 6.392e-05/1.375, allocations: 105.4 kB / 1.673 GB, free: 12.87 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.6e-07/1.375, allocations: 0 / 1.673 GB, free: 12.87 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.000394/1.375, allocations: 83.67 kB / 1.673 GB, free: 12.79 MB / 1.089 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 () * 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.0009547/1.376, allocations: 0.8828 MB / 1.674 GB, free: 11.91 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0001836/1.377, allocations: 104 kB / 1.674 GB, free: 11.82 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.377, allocations: 0 / 1.674 GB, free: 11.82 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 5.057e-05/1.377, allocations: 39.42 kB / 1.674 GB, free: 11.79 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/1.377, allocations: 36.83 kB / 1.674 GB, free: 11.76 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/1.378, allocations: 220.8 kB / 1.674 GB, free: 11.52 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/1.378, allocations: 0.7206 MB / 1.675 GB, free: 10.77 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0001557/1.378, allocations: 37.66 kB / 1.675 GB, free: 10.73 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/1.378, allocations: 45.28 kB / 1.675 GB, free: 10.71 MB / 1.089 GB Notification: Performance of SimCode: time 3.2e-07/1.378, allocations: 0 / 1.675 GB, free: 10.71 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/1.401, allocations: 4.212 MB / 1.679 GB, free: 6.531 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/1.401, allocations: 153.2 kB / 1.679 GB, free: 6.336 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.999, allocations: 0 / 1.679 GB, free: 6.336 MB / 1.089 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat does not exist to compare? outputFormat=mat