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.8741/0.8741, allocations: 143.4 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 179.8 kB / 191.5 MB, free: 5.754 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.639/1.639, allocations: 223.2 MB / 447.7 MB, free: 4.793 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.0009289/0.0009289, allocations: 96.27 kB / 0.5188 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001766/0.001767, allocations: 274.6 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.000454, allocations: 15.78 kB / 0.6928 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.545/1.77, allocations: 394.6 MB / 1.159 GB, free: 279.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004587/1.77, allocations: 78.77 kB / 1.159 GB, free: 279.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0539/1.824, allocations: 19.11 MB / 1.178 GB, free: 274.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.127e-06/1.824, allocations: 4 kB / 1.178 GB, free: 274.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.585e-05/1.824, allocations: 0 / 1.178 GB, free: 274.6 MB / 0.7136 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.0005231/1.825, allocations: 358.2 kB / 1.178 GB, free: 274.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/1.825, allocations: 11.31 kB / 1.178 GB, free: 274.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/1.825, allocations: 0.625 kB / 1.178 GB, free: 274.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/1.825, allocations: 170.8 kB / 1.178 GB, free: 274 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/1.825, allocations: 25.7 kB / 1.178 GB, free: 274 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/1.825, allocations: 0 / 1.178 GB, free: 274 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/1.825, allocations: 49.08 kB / 1.178 GB, free: 274 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.825, allocations: 0 / 1.178 GB, free: 274 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/1.825, allocations: 0 / 1.178 GB, free: 274 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/1.825, allocations: 0 / 1.178 GB, free: 274 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.033e-05/1.825, allocations: 19.36 kB / 1.178 GB, free: 274 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/1.826, allocations: 337.2 kB / 1.179 GB, free: 273.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.416e-05/1.826, allocations: 14.58 kB / 1.179 GB, free: 273.6 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.748e-05/1.826, allocations: 92.8 kB / 1.179 GB, free: 273.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/1.826, allocations: 34.5 kB / 1.179 GB, free: 273.4 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/1.826, allocations: 3.984 kB / 1.179 GB, free: 273.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001626/1.826, allocations: 37.5 kB / 1.179 GB, free: 273.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/1.826, allocations: 55.22 kB / 1.179 GB, free: 273.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/1.826, allocations: 92.62 kB / 1.179 GB, free: 273.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/1.826, allocations: 25.83 kB / 1.179 GB, free: 273.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/1.826, allocations: 91.67 kB / 1.179 GB, free: 273.1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.425e-06/1.826, allocations: 7.922 kB / 1.179 GB, free: 273.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/1.826, allocations: 0 / 1.179 GB, free: 273.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.754e-05/1.827, allocations: 318.7 kB / 1.179 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/1.827, allocations: 3.812 kB / 1.179 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/1.827, allocations: 13.56 kB / 1.179 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.272e-05/1.827, allocations: 11.8 kB / 1.179 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.827, allocations: 0 / 1.179 GB, free: 272.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.765e-05/1.827, allocations: 48.36 kB / 1.18 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.827, allocations: 7.688 kB / 1.18 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.827, allocations: 7.984 kB / 1.18 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.827, allocations: 0 / 1.18 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.144e-05/1.827, allocations: 3.875 kB / 1.18 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/1.827, allocations: 7.906 kB / 1.18 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/1.827, allocations: 0 / 1.18 GB, free: 272.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/1.827, allocations: 3.938 kB / 1.18 GB, free: 272.7 MB / 0.7136 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 7.331e-05/1.827, allocations: 122.2 kB / 1.18 GB, free: 272.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/1.827, allocations: 0 / 1.18 GB, free: 272.6 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.827, allocations: 121.9 kB / 1.18 GB, free: 272.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.408e-05/1.827, allocations: 179.9 kB / 1.18 GB, free: 272.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.475e-05/1.827, allocations: 184.1 kB / 1.18 GB, free: 272.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/1.827, allocations: 180.3 kB / 1.18 GB, free: 271.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/1.827, allocations: 412.4 kB / 1.181 GB, free: 271.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/1.827, allocations: 105 kB / 1.181 GB, free: 271.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.581e-05/1.827, allocations: 104.9 kB / 1.181 GB, free: 271.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.326e-05/1.828, allocations: 176.3 kB / 1.181 GB, free: 271.1 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/1.828, allocations: 184.1 kB / 1.181 GB, free: 270.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-05/1.828, allocations: 184.2 kB / 1.181 GB, free: 270.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-05/1.828, allocations: 180.3 kB / 1.182 GB, free: 270.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.682e-05/1.828, allocations: 307.3 kB / 1.182 GB, free: 270.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/1.828, allocations: 187 kB / 1.182 GB, free: 270 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.588e-05/1.828, allocations: 190.4 kB / 1.182 GB, free: 269.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/1.828, allocations: 103.9 kB / 1.182 GB, free: 269.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/1.828, allocations: 181.2 kB / 1.183 GB, free: 269.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/1.828, allocations: 106 kB / 1.183 GB, free: 269.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.043e-05/1.828, allocations: 89 kB / 1.183 GB, free: 269.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.828, allocations: 0 / 1.183 GB, free: 269.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002994/1.828, allocations: 21.31 kB / 1.183 GB, free: 269.3 MB / 0.7136 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.0003339/1.829, allocations: 232.5 kB / 1.183 GB, free: 269.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.122e-05/1.829, allocations: 10.91 kB / 1.183 GB, free: 269.1 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.829, allocations: 0 / 1.183 GB, free: 269.1 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/1.829, allocations: 128 / 1.183 GB, free: 269.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/1.829, allocations: 0.5298 MB / 1.183 GB, free: 268.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/1.83, allocations: 190.5 kB / 1.184 GB, free: 268.4 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/1.83, allocations: 0.6782 MB / 1.184 GB, free: 267.7 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.561e-05/1.83, allocations: 10.88 kB / 1.184 GB, free: 267.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/1.83, allocations: 14.45 kB / 1.184 GB, free: 267.7 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/1.83, allocations: 0 / 1.184 GB, free: 267.7 MB / 0.7136 GB Notification: Performance of Templates: time 0.003838/1.834, allocations: 1.15 MB / 1.185 GB, free: 267.1 MB / 0.7136 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)