Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00247/0.002469, allocations: 353.3 kB / 15.94 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.396/1.396, allocations: 165.8 MB / 182.5 MB, free: 5.512 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.061/4.061, allocations: 410.8 MB / 0.5995 GB, free: 15.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002681/0.002681, allocations: 194.8 kB / 0.6662 GB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004623/0.0004625, allocations: 12 kB / 0.7423 GB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3477, allocations: 67.43 MB / 0.8081 GB, free: 28.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003528/0.3512, allocations: 3.244 MB / 0.8113 GB, free: 25.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002959/0.3542, allocations: 2.443 MB / 0.8137 GB, free: 23.1 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.3544, allocations: 0 / 0.8137 GB, free: 23.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.3546, allocations: 43.67 kB / 0.8137 GB, free: 23.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.3549, allocations: 79.48 kB / 0.8138 GB, free: 22.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.3561, allocations: 408.2 kB / 0.8142 GB, free: 22.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.3564, allocations: 283.8 kB / 0.8145 GB, free: 22.31 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.3565, allocations: 13.55 kB / 0.8145 GB, free: 22.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.3567, allocations: 107.6 kB / 0.8146 GB, free: 22.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3568, allocations: 95.66 kB / 0.8147 GB, free: 22.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.3569, allocations: 4 kB / 0.8147 GB, free: 22.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000758/0.3576, allocations: 335.2 kB / 0.815 GB, free: 21.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.029e-05/0.3577, allocations: 39.89 kB / 0.815 GB, free: 21.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.3578, allocations: 57.62 kB / 0.8151 GB, free: 21.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003834/0.3582, allocations: 249.6 kB / 0.8153 GB, free: 21.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.943e-06/0.3582, allocations: 0 / 0.8153 GB, free: 21.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.601e-06/0.3582, allocations: 3.938 kB / 0.8153 GB, free: 21.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.644e-06/0.3582, allocations: 0 / 0.8153 GB, free: 21.42 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006395/0.3589, allocations: 467.2 kB / 0.8158 GB, free: 20.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3589, allocations: 12.02 kB / 0.8158 GB, free: 20.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.3611, allocations: 187.6 kB / 0.816 GB, free: 20.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3614, allocations: 210.7 kB / 0.8162 GB, free: 20.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.3614, allocations: 12.28 kB / 0.8162 GB, free: 20.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.3615, allocations: 23.94 kB / 0.8162 GB, free: 20.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006727/0.3622, allocations: 300.2 kB / 0.8165 GB, free: 20.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3622, allocations: 7.922 kB / 0.8165 GB, free: 20.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.3623, allocations: 12 kB / 0.8165 GB, free: 20.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.3623, allocations: 4 kB / 0.8165 GB, free: 20.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008412/0.3631, allocations: 255.6 kB / 0.8168 GB, free: 19.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3647, allocations: 1.377 MB / 0.8181 GB, free: 18.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007631/0.3655, allocations: 205.1 kB / 0.8183 GB, free: 18.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.3658, allocations: 72.81 kB / 0.8184 GB, free: 18.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.3658, allocations: 11.92 kB / 0.8184 GB, free: 18.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.3658, allocations: 34.56 kB / 0.8184 GB, free: 18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 3.249e-06/0.3659, allocations: 4 kB / 0.8184 GB, free: 18 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009107/0.3668, allocations: 241.3 kB / 0.8187 GB, free: 17.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.3668, allocations: 55.34 kB / 0.8187 GB, free: 17.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.367, allocations: 162.3 kB / 0.8189 GB, free: 17.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.367, allocations: 29.7 kB / 0.8189 GB, free: 17.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.3671, allocations: 124 kB / 0.819 GB, free: 17.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.3671, allocations: 63.09 kB / 0.8191 GB, free: 17.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.3672, allocations: 4 kB / 0.8191 GB, free: 17.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.919e-05/0.3672, allocations: 326.8 kB / 0.8194 GB, free: 16.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.3675, allocations: 68.41 kB / 0.8194 GB, free: 16.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.3678, allocations: 140.1 kB / 0.8196 GB, free: 16.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002803/0.3681, allocations: 79.91 kB / 0.8197 GB, free: 16.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.453e-06/0.3681, allocations: 4 kB / 0.8197 GB, free: 16.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007121/0.3688, allocations: 252.6 kB / 0.8199 GB, free: 16.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3689, allocations: 8 kB / 0.8199 GB, free: 16.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.542e-06/0.3689, allocations: 0 / 0.8199 GB, free: 16.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3689, allocations: 4 kB / 0.8199 GB, free: 16.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004451/0.3694, allocations: 68.2 kB / 0.82 GB, free: 16.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3694, allocations: 11.98 kB / 0.82 GB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.3697, allocations: 31.67 kB / 0.82 GB, free: 16.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.3697, allocations: 12 kB / 0.82 GB, free: 16.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.3699, allocations: 133.7 kB / 0.8202 GB, free: 16.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.3699, allocations: 15.81 kB / 0.8202 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007996/0.3707, allocations: 228.3 kB / 0.8204 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.375e-06/0.3708, allocations: 4 kB / 0.8204 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.006e-06/0.3708, allocations: 0 / 0.8204 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.924e-06/0.3708, allocations: 3.984 kB / 0.8204 GB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.3711, allocations: 241.4 kB / 0.8206 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3711, allocations: 0 / 0.8206 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003682/0.3715, allocations: 51.89 kB / 0.8207 GB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.3715, allocations: 0 / 0.8207 GB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.3716, allocations: 4 kB / 0.8207 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.494e-06/0.3716, allocations: 4 kB / 0.8207 GB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.151e-06/0.3716, allocations: 4 kB / 0.8207 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.3722, allocations: 290 kB / 0.821 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3723, allocations: 104.9 kB / 0.8211 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.3724, allocations: 7.984 kB / 0.8211 GB, free: 15.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.3727, allocations: 19.98 kB / 0.8211 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.3728, allocations: 15.98 kB / 0.8211 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.3728, allocations: 4 kB / 0.8211 GB, free: 15.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.256e-05/0.3729, allocations: 118.7 kB / 0.8212 GB, free: 14.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.66e-07/0.3729, allocations: 3.938 kB / 0.8212 GB, free: 14.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004715/0.3734, allocations: 64.03 kB / 0.8213 GB, free: 14.88 MB / 378.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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002005/0.3736, allocations: 140.9 kB / 0.8214 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006212/0.3742, allocations: 184.3 kB / 0.8216 GB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3743, allocations: 4 kB / 0.8216 GB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002727/0.3745, allocations: 87.88 kB / 0.8217 GB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.3752, allocations: 55.95 kB / 0.8217 GB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.3762, allocations: 497.4 kB / 0.8222 GB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.3764, allocations: 0.7215 MB / 0.8229 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005383/0.377, allocations: 41.95 kB / 0.823 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3771, allocations: 27.42 kB / 0.823 GB, free: 13.08 MB / 378.7 MB Notification: Performance of SimCode: time 1.921e-06/0.3771, allocations: 4 kB / 0.823 GB, free: 13.08 MB / 378.7 MB Notification: Performance of Templates: time 0.007848/0.385, allocations: 3.031 MB / 0.826 GB, free: 10.09 MB / 378.7 MB