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.001057/0.001061, allocations: 112.5 kB / 16.42 MB, free: 6.449 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.0009919/0.0009919, allocations: 188.2 kB / 17.35 MB, free: 5.719 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.271/1.271, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 282.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.9093/0.9093, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 103.8 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3652, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004545/0.3698, allocations: 4.02 MB / 0.771 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001783/0.3699, allocations: 159.5 kB / 0.7711 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.979e-05/0.37, allocations: 0 / 0.7711 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.074e-05/0.3701, allocations: 0 / 0.7711 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.423e-05/0.3701, allocations: 15.91 kB / 0.7711 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.3704, allocations: 87.69 kB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.212e-05/0.3705, allocations: 27.91 kB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.3706, allocations: 0 / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.3706, allocations: 27.86 kB / 0.7713 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.3707, allocations: 7.984 kB / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3707, allocations: 0 / 0.7713 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.3709, allocations: 59.81 kB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.686e-05/0.3709, allocations: 15.97 kB / 0.7713 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.3709, allocations: 7.938 kB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.3711, allocations: 35.62 kB / 0.7714 GB, free: 15.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3711, allocations: 0 / 0.7714 GB, free: 15.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3711, allocations: 4 kB / 0.7714 GB, free: 15.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.3711, allocations: 0 / 0.7714 GB, free: 15.46 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.0003269/0.3714, allocations: 339.5 kB / 0.7717 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3715, allocations: 8.031 kB / 0.7717 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.3715, allocations: 0.9375 kB / 0.7717 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3716, allocations: 186.8 kB / 0.7719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.3717, allocations: 30.2 kB / 0.7719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.873e-06/0.3717, allocations: 384 / 0.7719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.3718, allocations: 49.62 kB / 0.772 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.3718, allocations: 0 / 0.772 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.3718, allocations: 0 / 0.772 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.407e-05/0.3718, allocations: 0 / 0.772 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.157e-05/0.3719, allocations: 15.98 kB / 0.772 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.3723, allocations: 338 kB / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.102e-05/0.3723, allocations: 22.52 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.3723, allocations: 8.859 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.354e-05/0.3724, allocations: 81.17 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3725, allocations: 38.55 kB / 0.7725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.3725, allocations: 0 / 0.7725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001229/0.3726, allocations: 37.7 kB / 0.7725 GB, free: 14.12 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.3726, allocations: 59.28 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.721e-05/0.3727, allocations: 105.8 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3727, allocations: 25.7 kB / 0.7727 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.3728, allocations: 84.14 kB / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.27e-06/0.3728, allocations: 3.906 kB / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.3728, allocations: 13.72 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3729, allocations: 326.8 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.3729, allocations: 4.125 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.239e-05/0.373, allocations: 13.72 kB / 0.7731 GB, free: 13.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.399e-05/0.373, allocations: 25.7 kB / 0.7731 GB, free: 13.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.373, allocations: 0 / 0.7731 GB, free: 13.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.132e-05/0.3731, allocations: 45.64 kB / 0.7732 GB, free: 13.37 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.3731, allocations: 4 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3731, allocations: 8.062 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/0.3731, allocations: 0 / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.949e-05/0.3732, allocations: 7.984 kB / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.3732, allocations: 0 / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.3732, allocations: 7.938 kB / 0.7732 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3732, allocations: 0 / 0.7732 GB, free: 13.34 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 8.132e-05/0.3733, allocations: 113.7 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.3733, allocations: 7.906 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.718e-05/0.3735, allocations: 128.9 kB / 0.7734 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-05/0.3735, allocations: 176.3 kB / 0.7736 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.614e-05/0.3736, allocations: 104.9 kB / 0.7737 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.3736, allocations: 178.1 kB / 0.7739 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.3737, allocations: 188.2 kB / 0.7741 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3739, allocations: 108.9 kB / 0.7742 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.3739, allocations: 184.3 kB / 0.7743 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.832e-05/0.374, allocations: 263.8 kB / 0.7746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001492/0.3742, allocations: 379 kB / 0.7749 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.485e-05/0.3742, allocations: 105 kB / 0.775 GB, free: 11.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.3743, allocations: 95.27 kB / 0.7751 GB, free: 11.23 MB / 0.545 GB Notification: Performance of Backend: time 2.4e-07/0.3743, allocations: 0 / 0.7751 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.3747, allocations: 110.3 kB / 0.7752 GB, free: 11.12 MB / 0.545 GB Notification: Performance of SimCode: time 0.000462/0.3751, allocations: 0.8601 MB / 0.7761 GB, free: 10.2 MB / 0.545 GB Notification: Performance of Templates: time 0.002375/0.3775, allocations: 0.5399 MB / 0.7766 GB, free: 9.668 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)