Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 108.6 kB / 16.41 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.001613/0.001614, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 286.3 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.9425/0.9425, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 100.2 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3511, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005037/0.3562, allocations: 4.009 MB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000191/0.3564, allocations: 159.5 kB / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.3564, allocations: 0 / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.101e-05/0.3565, allocations: 0 / 0.7711 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.471e-05/0.3566, allocations: 15.92 kB / 0.7711 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.3569, allocations: 82.56 kB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.44e-05/0.357, allocations: 35.91 kB / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.357, allocations: 0 / 0.7712 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.3571, allocations: 19.86 kB / 0.7712 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.3571, allocations: 19.97 kB / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.3572, allocations: 0 / 0.7713 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.3573, allocations: 51.83 kB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.3574, allocations: 15.97 kB / 0.7713 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.3574, allocations: 7.938 kB / 0.7713 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.3576, allocations: 39.62 kB / 0.7714 GB, free: 15.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3576, allocations: 0 / 0.7714 GB, free: 15.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3576, allocations: 0 / 0.7714 GB, free: 15.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.3576, allocations: 0 / 0.7714 GB, free: 15.44 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.0003385/0.3579, allocations: 343.5 kB / 0.7717 GB, free: 15.06 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.358, allocations: 12.02 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.558e-05/0.358, allocations: 4.875 kB / 0.7717 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.3581, allocations: 166.9 kB / 0.7719 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.3582, allocations: 30.27 kB / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.3582, allocations: 4.312 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.3583, allocations: 49.61 kB / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.3583, allocations: 0 / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3583, allocations: 4 kB / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.3584, allocations: 0 / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.3584, allocations: 15.98 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.3588, allocations: 338 kB / 0.7723 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.148e-05/0.3588, allocations: 22.52 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.3589, allocations: 12.92 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.497e-05/0.359, allocations: 85.09 kB / 0.7724 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.359, allocations: 30.56 kB / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.359, allocations: 0 / 0.7724 GB, free: 14.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.3591, allocations: 37.7 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/0.3591, allocations: 55.34 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.3592, allocations: 113.7 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.3593, allocations: 25.7 kB / 0.7727 GB, free: 13.88 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.3593, allocations: 84.14 kB / 0.7727 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-06/0.3593, allocations: 3.906 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.3593, allocations: 17.7 kB / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3595, allocations: 318.8 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.45e-05/0.3595, allocations: 8.125 kB / 0.7731 GB, free: 13.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.249e-05/0.3595, allocations: 17.7 kB / 0.7731 GB, free: 13.42 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.345e-05/0.3595, allocations: 21.72 kB / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3596, allocations: 0 / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.16e-05/0.3596, allocations: 49.62 kB / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.3596, allocations: 4 kB / 0.7732 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.3597, allocations: 4.062 kB / 0.7732 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.3597, allocations: 4 kB / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.98e-05/0.3597, allocations: 4 kB / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3597, allocations: 0 / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.3598, allocations: 3.938 kB / 0.7732 GB, free: 13.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.3598, allocations: 4 kB / 0.7732 GB, free: 13.31 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.955e-05/0.3598, allocations: 109.8 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.3599, allocations: 19.77 kB / 0.7733 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.622e-05/0.36, allocations: 120.9 kB / 0.7734 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.696e-05/0.36, allocations: 180.3 kB / 0.7736 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-05/0.3601, allocations: 104.9 kB / 0.7737 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.3602, allocations: 182.1 kB / 0.7739 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.3602, allocations: 184.2 kB / 0.774 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.3604, allocations: 104.9 kB / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.3604, allocations: 192.2 kB / 0.7743 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.68e-05/0.3605, allocations: 259.5 kB / 0.7746 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001497/0.3607, allocations: 379 kB / 0.7749 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.185e-05/0.3607, allocations: 109 kB / 0.775 GB, free: 11.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.3608, allocations: 83.28 kB / 0.7751 GB, free: 11.21 MB / 0.545 GB Notification: Performance of Backend: time 1.9e-07/0.3608, allocations: 0 / 0.7751 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004014/0.3612, allocations: 109.1 kB / 0.7752 GB, free: 11.1 MB / 0.545 GB Notification: Performance of SimCode: time 0.0004706/0.3617, allocations: 0.8642 MB / 0.7761 GB, free: 10.18 MB / 0.545 GB Notification: Performance of Templates: time 0.002463/0.3641, allocations: 0.5448 MB / 0.7766 GB, free: 9.641 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)