Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001128/0.001128, allocations: 192 kB / 17.2 MB, free: 5.598 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.335/1.335, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7847/0.7847, allocations: 126.1 MB / 417.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 60.08 kB / 0.4949 GB, free: 3.559 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3499, allocations: 78.7 MB / 0.5718 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005122/0.355, allocations: 4.004 MB / 0.5757 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001953/0.3553, allocations: 156.1 kB / 0.5759 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.3553, allocations: 0.5312 kB / 0.5759 GB, free: 28.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.3554, allocations: 11.06 kB / 0.5759 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.3555, allocations: 13.33 kB / 0.5759 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.3559, allocations: 78.64 kB / 0.576 GB, free: 28.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.216e-05/0.356, allocations: 34.19 kB / 0.576 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.356, allocations: 6.875 kB / 0.576 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.458e-05/0.3561, allocations: 11.86 kB / 0.576 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.65e-05/0.3561, allocations: 16.91 kB / 0.576 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3562, allocations: 5.281 kB / 0.576 GB, free: 28.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000206/0.3564, allocations: 57.61 kB / 0.5761 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.3564, allocations: 10.55 kB / 0.5761 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.3565, allocations: 9.375 kB / 0.5761 GB, free: 28.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.3566, allocations: 41.47 kB / 0.5761 GB, free: 28.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3566, allocations: 0.5625 kB / 0.5761 GB, free: 28.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3566, allocations: 2.906 kB / 0.5761 GB, free: 28.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3566, allocations: 0 / 0.5761 GB, free: 28.27 MB / 446.1 MB 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.0003138/0.357, allocations: 338.9 kB / 0.5765 GB, free: 27.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.357, allocations: 11.28 kB / 0.5765 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.357, allocations: 1.906 kB / 0.5765 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.784e-05/0.3571, allocations: 163 kB / 0.5766 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.3572, allocations: 27.98 kB / 0.5767 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.3572, allocations: 3.188 kB / 0.5767 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.3573, allocations: 51.64 kB / 0.5767 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3573, allocations: 1.062 kB / 0.5767 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3574, allocations: 5.25 kB / 0.5767 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.3574, allocations: 1.891 kB / 0.5767 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.911e-05/0.3574, allocations: 21.34 kB / 0.5767 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003639/0.3578, allocations: 337.4 kB / 0.5771 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.231e-05/0.3578, allocations: 22.31 kB / 0.5771 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.3579, allocations: 6.812 kB / 0.5771 GB, free: 27.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.488e-05/0.3579, allocations: 85.14 kB / 0.5772 GB, free: 27.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.358, allocations: 37 kB / 0.5772 GB, free: 27.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.358, allocations: 0 / 0.5772 GB, free: 27.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001202/0.3581, allocations: 37.64 kB / 0.5772 GB, free: 27.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.3581, allocations: 53.48 kB / 0.5773 GB, free: 26.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.935e-05/0.3582, allocations: 103.3 kB / 0.5774 GB, free: 26.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.3582, allocations: 25.7 kB / 0.5774 GB, free: 26.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.3582, allocations: 86.58 kB / 0.5775 GB, free: 26.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.3583, allocations: 5.844 kB / 0.5775 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.3583, allocations: 16.19 kB / 0.5775 GB, free: 26.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.3583, allocations: 316.3 kB / 0.5778 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.3584, allocations: 8.25 kB / 0.5778 GB, free: 26.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.3584, allocations: 19.47 kB / 0.5779 GB, free: 26.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.3584, allocations: 23.83 kB / 0.5779 GB, free: 26.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3584, allocations: 0 / 0.5779 GB, free: 26.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.896e-05/0.3585, allocations: 51.66 kB / 0.5779 GB, free: 26.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3585, allocations: 4.875 kB / 0.5779 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3585, allocations: 1.281 kB / 0.5779 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.3586, allocations: 2.016 kB / 0.5779 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/0.3586, allocations: 5.344 kB / 0.5779 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.3586, allocations: 1.375 kB / 0.5779 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.3586, allocations: 6.828 kB / 0.5779 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3587, allocations: 2.5 kB / 0.5779 GB, free: 26.35 MB / 446.1 MB 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 5.058e-05/0.3587, allocations: 112.9 kB / 0.5781 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3587, allocations: 6 kB / 0.5781 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.879e-05/0.3588, allocations: 124.7 kB / 0.5782 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/0.3589, allocations: 182 kB / 0.5784 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.942e-05/0.3589, allocations: 183 kB / 0.5785 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/0.3589, allocations: 186.1 kB / 0.5787 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.3591, allocations: 412.3 kB / 0.5791 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.3591, allocations: 105.5 kB / 0.5792 GB, free: 24.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.3591, allocations: 103.2 kB / 0.5793 GB, free: 24.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/0.3592, allocations: 182.5 kB / 0.5795 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.3592, allocations: 185.6 kB / 0.5796 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.323e-05/0.3592, allocations: 184 kB / 0.5798 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.281e-05/0.3592, allocations: 182.2 kB / 0.58 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.267e-05/0.3593, allocations: 309.8 kB / 0.5803 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.3594, allocations: 183.5 kB / 0.5805 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.3594, allocations: 178.8 kB / 0.5806 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.3595, allocations: 111 kB / 0.5807 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.3596, allocations: 178.4 kB / 0.5809 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3596, allocations: 107.6 kB / 0.581 GB, free: 23.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.179e-05/0.3596, allocations: 87.72 kB / 0.5811 GB, free: 22.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3596, allocations: 0 / 0.5811 GB, free: 22.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.3599, allocations: 17.53 kB / 0.5811 GB, free: 22.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002353/0.3601, allocations: 198.2 kB / 0.5813 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.949e-05/0.3602, allocations: 9.281 kB / 0.5813 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3602, allocations: 0 / 0.5813 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3602, allocations: 0.5 kB / 0.5813 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.3605, allocations: 467.4 kB / 0.5818 GB, free: 22.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.3607, allocations: 185.3 kB / 0.5819 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.3608, allocations: 0.6743 MB / 0.5826 GB, free: 21.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.06e-05/0.3609, allocations: 6.969 kB / 0.5826 GB, free: 21.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.3609, allocations: 9.547 kB / 0.5826 GB, free: 21.46 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3609, allocations: 0.875 kB / 0.5826 GB, free: 21.46 MB / 446.1 MB Notification: Performance of Templates: time 0.002592/0.3635, allocations: 0.6411 MB / 0.5832 GB, free: 21.25 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)