Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001451/0.00145, allocations: 185.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.795/0.795, allocations: 82.92 MB / 99.42 MB, free: 3.246 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.348/2.348, allocations: 205.4 MB / 325.4 MB, free: 3.227 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.001033/0.001033, allocations: 90.81 kB / 393.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004558, allocations: 16 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1293, allocations: 67.45 MB / 0.5263 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.006319/0.1357, allocations: 3.913 MB / 0.5302 GB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003567/0.1393, allocations: 2.156 MB / 0.5323 GB, free: 8.953 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1395, allocations: 0 / 0.5323 GB, free: 8.953 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.1397, allocations: 31.88 kB / 0.5323 GB, free: 8.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.14, allocations: 83.69 kB / 0.5324 GB, free: 8.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1413, allocations: 410.8 kB / 0.5328 GB, free: 8.441 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1416, allocations: 148.7 kB / 0.5329 GB, free: 8.297 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.04e-05/0.1417, allocations: 17.55 kB / 0.5329 GB, free: 8.281 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.1419, allocations: 103.7 kB / 0.533 GB, free: 8.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1421, allocations: 71.75 kB / 0.5331 GB, free: 8.109 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.1421, allocations: 4 kB / 0.5331 GB, free: 8.105 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008267/0.143, allocations: 271.7 kB / 0.5334 GB, free: 7.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.897e-05/0.143, allocations: 35.83 kB / 0.5334 GB, free: 7.805 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.1431, allocations: 53.64 kB / 0.5334 GB, free: 7.746 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.1436, allocations: 219.7 kB / 0.5337 GB, free: 7.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.903e-06/0.1436, allocations: 0 / 0.5337 GB, free: 7.531 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.389e-06/0.1436, allocations: 4 kB / 0.5337 GB, free: 7.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.297e-06/0.1436, allocations: 0 / 0.5337 GB, free: 7.527 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.0007965/0.1444, allocations: 463.1 kB / 0.5341 GB, free: 7.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1445, allocations: 12.03 kB / 0.5341 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.1447, allocations: 23.81 kB / 0.5341 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.145, allocations: 206.8 kB / 0.5343 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.145, allocations: 16.28 kB / 0.5343 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.1451, allocations: 12 kB / 0.5344 GB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004767/0.1456, allocations: 256 kB / 0.5346 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1456, allocations: 0 / 0.5346 GB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.1456, allocations: 8 kB / 0.5346 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/0.1457, allocations: 7.984 kB / 0.5346 GB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/0.1464, allocations: 435.2 kB / 0.535 GB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.1479, allocations: 0.98 MB / 0.536 GB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.1483, allocations: 170.8 kB / 0.5361 GB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/0.1503, allocations: 1.84 MB / 0.5379 GB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.1504, allocations: 38.56 kB / 0.538 GB, free: 2.516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.93e-06/0.1504, allocations: 0 / 0.538 GB, free: 2.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004408/0.1509, allocations: 144.3 kB / 0.5381 GB, free: 2.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.1509, allocations: 59.41 kB / 0.5382 GB, free: 2.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.1512, allocations: 172.8 kB / 0.5383 GB, free: 2.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.1512, allocations: 25.7 kB / 0.5384 GB, free: 2.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1513, allocations: 139.8 kB / 0.5385 GB, free: 1.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.1514, allocations: 55.28 kB / 0.5386 GB, free: 1.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.1514, allocations: 4 kB / 0.5386 GB, free: 1.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.1516, allocations: 326.8 kB / 0.5389 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.604e-05/0.1517, allocations: 31.98 kB / 0.5389 GB, free: 1.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.1519, allocations: 138.2 kB / 0.539 GB, free: 1.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1521, allocations: 55.94 kB / 0.5391 GB, free: 1.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.05e-06/0.1521, allocations: 4 kB / 0.5391 GB, free: 1.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004815/0.1526, allocations: 217 kB / 0.5393 GB, free: 1.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1526, allocations: 13.19 kB / 0.5393 GB, free: 1.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1527, allocations: 4.469 kB / 0.5393 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.1527, allocations: 8 kB / 0.5393 GB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.153, allocations: 59.91 kB / 0.5394 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.153, allocations: 4 kB / 0.5394 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.1532, allocations: 27.69 kB / 0.5394 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.1532, allocations: 19.94 kB / 0.5394 GB, free: 0.9414 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001586/0.1534, allocations: 129.8 kB / 0.5395 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.81e-05/0.1535, allocations: 15.81 kB / 0.5396 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.1539, allocations: 161 kB / 0.5397 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.1539, allocations: 0 / 0.5397 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.246e-06/0.154, allocations: 0 / 0.5397 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.202e-06/0.154, allocations: 3.984 kB / 0.5397 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003611/0.1543, allocations: 217.4 kB / 0.5399 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.84e-06/0.1544, allocations: 4 kB / 0.5399 GB, free: 368 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1545, allocations: 31.98 kB / 0.54 GB, free: 336 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.818e-06/0.1546, allocations: 7.938 kB / 0.54 GB, free: 328 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1546, allocations: 3.984 kB / 0.54 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.342e-06/0.1546, allocations: 0 / 0.54 GB, free: 324 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.641e-06/0.1546, allocations: 4 kB / 0.54 GB, free: 320 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.155, allocations: 219.2 kB / 0.5402 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.1551, allocations: 116.9 kB / 0.5403 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.1552, allocations: 4 kB / 0.5403 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.1554, allocations: 7.984 kB / 0.5403 GB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1555, allocations: 15.98 kB / 0.5403 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.1555, allocations: 4 kB / 0.5403 GB, free: 15.92 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1557, allocations: 128.9 kB / 0.5405 GB, free: 15.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.1557, allocations: 0 / 0.5405 GB, free: 15.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005409/0.1562, allocations: 75.92 kB / 0.5405 GB, free: 15.72 MB / 394.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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003226/0.1566, allocations: 171 kB / 0.5407 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.1569, allocations: 115.3 kB / 0.5408 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.256e-06/0.1569, allocations: 0 / 0.5408 GB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.691e-05/0.157, allocations: 51.84 kB / 0.5408 GB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004867/0.1575, allocations: 60.64 kB / 0.5409 GB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.1584, allocations: 427.3 kB / 0.5413 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.1589, allocations: 0.7133 MB / 0.542 GB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.1592, allocations: 45.91 kB / 0.5421 GB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.1592, allocations: 27.38 kB / 0.5421 GB, free: 14.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1592, allocations: 0 / 0.5421 GB, free: 14.07 MB / 394.7 MB Notification: Performance of Templates: time 0.009091/0.1683, allocations: 3.1 MB / 0.5451 GB, free: 11 MB / 394.7 MB