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.001457/0.001457, allocations: 187.3 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7797/0.7797, allocations: 82.93 MB / 99.42 MB, free: 3.293 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.286/2.286, allocations: 205.4 MB / 325.4 MB, free: 3.445 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 93.84 kB / 393.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004543, allocations: 15.98 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1108, allocations: 67.45 MB / 0.5264 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.008137/0.119, allocations: 3.049 MB / 0.5293 GB, free: 12.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00662/0.1257, allocations: 2.167 MB / 0.5314 GB, free: 9.844 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.1259, allocations: 0 / 0.5314 GB, free: 9.844 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.1263, allocations: 43.73 kB / 0.5315 GB, free: 9.801 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004608/0.1268, allocations: 79.8 kB / 0.5316 GB, free: 9.723 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002855/0.1297, allocations: 438.5 kB / 0.532 GB, free: 9.297 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.1303, allocations: 164.6 kB / 0.5321 GB, free: 9.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.1304, allocations: 13.55 kB / 0.5322 GB, free: 9.125 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004452/0.1309, allocations: 99.72 kB / 0.5322 GB, free: 9.027 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002331/0.1312, allocations: 75.69 kB / 0.5323 GB, free: 8.953 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.1312, allocations: 8 kB / 0.5323 GB, free: 8.945 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.1333, allocations: 379.5 kB / 0.5327 GB, free: 8.574 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1335, allocations: 35.89 kB / 0.5327 GB, free: 8.539 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1337, allocations: 53.64 kB / 0.5328 GB, free: 8.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.1347, allocations: 251.7 kB / 0.533 GB, free: 8.234 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.114e-06/0.1347, allocations: 0 / 0.533 GB, free: 8.234 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.757e-06/0.1348, allocations: 0 / 0.533 GB, free: 8.234 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.33e-06/0.1348, allocations: 0 / 0.533 GB, free: 8.234 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.001247/0.136, allocations: 479 kB / 0.5335 GB, free: 7.715 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.1361, allocations: 8.031 kB / 0.5335 GB, free: 7.707 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004452/0.1406, allocations: 179.6 kB / 0.5336 GB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.1412, allocations: 210.8 kB / 0.5339 GB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/0.1412, allocations: 16.28 kB / 0.5339 GB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.452e-05/0.1413, allocations: 20 kB / 0.5339 GB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.1428, allocations: 300.2 kB / 0.5342 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.1429, allocations: 0 / 0.5342 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.452e-05/0.143, allocations: 8 kB / 0.5342 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.143, allocations: 8 kB / 0.5342 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.1448, allocations: 256.1 kB / 0.5344 GB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003442/0.1483, allocations: 1.389 MB / 0.5358 GB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.1499, allocations: 194.5 kB / 0.536 GB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.15, allocations: 4 kB / 0.536 GB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.615e-05/0.1501, allocations: 34.56 kB / 0.536 GB, free: 4.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.021e-05/0.1501, allocations: 0 / 0.536 GB, free: 4.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.001878/0.152, allocations: 251.6 kB / 0.5362 GB, free: 4.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.819e-05/0.1521, allocations: 51.41 kB / 0.5363 GB, free: 4.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.1524, allocations: 157.8 kB / 0.5364 GB, free: 4.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.1525, allocations: 29.7 kB / 0.5365 GB, free: 4.395 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.1527, allocations: 139.9 kB / 0.5366 GB, free: 4.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1528, allocations: 63.05 kB / 0.5367 GB, free: 4.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.1529, allocations: 4 kB / 0.5367 GB, free: 4.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.1531, allocations: 330.8 kB / 0.537 GB, free: 3.852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/0.1537, allocations: 64.42 kB / 0.5371 GB, free: 3.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.1543, allocations: 139.9 kB / 0.5372 GB, free: 3.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/0.155, allocations: 75.97 kB / 0.5373 GB, free: 3.547 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.155, allocations: 4 kB / 0.5373 GB, free: 3.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001543/0.1566, allocations: 251.8 kB / 0.5375 GB, free: 3.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.1566, allocations: 4 kB / 0.5375 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.1567, allocations: 4 kB / 0.5375 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/0.1567, allocations: 4 kB / 0.5375 GB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/0.1577, allocations: 71.89 kB / 0.5376 GB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.1577, allocations: 4 kB / 0.5376 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.1583, allocations: 32.02 kB / 0.5376 GB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/0.1584, allocations: 19.98 kB / 0.5376 GB, free: 3.156 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.0002944/0.1587, allocations: 133.7 kB / 0.5378 GB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1589, allocations: 15.81 kB / 0.5378 GB, free: 3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.1604, allocations: 230 kB / 0.538 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.1604, allocations: 4 kB / 0.538 GB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.623e-06/0.1604, allocations: 0 / 0.538 GB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.1605, allocations: 4 kB / 0.538 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.1611, allocations: 245.5 kB / 0.5382 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.699e-06/0.1612, allocations: 0 / 0.5382 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/0.1619, allocations: 47.97 kB / 0.5383 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.162, allocations: 3.984 kB / 0.5383 GB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.162, allocations: 7.984 kB / 0.5383 GB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.162, allocations: 0 / 0.5383 GB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.83e-06/0.1621, allocations: 7.938 kB / 0.5383 GB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.1634, allocations: 295.2 kB / 0.5386 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.1637, allocations: 104.9 kB / 0.5387 GB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.1638, allocations: 3.984 kB / 0.5387 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005861/0.1644, allocations: 15.98 kB / 0.5387 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.1645, allocations: 15.98 kB / 0.5387 GB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/0.1646, allocations: 8 kB / 0.5387 GB, free: 1.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002/0.1648, allocations: 111.2 kB / 0.5388 GB, free: 1.828 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.029e-06/0.1648, allocations: 0 / 0.5388 GB, free: 1.828 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008756/0.1657, allocations: 67.84 kB / 0.5389 GB, free: 1.762 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.0003712/0.1661, allocations: 139.2 kB / 0.539 GB, free: 1.617 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.1674, allocations: 176.3 kB / 0.5392 GB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.1674, allocations: 0 / 0.5392 GB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005478/0.168, allocations: 91.88 kB / 0.5393 GB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008772/0.1689, allocations: 55.88 kB / 0.5393 GB, free: 1.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1709, allocations: 492.6 kB / 0.5398 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005574/0.1715, allocations: 0.7254 MB / 0.5405 GB, free: 44 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009161/0.1724, allocations: 45.94 kB / 0.5406 GB, free: 0 / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.1727, allocations: 27.48 kB / 0.5406 GB, free: 15.97 MB / 394.7 MB Notification: Performance of SimCode: time 2.126e-06/0.1727, allocations: 3.938 kB / 0.5406 GB, free: 15.97 MB / 394.7 MB Notification: Performance of Templates: time 0.009687/0.1824, allocations: 3.024 MB / 0.5435 GB, free: 12.98 MB / 394.7 MB