Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001023/0.001023, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002099/0.002099, allocations: 292.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9378/0.9378, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 91.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3677, allocations: 86.98 MB / 0.7671 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00432/0.372, allocations: 3.278 MB / 0.7703 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 9.528e-05/0.3721, allocations: 55.86 kB / 0.7703 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.3722, allocations: 0 / 0.7703 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.111e-05/0.3723, allocations: 0 / 0.7703 GB, free: 464 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.433e-05/0.3723, allocations: 11.92 kB / 0.7703 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.3729, allocations: 190.1 kB / 0.7705 GB, free: 264 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.55e-05/0.3729, allocations: 39.84 kB / 0.7706 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.252e-05/0.373, allocations: 0 / 0.7706 GB, free: 224 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.373, allocations: 19.92 kB / 0.7706 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.3731, allocations: 15.97 kB / 0.7706 GB, free: 188 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.3731, allocations: 4 kB / 0.7706 GB, free: 184 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003328/0.3735, allocations: 167.6 kB / 0.7708 GB, free: 16 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.3735, allocations: 7.969 kB / 0.7708 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.3735, allocations: 7.938 kB / 0.7708 GB, free: 0 / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.3738, allocations: 143.4 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3738, allocations: 0 / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3738, allocations: 0 / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3739, allocations: 4 kB / 0.7709 GB, free: 15.86 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.0003582/0.3742, allocations: 342.1 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3743, allocations: 8.031 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.3743, allocations: 8.844 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.994e-05/0.3744, allocations: 164.3 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.3745, allocations: 26.27 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3745, allocations: 4.375 kB / 0.7714 GB, free: 15.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.3746, allocations: 49.62 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.3746, allocations: 3.938 kB / 0.7715 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.3746, allocations: 7.922 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.3747, allocations: 3.984 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.3747, allocations: 12 kB / 0.7715 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005793/0.3753, allocations: 0.5794 MB / 0.7721 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.582e-05/0.3753, allocations: 22.56 kB / 0.7721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.3754, allocations: 8.859 kB / 0.7721 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.3756, allocations: 340.5 kB / 0.7724 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3756, allocations: 38.5 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.3756, allocations: 0 / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.3758, allocations: 33.69 kB / 0.7725 GB, free: 13.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.3758, allocations: 59.33 kB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.804e-05/0.3759, allocations: 101.9 kB / 0.7727 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3759, allocations: 29.83 kB / 0.7727 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.3759, allocations: 84.05 kB / 0.7728 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.266e-06/0.376, allocations: 11.89 kB / 0.7728 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/0.376, allocations: 13.72 kB / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.3761, allocations: 318.8 kB / 0.7731 GB, free: 13.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.3761, allocations: 4 kB / 0.7731 GB, free: 13.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.664e-05/0.3761, allocations: 25.64 kB / 0.7731 GB, free: 13.22 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.3762, allocations: 25.72 kB / 0.7731 GB, free: 13.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3762, allocations: 0 / 0.7731 GB, free: 13.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.677e-05/0.3763, allocations: 45.62 kB / 0.7732 GB, free: 13.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3763, allocations: 10.19 kB / 0.7732 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.3763, allocations: 0 / 0.7732 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.3763, allocations: 0 / 0.7732 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.3764, allocations: 8 kB / 0.7732 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3764, allocations: 0 / 0.7732 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.042e-05/0.3764, allocations: 8.062 kB / 0.7732 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.3764, allocations: 0 / 0.7732 GB, free: 13.12 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.941e-05/0.3765, allocations: 120.2 kB / 0.7733 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3765, allocations: 0 / 0.7733 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-05/0.3766, allocations: 124.8 kB / 0.7734 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.058e-05/0.3767, allocations: 176.3 kB / 0.7736 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.149e-05/0.3767, allocations: 116.9 kB / 0.7737 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/0.3768, allocations: 178.1 kB / 0.7739 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.3769, allocations: 180.3 kB / 0.7741 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.377, allocations: 112.8 kB / 0.7742 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.3771, allocations: 184.3 kB / 0.7743 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.496e-05/0.3772, allocations: 259.5 kB / 0.7746 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001417/0.3773, allocations: 379.3 kB / 0.775 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.599e-05/0.3774, allocations: 112.9 kB / 0.7751 GB, free: 11.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.3774, allocations: 79.28 kB / 0.7751 GB, free: 11.02 MB / 0.545 GB Notification: Performance of Backend: time 2.8e-07/0.3774, allocations: 3.938 kB / 0.7751 GB, free: 11.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000467/0.3779, allocations: 154.2 kB / 0.7753 GB, free: 10.86 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004945/0.3784, allocations: 0.8639 MB / 0.7761 GB, free: 9.941 MB / 0.545 GB Notification: Performance of Templates: time 0.003283/0.3817, allocations: 1.128 MB / 0.7772 GB, free: 8.867 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)