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 4.987/4.987, allocations: 0.5623 GB / 0.5776 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002641/0.002641, allocations: 351.9 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.224/4.224, allocations: 410.7 MB / 1.113 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002107/0.002107, allocations: 173.4 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004917, allocations: 12 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/0.7275, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001731/0.7293, allocations: 1.192 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008516/0.7301, allocations: 478.9 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.7302, allocations: 0.875 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.261e-05/0.7303, allocations: 3.938 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.7304, allocations: 17.05 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.7306, allocations: 27.95 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.7307, allocations: 80.52 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.987e-05/0.7308, allocations: 9.484 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.7309, allocations: 31.92 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.703e-05/0.731, allocations: 44.59 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.7311, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.102e-05/0.7311, allocations: 5.75 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.7312, allocations: 11.92 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.7312, allocations: 37.7 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.736e-05/0.7313, allocations: 53.95 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7313, allocations: 4.891 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7313, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.7314, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 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.000723/0.7321, allocations: 441.8 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.7321, allocations: 15.62 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.7322, allocations: 11.89 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.7324, allocations: 186.9 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.7324, allocations: 4.625 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.7324, allocations: 8 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004278/0.7329, allocations: 120.1 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.7329, allocations: 0 / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.7329, allocations: 8.688 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.733, allocations: 0 / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000524/0.7335, allocations: 103.4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.7341, allocations: 348.6 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.7347, allocations: 117.2 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.735, allocations: 81.47 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.735, allocations: 0.5 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004436/0.7355, allocations: 138 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 3.527e-06/0.7355, allocations: 1.734 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.001079/0.7366, allocations: 303.1 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.7366, allocations: 91.22 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.7367, allocations: 125.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.7368, allocations: 29.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.159e-05/0.7368, allocations: 100.1 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.7369, allocations: 19.8 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.482e-05/0.7369, allocations: 5.281 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.737, allocations: 318.8 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.7373, allocations: 70.64 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.7376, allocations: 73.73 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.7379, allocations: 118.6 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.738, allocations: 96 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007687/0.7387, allocations: 274.6 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.7388, allocations: 63.41 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7388, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7388, allocations: 8.609 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.739, allocations: 20.92 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.7391, allocations: 7.953 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.7393, allocations: 33.27 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.7394, allocations: 9.297 kB / 1.466 GB, free: 278.9 MB / 0.8542 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.0001175/0.7395, allocations: 148.4 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.7395, allocations: 11.91 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.7396, allocations: 13.33 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7396, allocations: 0 / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7396, allocations: 1.547 kB / 1.467 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.7397, allocations: 89.59 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.7397, allocations: 4 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.74, allocations: 30.75 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.7401, allocations: 35.95 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000943/0.7411, allocations: 374.3 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007757/0.7419, allocations: 405.5 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003345/0.7422, allocations: 88.31 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.923e-05/0.7423, allocations: 100.2 kB / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of Backend: time 6.42e-07/0.7423, allocations: 0 / 1.468 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007657/0.7431, allocations: 287.9 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0005489/0.7437, allocations: 0.691 MB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.00541/0.7491, allocations: 1.709 MB / 1.47 GB, free: 274.9 MB / 0.8542 GB