Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 96.73 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 175.6 kB / 16.57 MB, free: 6.398 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.337/1.337, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.676/0.676, allocations: 113.8 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01263/0.1428, allocations: 11.16 MB / 0.5677 GB, free: 460 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.1452, allocations: 2.132 MB / 0.5698 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1453, allocations: 0 / 0.5698 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.1456, allocations: 35.8 kB / 0.5698 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.1458, allocations: 79.77 kB / 0.5699 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.1468, allocations: 441.1 kB / 0.5703 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.147, allocations: 148.7 kB / 0.5705 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.1471, allocations: 17.44 kB / 0.5705 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008026/0.1551, allocations: 4.305 MB / 0.5747 GB, free: 9.309 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1553, allocations: 71.75 kB / 0.5748 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1553, allocations: 4 kB / 0.5748 GB, free: 9.234 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.1577, allocations: 1.01 MB / 0.5758 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.1577, allocations: 39.89 kB / 0.5758 GB, free: 8.188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.1578, allocations: 53.64 kB / 0.5758 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.1582, allocations: 227.4 kB / 0.5761 GB, free: 7.906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1582, allocations: 0 / 0.5761 GB, free: 7.906 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1582, allocations: 0 / 0.5761 GB, free: 7.906 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1582, allocations: 0 / 0.5761 GB, free: 7.906 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006304/0.1589, allocations: 480.8 kB / 0.5765 GB, free: 7.391 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.1589, allocations: 12.02 kB / 0.5765 GB, free: 7.379 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.1591, allocations: 27.8 kB / 0.5766 GB, free: 7.352 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1593, allocations: 214.8 kB / 0.5768 GB, free: 7.102 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1593, allocations: 12.33 kB / 0.5768 GB, free: 7.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1594, allocations: 12 kB / 0.5768 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.1597, allocations: 240.8 kB / 0.577 GB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1597, allocations: 4 kB / 0.577 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.1597, allocations: 8 kB / 0.577 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.1598, allocations: 8 kB / 0.577 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.1602, allocations: 427.3 kB / 0.5774 GB, free: 6.387 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1613, allocations: 1.015 MB / 0.5784 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.1616, allocations: 163.3 kB / 0.5786 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.1629, allocations: 1.848 MB / 0.5804 GB, free: 2.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1629, allocations: 38.56 kB / 0.5804 GB, free: 2.863 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.1629, allocations: 0 / 0.5804 GB, free: 2.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002973/0.1632, allocations: 146.8 kB / 0.5806 GB, free: 2.715 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1633, allocations: 63.3 kB / 0.5806 GB, free: 2.641 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.1634, allocations: 169.5 kB / 0.5808 GB, free: 2.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1635, allocations: 29.7 kB / 0.5808 GB, free: 2.426 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.1636, allocations: 147.8 kB / 0.581 GB, free: 2.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1636, allocations: 47.36 kB / 0.581 GB, free: 2.23 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.1636, allocations: 0 / 0.581 GB, free: 2.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.1637, allocations: 326.8 kB / 0.5813 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.1638, allocations: 35.97 kB / 0.5814 GB, free: 1.867 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.1639, allocations: 137.7 kB / 0.5815 GB, free: 1.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.164, allocations: 61.33 kB / 0.5815 GB, free: 1.625 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.164, allocations: 4 kB / 0.5816 GB, free: 1.621 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003199/0.1643, allocations: 213.1 kB / 0.5818 GB, free: 1.406 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1644, allocations: 4 kB / 0.5818 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.1644, allocations: 4 kB / 0.5818 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.1644, allocations: 8 kB / 0.5818 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.1646, allocations: 63.84 kB / 0.5818 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1646, allocations: 4.469 kB / 0.5818 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.1647, allocations: 39.64 kB / 0.5819 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1648, allocations: 8 kB / 0.5819 GB, free: 1.277 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.1649, allocations: 141.6 kB / 0.582 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.1649, allocations: 15.81 kB / 0.582 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.1652, allocations: 155.9 kB / 0.5822 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.1653, allocations: 7.984 kB / 0.5822 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1653, allocations: 0 / 0.5822 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1653, allocations: 4 kB / 0.5822 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.1655, allocations: 217.5 kB / 0.5824 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1655, allocations: 0 / 0.5824 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.1657, allocations: 27.98 kB / 0.5824 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1657, allocations: 0 / 0.5824 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.1657, allocations: 11.98 kB / 0.5824 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1657, allocations: 0 / 0.5824 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1657, allocations: 0 / 0.5824 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.166, allocations: 229.4 kB / 0.5827 GB, free: 420 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.1661, allocations: 120.9 kB / 0.5828 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.1661, allocations: 7.984 kB / 0.5828 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.1663, allocations: 23.89 kB / 0.5828 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.1663, allocations: 7.984 kB / 0.5828 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1664, allocations: 12 kB / 0.5828 GB, free: 228 kB / 446.1 MB Notification: Performance of sorting global known variables: time 7.794e-05/0.1664, allocations: 117.8 kB / 0.5829 GB, free: 112 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1664, allocations: 0 / 0.5829 GB, free: 112 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003853/0.1668, allocations: 79.98 kB / 0.583 GB, free: 32 kB / 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 (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.2474/0.4143, allocations: 157.5 kB / 0.5832 GB, free: 35.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003245/0.4146, allocations: 120.7 kB / 0.5833 GB, free: 35.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4146, allocations: 3 kB / 0.5833 GB, free: 35.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.4147, allocations: 47.81 kB / 0.5833 GB, free: 35.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.4152, allocations: 53.22 kB / 0.5834 GB, free: 35.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.4159, allocations: 425.6 kB / 0.5838 GB, free: 35.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.416, allocations: 0.7156 MB / 0.5845 GB, free: 34.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.4162, allocations: 54.77 kB / 0.5845 GB, free: 34.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.4163, allocations: 25.17 kB / 0.5846 GB, free: 34.45 MB / 446.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4163, allocations: 0 / 0.5846 GB, free: 34.45 MB / 446.1 MB Notification: Performance of Templates: time 0.007887/0.4242, allocations: 3.366 MB / 0.5878 GB, free: 34.16 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)