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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 100.7 kB / 16.64 MB, free: 6.809 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.001312/0.001312, allocations: 189.9 kB / 17.56 MB, free: 5.941 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.403/1.403, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8217/0.8217, allocations: 125.4 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 67.84 kB / 0.4943 GB, free: 4.836 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3686, allocations: 78.56 MB / 0.571 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004756/0.3735, allocations: 3.326 MB / 0.5743 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.3736, allocations: 55.31 kB / 0.5743 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.616e-05/0.3736, allocations: 0 / 0.5743 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.3738, allocations: 3.922 kB / 0.5743 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.3739, allocations: 13.38 kB / 0.5743 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.3745, allocations: 173 kB / 0.5745 GB, free: 29.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.581e-05/0.3746, allocations: 38.39 kB / 0.5745 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.3747, allocations: 2.031 kB / 0.5745 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.769e-05/0.3747, allocations: 17.02 kB / 0.5745 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.769e-05/0.3748, allocations: 18.08 kB / 0.5746 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.3748, allocations: 0 / 0.5746 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.3752, allocations: 176.4 kB / 0.5747 GB, free: 29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.947e-05/0.3753, allocations: 7.422 kB / 0.5747 GB, free: 29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.3753, allocations: 8.938 kB / 0.5747 GB, free: 29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.3756, allocations: 86.45 kB / 0.5748 GB, free: 28.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3756, allocations: 5 kB / 0.5748 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3756, allocations: 1.875 kB / 0.5748 GB, free: 28.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3756, allocations: 0 / 0.5748 GB, free: 28.98 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.0004152/0.376, allocations: 350.4 kB / 0.5752 GB, free: 28.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3761, allocations: 9.688 kB / 0.5752 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.3761, allocations: 3.25 kB / 0.5752 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.986e-05/0.3762, allocations: 163.8 kB / 0.5753 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.737e-05/0.3763, allocations: 29.58 kB / 0.5754 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.3763, allocations: 384 / 0.5754 GB, free: 28.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3765, allocations: 51.48 kB / 0.5754 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3765, allocations: 5.812 kB / 0.5754 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3765, allocations: 7.875 kB / 0.5754 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.3765, allocations: 3.438 kB / 0.5754 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.81e-05/0.3766, allocations: 12.97 kB / 0.5754 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.3772, allocations: 0.5819 MB / 0.576 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.917e-05/0.3773, allocations: 16.95 kB / 0.576 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.3773, allocations: 6.875 kB / 0.576 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/0.3775, allocations: 341.3 kB / 0.5764 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3775, allocations: 40.09 kB / 0.5764 GB, free: 27.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.3776, allocations: 0 / 0.5764 GB, free: 27.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001602/0.3777, allocations: 34.77 kB / 0.5764 GB, free: 27.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3778, allocations: 54.69 kB / 0.5765 GB, free: 27.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.211e-05/0.3778, allocations: 111.1 kB / 0.5766 GB, free: 27.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.3779, allocations: 25.7 kB / 0.5766 GB, free: 26.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.3779, allocations: 82.16 kB / 0.5767 GB, free: 26.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.844e-06/0.3779, allocations: 5.5 kB / 0.5767 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.3779, allocations: 18.95 kB / 0.5767 GB, free: 26.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.378, allocations: 317.7 kB / 0.577 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.582e-05/0.378, allocations: 3.266 kB / 0.577 GB, free: 26.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.3781, allocations: 23.75 kB / 0.577 GB, free: 26.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.369e-05/0.3781, allocations: 18.69 kB / 0.5771 GB, free: 26.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3781, allocations: 1.375 kB / 0.5771 GB, free: 26.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.583e-05/0.3782, allocations: 50.33 kB / 0.5771 GB, free: 26.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3782, allocations: 6.281 kB / 0.5771 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3782, allocations: 0 / 0.5771 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3783, allocations: 2.625 kB / 0.5771 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.3783, allocations: 6.422 kB / 0.5771 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3783, allocations: 1.594 kB / 0.5771 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.3784, allocations: 2.391 kB / 0.5771 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3784, allocations: 1.688 kB / 0.5771 GB, free: 26.49 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 6.103e-05/0.3784, allocations: 120.5 kB / 0.5772 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.3785, allocations: 10.27 kB / 0.5773 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.3786, allocations: 123.9 kB / 0.5774 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/0.3786, allocations: 178.3 kB / 0.5775 GB, free: 26.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.651e-05/0.3787, allocations: 186 kB / 0.5777 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.51e-05/0.3787, allocations: 179.3 kB / 0.5779 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.3789, allocations: 409.3 kB / 0.5783 GB, free: 25.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.3789, allocations: 110.7 kB / 0.5784 GB, free: 25.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.59e-05/0.3789, allocations: 107.2 kB / 0.5785 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.641e-05/0.3789, allocations: 183.1 kB / 0.5787 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.379, allocations: 178.3 kB / 0.5788 GB, free: 24.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.927e-05/0.379, allocations: 179.2 kB / 0.579 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.939e-05/0.379, allocations: 181.9 kB / 0.5792 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.547e-05/0.3791, allocations: 318.2 kB / 0.5795 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.3792, allocations: 180.9 kB / 0.5797 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.3792, allocations: 179.2 kB / 0.5798 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3794, allocations: 112.8 kB / 0.5799 GB, free: 23.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.3794, allocations: 183.7 kB / 0.5801 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3794, allocations: 105.5 kB / 0.5802 GB, free: 23.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.294e-05/0.3795, allocations: 83.78 kB / 0.5803 GB, free: 23.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3795, allocations: 1.438 kB / 0.5803 GB, free: 23.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000348/0.3798, allocations: 41.17 kB / 0.5803 GB, free: 23.09 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.0002859/0.3801, allocations: 228.5 kB / 0.5805 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.933e-05/0.3802, allocations: 12.11 kB / 0.5806 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3803, allocations: 3.25 kB / 0.5806 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3803, allocations: 1.219 kB / 0.5806 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3807, allocations: 460 kB / 0.581 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.3809, allocations: 213.7 kB / 0.5812 GB, free: 22.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.3811, allocations: 0.6757 MB / 0.5819 GB, free: 21.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.3811, allocations: 14.25 kB / 0.5819 GB, free: 21.53 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3811, allocations: 0 / 0.5819 GB, free: 21.53 MB / 446.1 MB Notification: Performance of Templates: time 0.003636/0.3847, allocations: 1.186 MB / 0.583 GB, free: 21.4 MB / 446.1 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)