Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5013/0.5013, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 95.98 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 55.92 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3298, allocations: 70.05 MB / 0.5575 GB, free: 44.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004085/0.334, allocations: 3.342 MB / 0.5608 GB, free: 41.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 7.993e-05/0.3341, allocations: 47.86 kB / 0.5608 GB, free: 41.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.3341, allocations: 4 kB / 0.5608 GB, free: 41.79 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.833e-05/0.3342, allocations: 7.938 kB / 0.5608 GB, free: 41.78 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.777e-05/0.3343, allocations: 15.91 kB / 0.5608 GB, free: 41.76 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.3347, allocations: 167.4 kB / 0.561 GB, free: 41.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.272e-05/0.3348, allocations: 63.81 kB / 0.561 GB, free: 41.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.3348, allocations: 4 kB / 0.5611 GB, free: 41.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.3349, allocations: 11.94 kB / 0.5611 GB, free: 41.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.3349, allocations: 15.97 kB / 0.5611 GB, free: 41.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3349, allocations: 0 / 0.5611 GB, free: 41.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.3352, allocations: 167.5 kB / 0.5612 GB, free: 41.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.3353, allocations: 19.91 kB / 0.5613 GB, free: 41.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.3353, allocations: 8 kB / 0.5613 GB, free: 41.31 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3355, allocations: 133.9 kB / 0.5614 GB, free: 41.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3356, allocations: 0 / 0.5614 GB, free: 41.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.3356, allocations: 4 kB / 0.5614 GB, free: 41.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.3356, allocations: 0 / 0.5614 GB, free: 41.18 MB / 410.7 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.00033/0.3359, allocations: 358 kB / 0.5617 GB, free: 40.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.3359, allocations: 12.03 kB / 0.5618 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.336, allocations: 0.9375 kB / 0.5618 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.681e-05/0.3361, allocations: 160.4 kB / 0.5619 GB, free: 40.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.774e-05/0.3361, allocations: 30.27 kB / 0.5619 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.3361, allocations: 384 / 0.5619 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001175/0.3363, allocations: 53.59 kB / 0.562 GB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.3363, allocations: 0 / 0.562 GB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.3363, allocations: 4 kB / 0.562 GB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.3363, allocations: 4 kB / 0.562 GB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.823e-05/0.3364, allocations: 11.98 kB / 0.562 GB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.3368, allocations: 0.591 MB / 0.5626 GB, free: 39.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.091e-05/0.3369, allocations: 18.52 kB / 0.5626 GB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.3369, allocations: 8.859 kB / 0.5626 GB, free: 39.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.3371, allocations: 340.5 kB / 0.5629 GB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.3371, allocations: 34.56 kB / 0.563 GB, free: 39.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.3371, allocations: 0 / 0.563 GB, free: 39.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001339/0.3373, allocations: 45.53 kB / 0.563 GB, free: 39.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.3373, allocations: 51.41 kB / 0.5631 GB, free: 39.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.767e-05/0.3374, allocations: 105.9 kB / 0.5632 GB, free: 39.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.3374, allocations: 29.7 kB / 0.5632 GB, free: 39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.3374, allocations: 88.05 kB / 0.5633 GB, free: 38.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-06/0.3374, allocations: 0 / 0.5633 GB, free: 38.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.3374, allocations: 17.72 kB / 0.5633 GB, free: 38.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.103e-05/0.3375, allocations: 314.8 kB / 0.5636 GB, free: 38.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.3375, allocations: 7.984 kB / 0.5636 GB, free: 38.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.3375, allocations: 17.72 kB / 0.5636 GB, free: 38.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.639e-05/0.3376, allocations: 25.59 kB / 0.5636 GB, free: 38.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3376, allocations: 0 / 0.5636 GB, free: 38.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.294e-05/0.3376, allocations: 49.69 kB / 0.5637 GB, free: 38.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3377, allocations: 5.875 kB / 0.5637 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3377, allocations: 0 / 0.5637 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3377, allocations: 0 / 0.5637 GB, free: 38.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.3378, allocations: 15.92 kB / 0.5637 GB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.3378, allocations: 4.062 kB / 0.5637 GB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.3378, allocations: 0 / 0.5637 GB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3378, allocations: 0 / 0.5637 GB, free: 38.43 MB / 410.7 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.874e-05/0.3379, allocations: 117.8 kB / 0.5638 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.3379, allocations: 3.906 kB / 0.5638 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.04e-05/0.338, allocations: 117 kB / 0.5639 GB, free: 38.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.048e-05/0.338, allocations: 180.2 kB / 0.5641 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-05/0.3381, allocations: 188.3 kB / 0.5643 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.3381, allocations: 184.2 kB / 0.5645 GB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.3383, allocations: 405.2 kB / 0.5648 GB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.3383, allocations: 105 kB / 0.5649 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.904e-05/0.3383, allocations: 112.8 kB / 0.5651 GB, free: 36.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.941e-05/0.3383, allocations: 180.3 kB / 0.5652 GB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.3384, allocations: 188.2 kB / 0.5654 GB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.209e-05/0.3384, allocations: 176.3 kB / 0.5656 GB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-05/0.3384, allocations: 176.3 kB / 0.5657 GB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.3386, allocations: 0.8492 MB / 0.5666 GB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.3386, allocations: 186.1 kB / 0.5668 GB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.3387, allocations: 180.2 kB / 0.5669 GB, free: 34.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.3388, allocations: 112.9 kB / 0.567 GB, free: 34.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.3389, allocations: 176.5 kB / 0.5672 GB, free: 34.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.3389, allocations: 108.9 kB / 0.5673 GB, free: 34.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.784e-05/0.3389, allocations: 87.28 kB / 0.5674 GB, free: 34.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3389, allocations: 0 / 0.5674 GB, free: 34.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003733/0.3393, allocations: 43.92 kB / 0.5674 GB, free: 34.36 MB / 410.7 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.0002073/0.3395, allocations: 231.6 kB / 0.5676 GB, free: 34.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.215e-05/0.3396, allocations: 16 kB / 0.5677 GB, free: 34.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3396, allocations: 0 / 0.5677 GB, free: 34.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3396, allocations: 3.938 kB / 0.5677 GB, free: 34.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.34, allocations: 0.5271 MB / 0.5682 GB, free: 33.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002265/0.3402, allocations: 184.1 kB / 0.5684 GB, free: 33.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.3403, allocations: 0.677 MB / 0.569 GB, free: 32.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.102e-05/0.3404, allocations: 14.67 kB / 0.569 GB, free: 32.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.3404, allocations: 15.38 kB / 0.569 GB, free: 32.63 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3404, allocations: 0 / 0.569 GB, free: 32.63 MB / 410.7 MB Notification: Performance of Templates: time 0.002907/0.3433, allocations: 1.196 MB / 0.5702 GB, free: 31.48 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)