Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 116.9 kB / 17.09 MB, free: 5.957 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.001222/0.001222, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.279/1.279, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6919/0.6919, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 71.67 kB / 0.5584 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1393, allocations: 76.18 MB / 0.6328 GB, free: 4.34 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.006267/0.1456, allocations: 4.713 MB / 0.6374 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00278/0.1484, allocations: 2.691 MB / 0.64 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1485, allocations: 3.938 kB / 0.64 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.1488, allocations: 47.67 kB / 0.64 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.1492, allocations: 95.36 kB / 0.6401 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1504, allocations: 0.4987 MB / 0.6406 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.1507, allocations: 228 kB / 0.6408 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.1508, allocations: 17.55 kB / 0.6409 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.151, allocations: 123.5 kB / 0.641 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1512, allocations: 83.67 kB / 0.6411 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.1512, allocations: 8 kB / 0.6411 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007286/0.1519, allocations: 375.2 kB / 0.6414 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.066e-05/0.152, allocations: 35.89 kB / 0.6415 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.405e-05/0.1521, allocations: 83.59 kB / 0.6415 GB, free: 11.31 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006622/0.1528, allocations: 359.1 kB / 0.6419 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1528, allocations: 8 kB / 0.6419 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1528, allocations: 0 / 0.6419 GB, free: 10.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1528, allocations: 0 / 0.6419 GB, free: 10.95 MB / 494.1 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.0007319/0.1535, allocations: 0.4914 MB / 0.6424 GB, free: 10.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1536, allocations: 12.03 kB / 0.6424 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.1538, allocations: 24.75 kB / 0.6424 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1541, allocations: 212.1 kB / 0.6426 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.1541, allocations: 12.7 kB / 0.6426 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.1541, allocations: 20.38 kB / 0.6426 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.1545, allocations: 248.2 kB / 0.6429 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1545, allocations: 0 / 0.6429 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.1545, allocations: 8 kB / 0.6429 GB, free: 9.828 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.1546, allocations: 4 kB / 0.6429 GB, free: 9.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.155, allocations: 439.3 kB / 0.6433 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.1562, allocations: 0.9448 MB / 0.6442 GB, free: 8.359 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.1564, allocations: 170.4 kB / 0.6444 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.1565, allocations: 64.88 kB / 0.6444 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.1578, allocations: 1.821 MB / 0.6462 GB, free: 5.938 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1579, allocations: 30.56 kB / 0.6463 GB, free: 5.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.1579, allocations: 0 / 0.6463 GB, free: 5.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003213/0.1582, allocations: 159.9 kB / 0.6464 GB, free: 5.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.1582, allocations: 55.34 kB / 0.6465 GB, free: 5.672 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.1584, allocations: 165 kB / 0.6466 GB, free: 5.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.1584, allocations: 25.7 kB / 0.6466 GB, free: 5.469 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.1585, allocations: 147.8 kB / 0.6468 GB, free: 5.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.1585, allocations: 55.2 kB / 0.6468 GB, free: 5.266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-05/0.1586, allocations: 53.61 kB / 0.6469 GB, free: 5.207 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1587, allocations: 330.8 kB / 0.6472 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.1588, allocations: 35.97 kB / 0.6472 GB, free: 4.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.1589, allocations: 142.2 kB / 0.6474 GB, free: 4.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.1591, allocations: 201.5 kB / 0.6476 GB, free: 4.406 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1592, allocations: 12 kB / 0.6476 GB, free: 4.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003093/0.1595, allocations: 204 kB / 0.6478 GB, free: 4.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1595, allocations: 8 kB / 0.6478 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1595, allocations: 4.469 kB / 0.6478 GB, free: 4.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1595, allocations: 8 kB / 0.6478 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.1597, allocations: 59.78 kB / 0.6478 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.1597, allocations: 11.94 kB / 0.6479 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.1599, allocations: 27.69 kB / 0.6479 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.1599, allocations: 16 kB / 0.6479 GB, free: 4.059 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.16, allocations: 129.7 kB / 0.648 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/0.1601, allocations: 15.81 kB / 0.648 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.1603, allocations: 159 kB / 0.6482 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.1604, allocations: 11.94 kB / 0.6482 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.1604, allocations: 0 / 0.6482 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1604, allocations: 0 / 0.6482 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.1606, allocations: 217.4 kB / 0.6484 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1606, allocations: 0 / 0.6484 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.1607, allocations: 24 kB / 0.6484 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1607, allocations: 3.984 kB / 0.6484 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1607, allocations: 4 kB / 0.6484 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1608, allocations: 3.938 kB / 0.6484 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1608, allocations: 0 / 0.6484 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.161, allocations: 223.2 kB / 0.6487 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.1611, allocations: 109 kB / 0.6488 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1611, allocations: 4 kB / 0.6488 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.1613, allocations: 15.92 kB / 0.6488 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.088e-05/0.1613, allocations: 8 kB / 0.6488 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.1614, allocations: 11.98 kB / 0.6488 GB, free: 3.039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.061e-05/0.1615, allocations: 121.6 kB / 0.6489 GB, free: 2.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1615, allocations: 4 kB / 0.6489 GB, free: 2.918 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.1619, allocations: 79.91 kB / 0.649 GB, free: 2.84 MB / 494.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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002699/0.1621, allocations: 175.1 kB / 0.6492 GB, free: 2.656 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002274/0.1624, allocations: 126.6 kB / 0.6493 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1624, allocations: 0 / 0.6493 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.304e-05/0.1625, allocations: 43.92 kB / 0.6493 GB, free: 2.492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.1629, allocations: 60.55 kB / 0.6494 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.1636, allocations: 364.7 kB / 0.6497 GB, free: 2.047 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.1638, allocations: 0.7205 MB / 0.6504 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.1639, allocations: 31.38 kB / 0.6505 GB, free: 1.266 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1639, allocations: 0 / 0.6505 GB, free: 1.266 MB / 494.1 MB Notification: Performance of Templates: time 0.005294/0.1692, allocations: 3.185 MB / 0.6536 GB, free: 14.1 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)