Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.NumberOfRequests.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.598/2.598, allocations: 287.9 MB / 302.9 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00142/0.00142, allocations: 181.2 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 92.73 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004751, allocations: 11.41 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1544, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001478/0.1559, allocations: 1.183 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007615/0.1567, allocations: 481.1 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.1568, allocations: 4 kB / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.897e-05/0.1568, allocations: 3.984 kB / 0.9804 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.88e-05/0.1569, allocations: 11.92 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.1571, allocations: 19.97 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.357e-05/0.1572, allocations: 63.84 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.1573, allocations: 12.19 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1574, allocations: 35.91 kB / 0.9805 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.1575, allocations: 35.88 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1576, allocations: 4 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.889e-05/0.1576, allocations: 7.938 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.016e-05/0.1576, allocations: 11.98 kB / 0.9806 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.1577, allocations: 41.64 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.933e-05/0.1578, allocations: 56.06 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1578, allocations: 4 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.915e-06/0.1578, allocations: 0 / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.281e-06/0.1578, allocations: 0 / 0.9807 GB, free: 26.2 MB / 0.6198 GB 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.0005556/0.1584, allocations: 438.5 kB / 0.9811 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1584, allocations: 12.02 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.1585, allocations: 15.91 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.1587, allocations: 194.8 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1587, allocations: 4 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.1587, allocations: 8 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.1591, allocations: 117.6 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.76e-06/0.1591, allocations: 3.984 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.1591, allocations: 8 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.171e-06/0.1591, allocations: 3.938 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.1595, allocations: 99.92 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.1601, allocations: 336.8 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.1605, allocations: 122.5 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.1605, allocations: 0 / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003584/0.1609, allocations: 139.5 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.598e-06/0.1609, allocations: 0 / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.000827/0.1617, allocations: 303 kB / 0.9824 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.1618, allocations: 85.11 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.175e-05/0.1619, allocations: 128.2 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1619, allocations: 33.7 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.162, allocations: 100 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.486e-05/0.162, allocations: 15.75 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.162, allocations: 4 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.1621, allocations: 330.8 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.1623, allocations: 67.95 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.1626, allocations: 75.95 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.1628, allocations: 111.4 kB / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1628, allocations: 0 / 0.9833 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006159/0.1634, allocations: 276.8 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.625e-05/0.1635, allocations: 65.11 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1635, allocations: 4 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1635, allocations: 0 / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.1637, allocations: 15.98 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.912e-06/0.1637, allocations: 3.953 kB / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1639, allocations: 35.97 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.164, allocations: 7.984 kB / 0.9837 GB, free: 22.83 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.000111/0.1641, allocations: 155.5 kB / 0.9838 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1641, allocations: 7.906 kB / 0.9838 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.916e-05/0.1641, allocations: 12.62 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.106e-06/0.1642, allocations: 0 / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.881e-06/0.1642, allocations: 8 kB / 0.9839 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.522e-06/0.1642, allocations: 3.953 kB / 0.9839 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.1643, allocations: 189.6 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.292e-06/0.1644, allocations: 0 / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.1645, allocations: 16.08 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.793e-06/0.1645, allocations: 7.875 kB / 0.9841 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.1645, allocations: 3.984 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.772e-06/0.1645, allocations: 4 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-06/0.1645, allocations: 0 / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.1651, allocations: 266.6 kB / 0.9843 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.1652, allocations: 88.95 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.1652, allocations: 4 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.1654, allocations: 27.97 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.1656, allocations: 35.95 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.1656, allocations: 4 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.5e-05/0.1657, allocations: 95.27 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.65e-07/0.1657, allocations: 4 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002852/0.166, allocations: 28 kB / 0.9846 GB, free: 21.78 MB / 0.6198 GB 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 (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.0001037/0.1661, allocations: 107.1 kB / 0.9847 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005601/0.1667, allocations: 282.7 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1667, allocations: 0 / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000286/0.167, allocations: 143.3 kB / 0.9851 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.1672, allocations: 15.98 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.1677, allocations: 241.1 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.1679, allocations: 0.6887 MB / 0.986 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.849e-05/0.168, allocations: 16.17 kB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.168, allocations: 7.438 kB / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.493e-06/0.168, allocations: 0 / 0.986 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.004424/0.1725, allocations: 1.534 MB / 0.9875 GB, free: 18.67 MB / 0.6198 GB