Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.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.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.0009079, allocations: 97.52 kB / 15.69 MB, free: 488 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.001/0.001001, allocations: 170.8 kB / 16.57 MB, free: 6.391 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.344/1.344, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6551/0.6551, allocations: 113.8 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002891, allocations: 8 kB / 493 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1408, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01169/0.1525, allocations: 12.1 MB / 0.5686 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004512/0.1571, allocations: 3.167 MB / 0.5717 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006256/0.1577, allocations: 19.88 kB / 0.5718 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008499/0.1586, allocations: 195 kB / 0.5719 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.1606, allocations: 0.5881 MB / 0.5725 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.1622, allocations: 473.8 kB / 0.573 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.1633, allocations: 0.6478 MB / 0.5736 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.1638, allocations: 226.9 kB / 0.5738 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004194/0.1642, allocations: 283 kB / 0.5741 GB, free: 9.891 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.1644, allocations: 195.1 kB / 0.5743 GB, free: 9.699 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.1645, allocations: 16 kB / 0.5743 GB, free: 9.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.165, allocations: 167.7 kB / 0.5745 GB, free: 9.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.437e-05/0.1651, allocations: 63.73 kB / 0.5745 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1652, allocations: 101.5 kB / 0.5746 GB, free: 9.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.1657, allocations: 427.2 kB / 0.575 GB, free: 8.934 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.1657, allocations: 0 / 0.575 GB, free: 8.934 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1657, allocations: 4 kB / 0.575 GB, free: 8.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1657, allocations: 4 kB / 0.575 GB, free: 8.926 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001058/0.1668, allocations: 0.6755 MB / 0.5757 GB, free: 8.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1668, allocations: 12.02 kB / 0.5757 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001734/0.167, allocations: 51.53 kB / 0.5757 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006053/0.1676, allocations: 422.7 kB / 0.5761 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.1676, allocations: 20.5 kB / 0.5762 GB, free: 7.656 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.1677, allocations: 35.97 kB / 0.5762 GB, free: 7.621 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005395/0.1682, allocations: 306.2 kB / 0.5765 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1683, allocations: 0 / 0.5765 GB, free: 7.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.1683, allocations: 15.98 kB / 0.5765 GB, free: 7.285 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.1683, allocations: 7.953 kB / 0.5765 GB, free: 7.277 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.1688, allocations: 210 kB / 0.5767 GB, free: 7.074 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001749/0.1706, allocations: 1.493 MB / 0.5782 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.171, allocations: 166.6 kB / 0.5783 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.1712, allocations: 89.05 kB / 0.5784 GB, free: 5.176 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002897/0.1715, allocations: 132.5 kB / 0.5785 GB, free: 5.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 3.236e-06/0.1715, allocations: 7.938 kB / 0.5786 GB, free: 5.027 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006303/0.1722, allocations: 250.3 kB / 0.5788 GB, free: 4.777 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.1722, allocations: 55.41 kB / 0.5788 GB, free: 4.711 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.1726, allocations: 357.7 kB / 0.5792 GB, free: 4.355 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.1726, allocations: 29.7 kB / 0.5792 GB, free: 4.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.1728, allocations: 223.7 kB / 0.5794 GB, free: 4.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.97e-05/0.1729, allocations: 51.2 kB / 0.5795 GB, free: 4.047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.1729, allocations: 8 kB / 0.5795 GB, free: 4.039 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.173, allocations: 346.8 kB / 0.5798 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.1732, allocations: 71.89 kB / 0.5799 GB, free: 3.621 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1734, allocations: 153.4 kB / 0.58 GB, free: 3.438 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1737, allocations: 117.7 kB / 0.5801 GB, free: 3.316 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1737, allocations: 3.953 kB / 0.5801 GB, free: 3.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005936/0.1743, allocations: 320.7 kB / 0.5805 GB, free: 2.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.1744, allocations: 37.66 kB / 0.5805 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.1744, allocations: 4.312 kB / 0.5805 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1744, allocations: 8 kB / 0.5805 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.1746, allocations: 59.89 kB / 0.5806 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1747, allocations: 4 kB / 0.5806 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/0.1749, allocations: 35.73 kB / 0.5806 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.175, allocations: 16 kB / 0.5806 GB, free: 2.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001623/0.1751, allocations: 165.7 kB / 0.5808 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.1752, allocations: 31.62 kB / 0.5808 GB, free: 2.617 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.1757, allocations: 204.5 kB / 0.581 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.1757, allocations: 4 kB / 0.581 GB, free: 2.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1757, allocations: 4 kB / 0.581 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004593/0.1761, allocations: 493.5 kB / 0.5815 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.1766, allocations: 357.3 kB / 0.5818 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1766, allocations: 0 / 0.5818 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.1768, allocations: 39.92 kB / 0.5818 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1768, allocations: 4 kB / 0.5819 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.1768, allocations: 7.938 kB / 0.5819 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.1768, allocations: 7.953 kB / 0.5819 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1768, allocations: 0 / 0.5819 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006132/0.1774, allocations: 294.7 kB / 0.5821 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.1776, allocations: 136.6 kB / 0.5823 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.994e-05/0.1777, allocations: 8 kB / 0.5823 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.1779, allocations: 23.97 kB / 0.5823 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.178, allocations: 27.86 kB / 0.5823 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.178, allocations: 4 kB / 0.5823 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.1783, allocations: 251.2 kB / 0.5826 GB, free: 0.625 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1783, allocations: 0 / 0.5826 GB, free: 0.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.1787, allocations: 132 kB / 0.5827 GB, free: 0.4961 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003133/0.1791, allocations: 195.9 kB / 0.5829 GB, free: 300 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004845/0.1795, allocations: 231.2 kB / 0.5831 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1796, allocations: 0 / 0.5831 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2343/0.4139, allocations: 76.61 kB / 0.5832 GB, free: 34.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4152, allocations: 195.1 kB / 0.5834 GB, free: 34.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.417, allocations: 0.9558 MB / 0.5843 GB, free: 34.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.4173, allocations: 0.8026 MB / 0.5851 GB, free: 33.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000309/0.4176, allocations: 69.36 kB / 0.5852 GB, free: 33.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.4177, allocations: 34.11 kB / 0.5852 GB, free: 33.35 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4177, allocations: 0 / 0.5852 GB, free: 33.35 MB / 446.1 MB Notification: Performance of Templates: time 0.016/0.4337, allocations: 6.731 MB / 0.5918 GB, free: 32.82 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)