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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001168, allocations: 186.6 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4505/0.4505, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 349.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009818/0.0009817, allocations: 102 kB / 420 MB, free: 8.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 51.92 kB / 0.4891 GB, free: 7.699 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3634, allocations: 70.06 MB / 0.5575 GB, free: 44.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002659/0.3661, allocations: 1.535 MB / 0.559 GB, free: 43.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006445/0.3668, allocations: 461.5 kB / 0.5594 GB, free: 43.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.3669, allocations: 3.938 kB / 0.5594 GB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.367, allocations: 3.984 kB / 0.5594 GB, free: 43.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.367, allocations: 10.78 kB / 0.5594 GB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.3672, allocations: 35.95 kB / 0.5595 GB, free: 43.15 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.3673, allocations: 87.7 kB / 0.5596 GB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.3675, allocations: 20.17 kB / 0.5596 GB, free: 43.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.3676, allocations: 39.91 kB / 0.5596 GB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.3677, allocations: 43.81 kB / 0.5597 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.3677, allocations: 4 kB / 0.5597 GB, free: 42.96 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.7e-05/0.3677, allocations: 4 kB / 0.5597 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.3678, allocations: 11.98 kB / 0.5597 GB, free: 42.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.3678, allocations: 35.8 kB / 0.5597 GB, free: 42.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3679, allocations: 79.75 kB / 0.5598 GB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.368, allocations: 0 / 0.5598 GB, free: 42.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.368, allocations: 0 / 0.5598 GB, free: 42.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.368, allocations: 4 kB / 0.5598 GB, free: 42.82 MB / 410.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.0005754/0.3685, allocations: 448.7 kB / 0.5602 GB, free: 42.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.3686, allocations: 12.03 kB / 0.5602 GB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.3686, allocations: 8.844 kB / 0.5602 GB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3688, allocations: 188.2 kB / 0.5604 GB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.3688, allocations: 8.375 kB / 0.5604 GB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.3688, allocations: 12.36 kB / 0.5604 GB, free: 42.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.3691, allocations: 121.7 kB / 0.5605 GB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3691, allocations: 0 / 0.5605 GB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3691, allocations: 4 kB / 0.5606 GB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3691, allocations: 4 kB / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000285/0.3694, allocations: 87.86 kB / 0.5606 GB, free: 41.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3699, allocations: 332.7 kB / 0.561 GB, free: 41.47 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.3702, allocations: 106.5 kB / 0.5611 GB, free: 41.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/0.3703, allocations: 72.94 kB / 0.5611 GB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3704, allocations: 0 / 0.5611 GB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003055/0.3707, allocations: 131.2 kB / 0.5613 GB, free: 41.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3707, allocations: 0 / 0.5613 GB, free: 41.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006096/0.3713, allocations: 275.4 kB / 0.5615 GB, free: 40.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.3713, allocations: 81.11 kB / 0.5616 GB, free: 40.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.3714, allocations: 137.7 kB / 0.5617 GB, free: 40.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3714, allocations: 29.7 kB / 0.5618 GB, free: 40.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.3715, allocations: 96.12 kB / 0.5618 GB, free: 40.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.3715, allocations: 15.81 kB / 0.5619 GB, free: 40.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.3716, allocations: 33.64 kB / 0.5619 GB, free: 40.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.3716, allocations: 318.8 kB / 0.5622 GB, free: 40.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3718, allocations: 71.94 kB / 0.5623 GB, free: 40.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.372, allocations: 71.95 kB / 0.5623 GB, free: 39.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.3722, allocations: 185.9 kB / 0.5625 GB, free: 39.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3722, allocations: 0 / 0.5625 GB, free: 39.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004009/0.3726, allocations: 256.8 kB / 0.5628 GB, free: 39.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.3727, allocations: 67.41 kB / 0.5628 GB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3727, allocations: 0 / 0.5628 GB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3727, allocations: 0 / 0.5628 GB, free: 39.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.3728, allocations: 15.98 kB / 0.5628 GB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3729, allocations: 0 / 0.5628 GB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.373, allocations: 27.91 kB / 0.5629 GB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.373, allocations: 4 kB / 0.5629 GB, free: 39.38 MB / 410.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 (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 8.552e-05/0.3731, allocations: 163.4 kB / 0.563 GB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.3731, allocations: 12 kB / 0.563 GB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.617e-05/0.3732, allocations: 16.31 kB / 0.563 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3732, allocations: 0 / 0.563 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3732, allocations: 0 / 0.563 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3732, allocations: 3.984 kB / 0.5631 GB, free: 39.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.289e-05/0.3733, allocations: 197.5 kB / 0.5632 GB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3733, allocations: 0 / 0.5632 GB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.109e-05/0.3734, allocations: 15.92 kB / 0.5633 GB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3734, allocations: 3.984 kB / 0.5633 GB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.3734, allocations: 4 kB / 0.5633 GB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3734, allocations: 4 kB / 0.5633 GB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3734, allocations: 0 / 0.5633 GB, free: 38.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.3741, allocations: 0.8715 MB / 0.5641 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.187e-05/0.3741, allocations: 81.02 kB / 0.5642 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.3742, allocations: 7.938 kB / 0.5642 GB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.3743, allocations: 23.97 kB / 0.5642 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.3744, allocations: 35.95 kB / 0.5643 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.3744, allocations: 4.062 kB / 0.5643 GB, free: 37.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.11e-05/0.3745, allocations: 99.97 kB / 0.5644 GB, free: 37.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3745, allocations: 0 / 0.5644 GB, free: 37.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002906/0.3748, allocations: 24 kB / 0.5644 GB, free: 37.67 MB / 410.7 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 8.704e-05/0.3749, allocations: 111.2 kB / 0.5645 GB, free: 37.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004209/0.3753, allocations: 266.6 kB / 0.5647 GB, free: 37.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3753, allocations: 0 / 0.5647 GB, free: 37.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.3755, allocations: 135.4 kB / 0.5649 GB, free: 37.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.3757, allocations: 22.66 kB / 0.5649 GB, free: 37.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.3763, allocations: 351.8 kB / 0.5652 GB, free: 36.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.3764, allocations: 0.6952 MB / 0.5659 GB, free: 36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.865e-05/0.3765, allocations: 15.97 kB / 0.5659 GB, free: 35.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.3765, allocations: 7.438 kB / 0.5659 GB, free: 35.98 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3765, allocations: 0 / 0.5659 GB, free: 35.98 MB / 410.7 MB Notification: Performance of Templates: time 0.003399/0.3799, allocations: 1.673 MB / 0.5676 GB, free: 34.32 MB / 410.7 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)