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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 111.4 kB / 16.42 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 185.7 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002109/0.002109, allocations: 296.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9248/0.9248, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 95.86 kB / 0.6821 GB, free: 6.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3632, allocations: 86.98 MB / 0.767 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004675/0.3679, allocations: 3.721 MB / 0.7707 GB, free: 176 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001743/0.3681, allocations: 155.5 kB / 0.7708 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.3681, allocations: 4 kB / 0.7708 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.858e-05/0.3682, allocations: 0 / 0.7708 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.143e-05/0.3683, allocations: 15.91 kB / 0.7708 GB, free: 0 / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.3686, allocations: 85.8 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.084e-05/0.3687, allocations: 31.73 kB / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.3687, allocations: 0 / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.711e-05/0.3688, allocations: 23.92 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.3688, allocations: 11.98 kB / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.3689, allocations: 4 kB / 0.771 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004627/0.3693, allocations: 187.4 kB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.3694, allocations: 4 kB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.3694, allocations: 11.97 kB / 0.7712 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.3695, allocations: 43.58 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3695, allocations: 0 / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.916e-06/0.3695, allocations: 3.984 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.3695, allocations: 0 / 0.7712 GB, free: 15.61 MB / 0.545 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.000344/0.3699, allocations: 342 kB / 0.7716 GB, free: 15.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3699, allocations: 8.031 kB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.37, allocations: 0.9375 kB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.939e-05/0.3701, allocations: 164.4 kB / 0.7717 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.3701, allocations: 30.27 kB / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.3701, allocations: 384 / 0.7717 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.3703, allocations: 49.56 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3703, allocations: 3.984 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3703, allocations: 8 kB / 0.7718 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.3703, allocations: 0 / 0.7718 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.3704, allocations: 11.98 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.3708, allocations: 334 kB / 0.7721 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.339e-05/0.3708, allocations: 26.5 kB / 0.7722 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.3708, allocations: 12.91 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.3709, allocations: 85.11 kB / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.3709, allocations: 30.56 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3709, allocations: 0 / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.3711, allocations: 41.59 kB / 0.7723 GB, free: 14.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.3711, allocations: 51.41 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/0.3712, allocations: 101.9 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3712, allocations: 29.64 kB / 0.7725 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.3713, allocations: 100 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.3713, allocations: 4 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.3713, allocations: 17.66 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.3714, allocations: 314.8 kB / 0.7729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.3714, allocations: 8 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.3715, allocations: 17.7 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.965e-05/0.3715, allocations: 25.72 kB / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3715, allocations: 0 / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.262e-05/0.3716, allocations: 49.62 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.3716, allocations: 4 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.3716, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.3716, allocations: 4 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.849e-05/0.3717, allocations: 4 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3717, allocations: 0 / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.3717, allocations: 0 / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.3717, allocations: 7.984 kB / 0.773 GB, free: 13.48 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.346e-05/0.3718, allocations: 113.8 kB / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.3718, allocations: 7.906 kB / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.958e-05/0.3719, allocations: 116.9 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.069e-05/0.372, allocations: 188.3 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/0.3721, allocations: 104.9 kB / 0.7735 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.624e-05/0.3721, allocations: 182.1 kB / 0.7737 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.3722, allocations: 184.3 kB / 0.7739 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.3724, allocations: 112.8 kB / 0.774 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/0.3724, allocations: 184.3 kB / 0.7742 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.633e-05/0.3725, allocations: 255.5 kB / 0.7744 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001606/0.3727, allocations: 387 kB / 0.7748 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.497e-05/0.3727, allocations: 101 kB / 0.7749 GB, free: 11.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.822e-05/0.3728, allocations: 83.28 kB / 0.775 GB, free: 11.39 MB / 0.545 GB Notification: Performance of Backend: time 2.41e-07/0.3728, allocations: 0 / 0.775 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.3732, allocations: 114.3 kB / 0.7751 GB, free: 11.27 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004566/0.3737, allocations: 0.8715 MB / 0.7759 GB, free: 10.35 MB / 0.545 GB Notification: Performance of Templates: time 0.002368/0.376, allocations: 0.5554 MB / 0.7765 GB, free: 9.809 MB / 0.545 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)