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.001021/0.001021, allocations: 109 kB / 16.41 MB, free: 6.512 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.001116/0.001116, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.296/1.296, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 290.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 91.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3782, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004984/0.3833, allocations: 3.718 MB / 0.7707 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001913/0.3835, allocations: 159.5 kB / 0.7708 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.3835, allocations: 0 / 0.7708 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 8.728e-05/0.3836, allocations: 0 / 0.7708 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.743e-05/0.3837, allocations: 15.91 kB / 0.7708 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.384, allocations: 82.58 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.3841, allocations: 43.84 kB / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.3841, allocations: 0 / 0.771 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.3842, allocations: 11.98 kB / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.3843, allocations: 15.92 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3843, allocations: 0 / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005119/0.3848, allocations: 187.4 kB / 0.7712 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.3848, allocations: 11.92 kB / 0.7712 GB, free: 15.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.3849, allocations: 7.984 kB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.385, allocations: 46.44 kB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.385, allocations: 0 / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.385, allocations: 4 kB / 0.7712 GB, free: 15.61 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.385, 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.0003421/0.3854, allocations: 339 kB / 0.7716 GB, free: 15.24 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.3854, allocations: 8.031 kB / 0.7716 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.3855, allocations: 8.875 kB / 0.7716 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.3856, allocations: 160.4 kB / 0.7717 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.3856, allocations: 26.27 kB / 0.7718 GB, free: 15 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.3857, allocations: 8.375 kB / 0.7718 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.3858, allocations: 49.56 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.3858, allocations: 0 / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3858, allocations: 0 / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.3858, allocations: 11.98 kB / 0.7718 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.3859, allocations: 12 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.3863, allocations: 334 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.023e-05/0.3863, allocations: 14.58 kB / 0.7722 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.3863, allocations: 16.84 kB / 0.7722 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.407e-05/0.3864, allocations: 85.11 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3865, allocations: 30.56 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.3865, allocations: 0 / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.3866, allocations: 45.59 kB / 0.7723 GB, free: 14.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.3866, allocations: 51.41 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.135e-05/0.3867, allocations: 97.98 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3867, allocations: 29.7 kB / 0.7725 GB, free: 14.08 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.3868, allocations: 95.97 kB / 0.7726 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.647e-06/0.3868, allocations: 3.938 kB / 0.7726 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.3868, allocations: 17.72 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3869, allocations: 314.8 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.387, allocations: 7.938 kB / 0.7729 GB, free: 13.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.387, allocations: 17.7 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.387, allocations: 21.72 kB / 0.773 GB, free: 13.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.387, allocations: 0 / 0.773 GB, free: 13.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.679e-05/0.3871, allocations: 53.62 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3871, allocations: 4 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3871, allocations: 0 / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.3871, allocations: 0 / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.306e-05/0.3872, allocations: 8 kB / 0.773 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3872, allocations: 4.062 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.3872, allocations: 0 / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3872, allocations: 7.984 kB / 0.773 GB, free: 13.5 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.652e-05/0.3873, allocations: 109.8 kB / 0.7731 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.3874, allocations: 3.906 kB / 0.7731 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.45e-05/0.3875, allocations: 121.2 kB / 0.7733 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.619e-05/0.3875, allocations: 184.3 kB / 0.7734 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/0.3876, allocations: 116.9 kB / 0.7735 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.3876, allocations: 178.1 kB / 0.7737 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.3877, allocations: 184.3 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.3879, allocations: 120.8 kB / 0.774 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.628e-05/0.3879, allocations: 176.3 kB / 0.7742 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.953e-05/0.388, allocations: 263.5 kB / 0.7744 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001443/0.3882, allocations: 383 kB / 0.7748 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.914e-05/0.3882, allocations: 101 kB / 0.7749 GB, free: 11.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.92e-05/0.3882, allocations: 83.28 kB / 0.775 GB, free: 11.4 MB / 0.545 GB Notification: Performance of Backend: time 3.81e-07/0.3883, allocations: 0 / 0.775 GB, free: 11.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004154/0.3887, allocations: 112.6 kB / 0.7751 GB, free: 11.29 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004752/0.3892, allocations: 0.8755 MB / 0.7759 GB, free: 10.36 MB / 0.545 GB Notification: Performance of Templates: time 0.002406/0.3916, allocations: 0.5505 MB / 0.7765 GB, free: 9.824 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)