Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 93.19 kB / 16.02 MB, free: 84 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.001509/0.001509, allocations: 183 kB / 16.92 MB, free: 6.684 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6928/0.6928, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 8 kB / 495.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.162, allocations: 77.52 MB / 0.5599 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001704/0.1637, allocations: 1.189 MB / 0.5611 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000778/0.1645, allocations: 463 kB / 0.5615 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.1645, allocations: 3.938 kB / 0.5615 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.435e-05/0.1646, allocations: 0 / 0.5615 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.678e-05/0.1647, allocations: 15.86 kB / 0.5616 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.1649, allocations: 31.97 kB / 0.5616 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.1651, allocations: 87.77 kB / 0.5617 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1652, allocations: 16.17 kB / 0.5617 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1653, allocations: 39.84 kB / 0.5617 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.1654, allocations: 31.89 kB / 0.5618 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1654, allocations: 4 kB / 0.5618 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.1654, allocations: 4 kB / 0.5618 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.1655, allocations: 19.91 kB / 0.5618 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.027e-05/0.1656, allocations: 57.56 kB / 0.5618 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1657, allocations: 71.75 kB / 0.5619 GB, free: 6.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.1657, allocations: 4 kB / 0.5619 GB, free: 6.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1657, allocations: 3.938 kB / 0.5619 GB, free: 6.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1657, allocations: 0 / 0.5619 GB, free: 6.988 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006738/0.1664, allocations: 450.9 kB / 0.5623 GB, free: 6.488 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1664, allocations: 8.031 kB / 0.5623 GB, free: 6.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.1665, allocations: 8.844 kB / 0.5624 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1667, allocations: 196.2 kB / 0.5625 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1667, allocations: 4.375 kB / 0.5625 GB, free: 6.238 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1668, allocations: 8.375 kB / 0.5626 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.1671, allocations: 121.8 kB / 0.5627 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1671, allocations: 0 / 0.5627 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1671, allocations: 0 / 0.5627 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1671, allocations: 8 kB / 0.5627 GB, free: 6.098 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.1675, allocations: 103.9 kB / 0.5628 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.1681, allocations: 340.7 kB / 0.5631 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.1684, allocations: 122.5 kB / 0.5632 GB, free: 5.484 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.1686, allocations: 80.94 kB / 0.5633 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1686, allocations: 0 / 0.5633 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003695/0.169, allocations: 135.3 kB / 0.5634 GB, free: 5.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.169, allocations: 0 / 0.5634 GB, free: 5.258 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007587/0.1698, allocations: 295.3 kB / 0.5637 GB, free: 4.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.1699, allocations: 89.09 kB / 0.5638 GB, free: 4.852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.17, allocations: 125.8 kB / 0.5639 GB, free: 4.719 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.17, allocations: 33.7 kB / 0.5639 GB, free: 4.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.1701, allocations: 96.14 kB / 0.564 GB, free: 4.582 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1701, allocations: 19.73 kB / 0.5641 GB, free: 4.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.1702, allocations: 17.72 kB / 0.5641 GB, free: 4.539 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1703, allocations: 322.8 kB / 0.5644 GB, free: 4.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1705, allocations: 83.83 kB / 0.5645 GB, free: 4.133 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.1707, allocations: 71.95 kB / 0.5645 GB, free: 4.062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.1711, allocations: 201.9 kB / 0.5647 GB, free: 3.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1711, allocations: 0 / 0.5647 GB, free: 3.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005237/0.1717, allocations: 272.8 kB / 0.565 GB, free: 3.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.894e-05/0.1717, allocations: 73.27 kB / 0.565 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1717, allocations: 4.062 kB / 0.5651 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1718, allocations: 0 / 0.5651 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1719, allocations: 15.98 kB / 0.5651 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1719, allocations: 3.938 kB / 0.5651 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.1721, allocations: 35.88 kB / 0.5651 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.1721, allocations: 8 kB / 0.5651 GB, free: 3.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001332/0.1723, allocations: 151.5 kB / 0.5653 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.1723, allocations: 4 kB / 0.5653 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.1723, allocations: 16.36 kB / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1723, allocations: 0 / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1723, allocations: 0 / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1723, allocations: 0 / 0.5653 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/0.1725, allocations: 201.5 kB / 0.5655 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1725, allocations: 4 kB / 0.5655 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.1726, allocations: 19.92 kB / 0.5655 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1726, allocations: 0 / 0.5655 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1727, allocations: 4 kB / 0.5655 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1727, allocations: 0 / 0.5655 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1727, allocations: 96 / 0.5655 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.1732, allocations: 262.6 kB / 0.5657 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1733, allocations: 88.95 kB / 0.5658 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.1733, allocations: 3.984 kB / 0.5658 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.1735, allocations: 31.98 kB / 0.5659 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.1736, allocations: 39.94 kB / 0.5659 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1736, allocations: 0 / 0.5659 GB, free: 2.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.423e-05/0.1737, allocations: 104.2 kB / 0.566 GB, free: 2.391 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1737, allocations: 0 / 0.566 GB, free: 2.391 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1739, allocations: 27.92 kB / 0.566 GB, free: 2.363 MB / 430.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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001208/0.1741, allocations: 107.2 kB / 0.5661 GB, free: 2.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005481/0.1746, allocations: 274.7 kB / 0.5664 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1746, allocations: 0 / 0.5664 GB, free: 1.957 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.1749, allocations: 155.3 kB / 0.5665 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.1752, allocations: 21.61 kB / 0.5666 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.1757, allocations: 249.3 kB / 0.5668 GB, free: 1.496 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.176, allocations: 0.6887 MB / 0.5675 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.432e-05/0.176, allocations: 4 kB / 0.5675 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.1761, allocations: 15.42 kB / 0.5675 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1761, allocations: 4 kB / 0.5675 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of Templates: time 0.004227/0.1803, allocations: 1.575 MB / 0.569 GB, free: 15.2 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)