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.001198/0.001198, allocations: 104.1 kB / 16.52 MB, free: 6.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 195.2 kB / 17.45 MB, free: 6.051 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7027/0.7027, allocations: 115.3 MB / 406.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 59.91 kB / 493.5 MB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3602, allocations: 76.17 MB / 0.5564 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.NumberOfRequests): time 0.002477/0.3627, allocations: 1.529 MB / 0.5579 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006534/0.3634, allocations: 467.9 kB / 0.5583 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.947e-05/0.3635, allocations: 0 / 0.5583 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.656e-05/0.3636, allocations: 6.469 kB / 0.5583 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.411e-05/0.3636, allocations: 7.469 kB / 0.5583 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.3638, allocations: 37.88 kB / 0.5584 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.3639, allocations: 87.81 kB / 0.5584 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.25e-05/0.364, allocations: 14.42 kB / 0.5585 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3641, allocations: 48.45 kB / 0.5585 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.3642, allocations: 39.08 kB / 0.5585 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.3642, allocations: 3.25 kB / 0.5585 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.916e-05/0.3642, allocations: 9.812 kB / 0.5585 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.3643, allocations: 10.69 kB / 0.5586 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.3644, allocations: 38.55 kB / 0.5586 GB, free: 34.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.936e-05/0.3644, allocations: 53.86 kB / 0.5586 GB, free: 34.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3645, allocations: 4.594 kB / 0.5587 GB, free: 34.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3645, allocations: 0 / 0.5587 GB, free: 34.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.3645, allocations: 0.75 kB / 0.5587 GB, free: 34.8 MB / 446.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.0005805/0.3651, allocations: 443.4 kB / 0.5591 GB, free: 34.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.3651, allocations: 12.69 kB / 0.5591 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.3651, allocations: 12.59 kB / 0.5591 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3653, allocations: 191.4 kB / 0.5593 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3653, allocations: 3.531 kB / 0.5593 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3653, allocations: 7.625 kB / 0.5593 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.3656, allocations: 121.4 kB / 0.5594 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3656, allocations: 1.375 kB / 0.5594 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.3657, allocations: 5.453 kB / 0.5594 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3657, allocations: 1.062 kB / 0.5594 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.366, allocations: 85.16 kB / 0.5595 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.3664, allocations: 342 kB / 0.5598 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.3667, allocations: 109.5 kB / 0.5599 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.3669, allocations: 73.31 kB / 0.56 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.3669, allocations: 0 / 0.56 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003019/0.3672, allocations: 124.5 kB / 0.5601 GB, free: 33.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.3673, allocations: 0 / 0.5601 GB, free: 33.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007028/0.368, allocations: 276.4 kB / 0.5604 GB, free: 33.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.368, allocations: 86.58 kB / 0.5605 GB, free: 33.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.3681, allocations: 130.5 kB / 0.5606 GB, free: 33.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3681, allocations: 31.45 kB / 0.5606 GB, free: 33.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.3682, allocations: 94.72 kB / 0.5607 GB, free: 33.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.3682, allocations: 21.75 kB / 0.5607 GB, free: 33.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.586e-05/0.3683, allocations: 31.69 kB / 0.5608 GB, free: 33.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.018e-05/0.3683, allocations: 325.7 kB / 0.5611 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.3685, allocations: 62.73 kB / 0.5611 GB, free: 32.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.3687, allocations: 67.88 kB / 0.5612 GB, free: 32.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003108/0.369, allocations: 184.1 kB / 0.5614 GB, free: 32.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.369, allocations: 0 / 0.5614 GB, free: 32.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004595/0.3695, allocations: 263.9 kB / 0.5616 GB, free: 32.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/0.3695, allocations: 63.39 kB / 0.5617 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.3695, allocations: 1.094 kB / 0.5617 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3696, allocations: 0 / 0.5617 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.3697, allocations: 18.36 kB / 0.5617 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3697, allocations: 1.75 kB / 0.5617 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.3699, allocations: 24.78 kB / 0.5617 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.3699, allocations: 5.781 kB / 0.5617 GB, free: 32.46 MB / 446.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 8.525e-05/0.37, allocations: 161.7 kB / 0.5619 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.37, allocations: 9.781 kB / 0.5619 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.37, allocations: 13.45 kB / 0.5619 GB, free: 32.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.37, allocations: 5.594 kB / 0.5619 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.37, allocations: 0 / 0.5619 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3701, allocations: 3.281 kB / 0.5619 GB, free: 32.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.3702, allocations: 196 kB / 0.5621 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3702, allocations: 0 / 0.5621 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.825e-05/0.3703, allocations: 13.02 kB / 0.5621 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3703, allocations: 1.344 kB / 0.5621 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3703, allocations: 7.016 kB / 0.5621 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3703, allocations: 2.281 kB / 0.5621 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3703, allocations: 0.6562 kB / 0.5621 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.3708, allocations: 251.9 kB / 0.5624 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.3708, allocations: 83.67 kB / 0.5624 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.3708, allocations: 4.297 kB / 0.5625 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.371, allocations: 23.09 kB / 0.5625 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.3711, allocations: 38.33 kB / 0.5625 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.3711, allocations: 7.281 kB / 0.5625 GB, free: 31.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.518e-05/0.3712, allocations: 102.8 kB / 0.5626 GB, free: 31.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.3712, allocations: 3.188 kB / 0.5626 GB, free: 31.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.3714, allocations: 29.44 kB / 0.5626 GB, free: 31.73 MB / 446.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 7.302e-05/0.3715, allocations: 102 kB / 0.5627 GB, free: 31.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004737/0.372, allocations: 264.7 kB / 0.563 GB, free: 31.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.372, allocations: 2.156 kB / 0.563 GB, free: 31.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.3722, allocations: 136.5 kB / 0.5631 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.3724, allocations: 16.36 kB / 0.5631 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.3729, allocations: 262 kB / 0.5634 GB, free: 31.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.373, allocations: 0.6913 MB / 0.5641 GB, free: 30.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.3731, allocations: 10.69 kB / 0.5641 GB, free: 30.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3731, allocations: 0.5 kB / 0.5641 GB, free: 30.48 MB / 446.1 MB Notification: Performance of Templates: time 0.00317/0.3763, allocations: 1.424 MB / 0.5655 GB, free: 30.43 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)