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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 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.7969/0.7969, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 182 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.3 MB / 441.4 MB, free: 4.633 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 94.92 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001888/0.001888, allocations: 283 kB / 0.594 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.817e-05, allocations: 4 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5263/0.5263, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8517/1.378, allocations: 394.5 MB / 1.15 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.378, allocations: 70.78 kB / 1.15 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.042/1.42, allocations: 19.06 MB / 1.168 GB, free: 13.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/1.42, allocations: 0 / 1.168 GB, free: 13.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.421, allocations: 0 / 1.168 GB, free: 13.37 MB / 0.698 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.0003947/1.421, allocations: 353.9 kB / 1.169 GB, free: 12.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.421, allocations: 8.031 kB / 1.169 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/1.421, allocations: 0 / 1.169 GB, free: 12.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/1.421, allocations: 171 kB / 1.169 GB, free: 12.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.045e-05/1.421, allocations: 37.06 kB / 1.169 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/1.421, allocations: 3.984 kB / 1.169 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/1.421, allocations: 37.69 kB / 1.169 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/1.421, allocations: 0 / 1.169 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/1.421, allocations: 0 / 1.169 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/1.421, allocations: 4 kB / 1.169 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.935e-05/1.422, allocations: 15.44 kB / 1.169 GB, free: 12.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/1.422, allocations: 336.5 kB / 1.169 GB, free: 12.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.668e-05/1.422, allocations: 22.02 kB / 1.169 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/1.422, allocations: 4.859 kB / 1.169 GB, free: 12.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.682e-05/1.422, allocations: 85.16 kB / 1.169 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/1.422, allocations: 34.56 kB / 1.169 GB, free: 12.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/1.422, allocations: 0 / 1.169 GB, free: 12.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001407/1.422, allocations: 37.64 kB / 1.169 GB, free: 12.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/1.422, allocations: 54.72 kB / 1.169 GB, free: 11.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/1.422, allocations: 96.98 kB / 1.169 GB, free: 11.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/1.422, allocations: 25.7 kB / 1.169 GB, free: 11.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/1.423, allocations: 87.42 kB / 1.17 GB, free: 11.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-06/1.423, allocations: 0 / 1.17 GB, free: 11.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/1.423, allocations: 0 / 1.17 GB, free: 11.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/1.423, allocations: 318.8 kB / 1.17 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/1.423, allocations: 7.406 kB / 1.17 GB, free: 11.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.307e-05/1.423, allocations: 17.7 kB / 1.17 GB, free: 11.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.811e-05/1.423, allocations: 4 kB / 1.17 GB, free: 11.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.423, allocations: 0 / 1.17 GB, free: 11.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.996e-05/1.423, allocations: 53 kB / 1.17 GB, free: 11.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.423, allocations: 4 kB / 1.17 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.423, allocations: 4 kB / 1.17 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.423, allocations: 4 kB / 1.17 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.935e-05/1.423, allocations: 4 kB / 1.17 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/1.423, allocations: 4 kB / 1.17 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/1.423, allocations: 7.844 kB / 1.17 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.423, allocations: 0 / 1.17 GB, free: 11.34 MB / 0.698 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 () * 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.423, allocations: 116.1 kB / 1.17 GB, free: 11.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/1.423, allocations: 3.984 kB / 1.17 GB, free: 11.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/1.423, allocations: 124.9 kB / 1.17 GB, free: 11.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-05/1.423, allocations: 180.2 kB / 1.17 GB, free: 10.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.373e-05/1.423, allocations: 179.8 kB / 1.171 GB, free: 10.72 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.976e-05/1.423, allocations: 188.3 kB / 1.171 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/1.424, allocations: 408.6 kB / 1.171 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/1.424, allocations: 105 kB / 1.171 GB, free: 9.969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/1.424, allocations: 108.9 kB / 1.171 GB, free: 9.855 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-05/1.424, allocations: 176.3 kB / 1.172 GB, free: 9.676 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/1.424, allocations: 176.3 kB / 1.172 GB, free: 9.496 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-05/1.424, allocations: 188.2 kB / 1.172 GB, free: 9.305 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.492e-05/1.424, allocations: 179.7 kB / 1.172 GB, free: 9.125 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/1.424, allocations: 308 kB / 1.172 GB, free: 8.801 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/1.424, allocations: 185.8 kB / 1.172 GB, free: 8.598 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/1.424, allocations: 184.2 kB / 1.173 GB, free: 8.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.424, allocations: 105 kB / 1.173 GB, free: 8.301 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/1.424, allocations: 192.2 kB / 1.173 GB, free: 8.105 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/1.424, allocations: 102.2 kB / 1.173 GB, free: 8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.206e-05/1.425, allocations: 86.34 kB / 1.173 GB, free: 7.918 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.425, allocations: 0 / 1.173 GB, free: 7.918 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002424/1.425, allocations: 19.62 kB / 1.173 GB, free: 7.902 MB / 0.698 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 (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.0002749/1.425, allocations: 227.5 kB / 1.173 GB, free: 7.672 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.34e-05/1.425, allocations: 15.31 kB / 1.173 GB, free: 7.66 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.425, allocations: 0 / 1.173 GB, free: 7.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/1.425, allocations: 0 / 1.173 GB, free: 7.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/1.425, allocations: 0.5302 MB / 1.174 GB, free: 7.125 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001636/1.426, allocations: 139.8 kB / 1.174 GB, free: 6.969 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/1.426, allocations: 0.677 MB / 1.175 GB, free: 6.266 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.085e-05/1.426, allocations: 9.5 kB / 1.175 GB, free: 6.258 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/1.426, allocations: 7.438 kB / 1.175 GB, free: 6.25 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/1.426, allocations: 3.938 kB / 1.175 GB, free: 6.246 MB / 0.698 GB Notification: Performance of Templates: time 0.003396/1.429, allocations: 1.279 MB / 1.176 GB, free: 5 MB / 0.698 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)