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.0009809/0.0009808, allocations: 92.86 kB / 15.7 MB, free: 472 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.001096/0.001096, allocations: 170.2 kB / 16.58 MB, free: 6.051 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.365/1.365, allocations: 223.3 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7138/0.7138, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003216/0.0003221, allocations: 8 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 77.53 MB / 0.5593 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.00511/0.1475, allocations: 4.193 MB / 0.5634 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.1502, allocations: 2.482 MB / 0.5658 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1503, allocations: 4 kB / 0.5658 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.1505, allocations: 31.81 kB / 0.5659 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.1508, allocations: 95.34 kB / 0.566 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.1519, allocations: 408.2 kB / 0.5663 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.1522, allocations: 263.9 kB / 0.5666 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.1522, allocations: 13.55 kB / 0.5666 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.1524, allocations: 107.6 kB / 0.5667 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1526, allocations: 99.64 kB / 0.5668 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.1526, allocations: 4 kB / 0.5668 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.1532, allocations: 263.4 kB / 0.5671 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.107e-05/0.1533, allocations: 35.88 kB / 0.5671 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.1533, allocations: 53.64 kB / 0.5671 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.1537, allocations: 215.8 kB / 0.5673 GB, free: 1.133 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1537, allocations: 3.938 kB / 0.5674 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1537, allocations: 0 / 0.5674 GB, free: 1.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1537, allocations: 0 / 0.5674 GB, free: 1.129 MB / 430.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.0006046/0.1543, allocations: 481.5 kB / 0.5678 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1544, allocations: 8.031 kB / 0.5678 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.1545, allocations: 23.83 kB / 0.5678 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1547, allocations: 210.7 kB / 0.568 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1547, allocations: 12.33 kB / 0.5681 GB, free: 328 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.1548, allocations: 23.95 kB / 0.5681 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003508/0.1551, allocations: 236.8 kB / 0.5683 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1552, allocations: 0 / 0.5683 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.1552, allocations: 19.92 kB / 0.5683 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.1552, allocations: 7.938 kB / 0.5683 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.1557, allocations: 427.4 kB / 0.5687 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.1567, allocations: 0.9487 MB / 0.5697 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.157, allocations: 162.2 kB / 0.5698 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.782e-05/0.1571, allocations: 60.88 kB / 0.5699 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.1585, allocations: 1.829 MB / 0.5717 GB, free: 12.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1586, allocations: 34.56 kB / 0.5717 GB, free: 12.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.1586, allocations: 0 / 0.5717 GB, free: 12.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003063/0.1589, allocations: 149.4 kB / 0.5718 GB, free: 11.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.1589, allocations: 55.41 kB / 0.5719 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1591, allocations: 169.8 kB / 0.5721 GB, free: 11.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1591, allocations: 29.7 kB / 0.5721 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.29e-05/0.1592, allocations: 143.8 kB / 0.5722 GB, free: 11.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.1592, allocations: 47.3 kB / 0.5723 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.1593, allocations: 11.94 kB / 0.5723 GB, free: 11.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1594, allocations: 322.8 kB / 0.5726 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.373e-05/0.1594, allocations: 35.97 kB / 0.5726 GB, free: 11.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1596, allocations: 133.7 kB / 0.5727 GB, free: 10.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1597, allocations: 61.61 kB / 0.5728 GB, free: 10.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1597, allocations: 0 / 0.5728 GB, free: 10.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003062/0.16, allocations: 213.1 kB / 0.573 GB, free: 10.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.16, allocations: 10.03 kB / 0.573 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.16, allocations: 4 kB / 0.573 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1601, allocations: 4.469 kB / 0.573 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1602, allocations: 59.91 kB / 0.5731 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.1603, allocations: 11.92 kB / 0.5731 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.1604, allocations: 27.69 kB / 0.5731 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1604, allocations: 19.95 kB / 0.5731 GB, free: 10.53 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.000107/0.1605, allocations: 125.8 kB / 0.5733 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.1606, allocations: 19.8 kB / 0.5733 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.1609, allocations: 156.3 kB / 0.5734 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1609, allocations: 7.938 kB / 0.5734 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1609, allocations: 0 / 0.5734 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1609, allocations: 0 / 0.5734 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.1611, allocations: 225.4 kB / 0.5736 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1612, allocations: 0 / 0.5736 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.069e-05/0.1613, allocations: 27.98 kB / 0.5737 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1613, allocations: 8 kB / 0.5737 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1613, allocations: 0 / 0.5737 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1613, allocations: 0 / 0.5737 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1613, allocations: 0 / 0.5737 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1615, allocations: 229 kB / 0.5739 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.594e-05/0.1616, allocations: 112.9 kB / 0.574 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1617, allocations: 4 kB / 0.574 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.1619, allocations: 15.98 kB / 0.574 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1619, allocations: 11.98 kB / 0.574 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.1619, allocations: 8 kB / 0.574 GB, free: 9.496 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.144e-05/0.162, allocations: 125.6 kB / 0.5742 GB, free: 9.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.162, allocations: 0 / 0.5742 GB, free: 9.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.1624, allocations: 83.83 kB / 0.5742 GB, free: 9.293 MB / 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.0002487/0.1627, allocations: 159.2 kB / 0.5744 GB, free: 9.125 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1629, allocations: 116 kB / 0.5745 GB, free: 9.012 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1629, allocations: 0 / 0.5745 GB, free: 9.012 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.163, allocations: 51.84 kB / 0.5746 GB, free: 8.961 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.1635, allocations: 57.8 kB / 0.5746 GB, free: 8.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.1641, allocations: 419.5 kB / 0.575 GB, free: 8.477 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.1644, allocations: 0.7211 MB / 0.5757 GB, free: 7.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00017/0.1646, allocations: 49.83 kB / 0.5758 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.1647, allocations: 23.44 kB / 0.5758 GB, free: 7.66 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1647, allocations: 0 / 0.5758 GB, free: 7.66 MB / 446.1 MB Notification: Performance of Templates: time 0.006333/0.171, allocations: 3.185 MB / 0.5789 GB, free: 4.523 MB / 446.1 MB 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)