Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002801/0.002801, allocations: 361.7 kB / 16.59 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.645/1.645, allocations: 165.8 MB / 183.1 MB, free: 5.406 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.071/4.071, allocations: 410.8 MB / 0.6001 GB, free: 15.04 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001903/0.001902, allocations: 190.3 kB / 0.6668 GB, free: 6.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00069/0.0006903, allocations: 8 kB / 0.7429 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4435, allocations: 67.45 MB / 0.8087 GB, free: 28.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.001854/0.4454, allocations: 1.173 MB / 0.8099 GB, free: 27.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009169/0.4464, allocations: 473.2 kB / 0.8103 GB, free: 27.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.442e-05/0.4465, allocations: 0 / 0.8103 GB, free: 27.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 8.02e-05/0.4466, allocations: 11.92 kB / 0.8103 GB, free: 27.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 5.826e-05/0.4466, allocations: 15.88 kB / 0.8104 GB, free: 27.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.4469, allocations: 23.95 kB / 0.8104 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.447, allocations: 79.77 kB / 0.8105 GB, free: 26.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.4471, allocations: 12.17 kB / 0.8105 GB, free: 26.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.4473, allocations: 35.84 kB / 0.8105 GB, free: 26.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.4474, allocations: 43.88 kB / 0.8105 GB, free: 26.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.4474, allocations: 4 kB / 0.8106 GB, free: 26.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.111e-05/0.4474, allocations: 7.938 kB / 0.8106 GB, free: 26.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.4475, allocations: 15.92 kB / 0.8106 GB, free: 26.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.4475, allocations: 33.7 kB / 0.8106 GB, free: 26.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.4476, allocations: 54.02 kB / 0.8107 GB, free: 26.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4477, allocations: 0 / 0.8107 GB, free: 26.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4477, allocations: 0 / 0.8107 GB, free: 26.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.4477, allocations: 0 / 0.8107 GB, free: 26.78 MB / 378.7 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.0007441/0.4484, allocations: 442.4 kB / 0.8111 GB, free: 26.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4485, allocations: 12.03 kB / 0.8111 GB, free: 26.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.4486, allocations: 7.906 kB / 0.8111 GB, free: 26.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.4487, allocations: 186.9 kB / 0.8113 GB, free: 26.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.4488, allocations: 11.98 kB / 0.8113 GB, free: 26.04 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.4488, allocations: 4 kB / 0.8113 GB, free: 26.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.4493, allocations: 129.6 kB / 0.8114 GB, free: 25.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.4493, allocations: 4 kB / 0.8114 GB, free: 25.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.4493, allocations: 0 / 0.8114 GB, free: 25.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.4493, allocations: 0 / 0.8114 GB, free: 25.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005176/0.4499, allocations: 103.9 kB / 0.8115 GB, free: 25.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006726/0.4506, allocations: 352.6 kB / 0.8119 GB, free: 25.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.4511, allocations: 118.5 kB / 0.812 GB, free: 25.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.4514, allocations: 80.94 kB / 0.812 GB, free: 25.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.4514, allocations: 0 / 0.812 GB, free: 25.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004689/0.4519, allocations: 131.3 kB / 0.8122 GB, free: 25.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.4519, allocations: 3.938 kB / 0.8122 GB, free: 25.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.001108/0.453, allocations: 299.2 kB / 0.8125 GB, free: 24.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.4531, allocations: 89.17 kB / 0.8125 GB, free: 24.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.4532, allocations: 121.8 kB / 0.8127 GB, free: 24.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.4533, allocations: 33.7 kB / 0.8127 GB, free: 24.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.4534, allocations: 96.05 kB / 0.8128 GB, free: 24.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.4535, allocations: 19.8 kB / 0.8128 GB, free: 24.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.959e-05/0.4535, allocations: 4 kB / 0.8128 GB, free: 24.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4537, allocations: 322.8 kB / 0.8131 GB, free: 24.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.454, allocations: 75.94 kB / 0.8132 GB, free: 23.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.4544, allocations: 67.95 kB / 0.8133 GB, free: 23.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/0.4547, allocations: 119.3 kB / 0.8134 GB, free: 23.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4547, allocations: 0 / 0.8134 GB, free: 23.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007776/0.4555, allocations: 276.9 kB / 0.8136 GB, free: 23.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.318e-05/0.4556, allocations: 67.39 kB / 0.8137 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4556, allocations: 0 / 0.8137 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4556, allocations: 0 / 0.8137 GB, free: 23.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.4558, allocations: 23.92 kB / 0.8137 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.4558, allocations: 0 / 0.8137 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.4561, allocations: 39.91 kB / 0.8138 GB, free: 23.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.4562, allocations: 4 kB / 0.8138 GB, free: 23.32 MB / 378.7 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 ($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.0001242/0.4563, allocations: 151.5 kB / 0.8139 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.4563, allocations: 15.95 kB / 0.8139 GB, free: 23.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.567e-05/0.4564, allocations: 16.3 kB / 0.8139 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4564, allocations: 0 / 0.8139 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4564, allocations: 0 / 0.8139 GB, free: 23.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.243e-05/0.4564, allocations: 89.02 kB / 0.814 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.548e-05/0.4565, allocations: 0 / 0.814 GB, free: 23.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.4567, allocations: 28.22 kB / 0.814 GB, free: 22.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/0.4569, allocations: 39.95 kB / 0.8141 GB, free: 22.95 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009457/0.4579, allocations: 381.9 kB / 0.8144 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007728/0.4587, allocations: 408.3 kB / 0.8148 GB, free: 22.13 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003319/0.459, allocations: 87.95 kB / 0.8149 GB, free: 22.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.171e-05/0.4591, allocations: 100.1 kB / 0.815 GB, free: 21.95 MB / 378.7 MB Notification: Performance of Backend: time 7.31e-07/0.4591, allocations: 0 / 0.815 GB, free: 21.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007773/0.4599, allocations: 289.1 kB / 0.8153 GB, free: 21.64 MB / 378.7 MB Notification: Performance of SimCode: time 0.0005911/0.4605, allocations: 0.6951 MB / 0.816 GB, free: 20.88 MB / 378.7 MB Notification: Performance of Templates: time 0.005784/0.4663, allocations: 1.702 MB / 0.8176 GB, free: 19.2 MB / 378.7 MB