Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/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) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8053/0.8053, allocations: 140 MB / 156 MB, free: 8.422 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001617, allocations: 180.5 kB / 188.5 MB, free: 9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 426.3 MB, free: 8.137 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001035, allocations: 94.36 kB / 0.4945 GB, free: 8.059 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001722/0.001722, allocations: 276.2 kB / 0.5728 GB, free: 66.13 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004977/0.0004979, allocations: 16 kB / 0.662 GB, free: 6.742 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4784, allocations: 79.3 MB / 0.7394 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8013/1.28, allocations: 393 MB / 1.123 GB, free: 0.9922 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/1.28, allocations: 72.59 kB / 1.123 GB, free: 0.9531 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03962/1.32, allocations: 18.42 MB / 1.141 GB, free: 1.914 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.605e-06/1.32, allocations: 4 kB / 1.141 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.32, allocations: 0 / 1.141 GB, free: 1.91 MB / 0.6667 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.0004827/1.32, allocations: 366.8 kB / 1.142 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.32, allocations: 8.031 kB / 1.142 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/1.32, allocations: 4.844 kB / 1.142 GB, free: 1.492 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/1.321, allocations: 164.4 kB / 1.142 GB, free: 1.293 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.229e-05/1.321, allocations: 26.27 kB / 1.142 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/1.321, allocations: 384 / 1.142 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/1.321, allocations: 61.42 kB / 1.142 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.321, allocations: 3.938 kB / 1.142 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/1.321, allocations: 0 / 1.142 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/1.321, allocations: 0 / 1.142 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.898e-05/1.321, allocations: 15.97 kB / 1.142 GB, free: 1.18 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/1.321, allocations: 329.3 kB / 1.142 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 3.685e-05/1.322, allocations: 22.52 kB / 1.142 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/1.322, allocations: 12.84 kB / 1.142 GB, free: 0.7539 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/1.322, allocations: 81.17 kB / 1.142 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.322, allocations: 34.56 kB / 1.142 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.322, allocations: 0 / 1.142 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001506/1.322, allocations: 33.64 kB / 1.142 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.322, allocations: 55.39 kB / 1.142 GB, free: 0.5117 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.501e-05/1.322, allocations: 102 kB / 1.143 GB, free: 412 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/1.322, allocations: 29.39 kB / 1.143 GB, free: 380 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/1.322, allocations: 84.05 kB / 1.143 GB, free: 292 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.045e-05/1.322, allocations: 19.77 kB / 1.143 GB, free: 272 kB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-06/1.322, allocations: 0 / 1.143 GB, free: 272 kB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.4084/1.73, allocations: 310.8 kB / 1.143 GB, free: 255.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.55e-05/1.731, allocations: 1.156 kB / 1.143 GB, free: 255.8 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/1.731, allocations: 14.78 kB / 1.143 GB, free: 255.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.061e-05/1.731, allocations: 26.56 kB / 1.143 GB, free: 255.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.731, allocations: 0 / 1.143 GB, free: 255.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001825/1.731, allocations: 48.62 kB / 1.143 GB, free: 255.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/1.731, allocations: 7.75 kB / 1.143 GB, free: 255.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/1.731, allocations: 3.25 kB / 1.143 GB, free: 255.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/1.731, allocations: 1.344 kB / 1.143 GB, free: 255.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/1.731, allocations: 5.609 kB / 1.143 GB, free: 255.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.731, allocations: 0.875 kB / 1.143 GB, free: 255.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/1.731, allocations: 4.688 kB / 1.143 GB, free: 255.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/1.731, allocations: 1.531 kB / 1.143 GB, free: 255.7 MB / 0.6667 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 8.944e-05/1.731, allocations: 117.6 kB / 1.143 GB, free: 255.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/1.731, allocations: 0.6562 kB / 1.143 GB, free: 255.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/1.732, allocations: 122 kB / 1.143 GB, free: 255.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/1.732, allocations: 181.5 kB / 1.144 GB, free: 255.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-05/1.732, allocations: 183.5 kB / 1.144 GB, free: 255.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.355e-05/1.732, allocations: 179.5 kB / 1.144 GB, free: 255 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/1.732, allocations: 405.9 kB / 1.144 GB, free: 254.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/1.732, allocations: 110.3 kB / 1.144 GB, free: 254.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/1.732, allocations: 103.2 kB / 1.144 GB, free: 254.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.499e-05/1.732, allocations: 182 kB / 1.145 GB, free: 254.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.364e-05/1.732, allocations: 181.3 kB / 1.145 GB, free: 254 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-05/1.732, allocations: 183 kB / 1.145 GB, free: 253.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.42e-05/1.732, allocations: 189.7 kB / 1.145 GB, free: 253.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/1.732, allocations: 307 kB / 1.145 GB, free: 253.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/1.732, allocations: 184.2 kB / 1.146 GB, free: 253.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/1.732, allocations: 186 kB / 1.146 GB, free: 252.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/1.733, allocations: 111.1 kB / 1.146 GB, free: 252.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/1.733, allocations: 186 kB / 1.146 GB, free: 252.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/1.733, allocations: 103.6 kB / 1.146 GB, free: 252.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.962e-05/1.733, allocations: 85.05 kB / 1.146 GB, free: 252.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.323e-06/1.733, allocations: 0 / 1.146 GB, free: 252.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004433/1.733, allocations: 16.55 kB / 1.146 GB, free: 252.4 MB / 0.6667 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.0003439/1.734, allocations: 236.9 kB / 1.147 GB, free: 252.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.88e-05/1.734, allocations: 13.25 kB / 1.147 GB, free: 252.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.734, allocations: 0 / 1.147 GB, free: 252.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-06/1.734, allocations: 4.469 kB / 1.147 GB, free: 252.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004544/1.734, allocations: 0.5213 MB / 1.147 GB, free: 251.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/1.735, allocations: 196.9 kB / 1.147 GB, free: 251.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/1.735, allocations: 0.6753 MB / 1.148 GB, free: 250.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 6.504e-05/1.735, allocations: 9.125 kB / 1.148 GB, free: 250.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/1.735, allocations: 9.469 kB / 1.148 GB, free: 250.9 MB / 0.6667 GB Notification: Performance of SimCode: time 3.4e-07/1.735, allocations: 0 / 1.148 GB, free: 250.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.005416/1.74, allocations: 1.159 MB / 1.149 GB, free: 250.8 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)