Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests") translateModel(Buildings.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001165/0.001165, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.0108/0.0108, allocations: 168.6 kB / 16.26 MB, free: 6.648 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.54/1.54, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 473.4 MB / 0.7469 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006443/0.0006443, allocations: 15.8 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3679, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.NumberOfRequests): time 0.001781/0.3697, allocations: 1.2 MB / 1.075 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008145/0.3706, allocations: 459 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.3706, allocations: 0 / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.525e-05/0.3708, allocations: 7.922 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.3708, allocations: 19.86 kB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.371, allocations: 23.97 kB / 1.076 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3711, allocations: 83.77 kB / 1.076 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3712, allocations: 24.16 kB / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3714, allocations: 43.83 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.126e-05/0.3715, allocations: 35.83 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3715, allocations: 4 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.3715, allocations: 4 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.3716, allocations: 15.92 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.3717, allocations: 57.56 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.3718, allocations: 75.75 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3718, allocations: 4 kB / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3718, allocations: 0 / 1.076 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3718, allocations: 0 / 1.076 GB, free: 5.469 MB / 0.8262 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.0006691/0.3725, allocations: 438.9 kB / 1.077 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3725, allocations: 12.03 kB / 1.077 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.3726, allocations: 8.844 kB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.3728, allocations: 196.1 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.3728, allocations: 4.375 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.3729, allocations: 12.38 kB / 1.077 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.3732, allocations: 125.7 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.3732, allocations: 0 / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3732, allocations: 4 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3733, allocations: 8 kB / 1.077 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.3736, allocations: 103.9 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.3742, allocations: 340.6 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.3745, allocations: 118.5 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.3747, allocations: 76.94 kB / 1.078 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.3748, allocations: 4 kB / 1.078 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000347/0.3751, allocations: 131.3 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.614e-06/0.3751, allocations: 4 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0007821/0.3759, allocations: 295.2 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.376, allocations: 89.09 kB / 1.078 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3761, allocations: 129.8 kB / 1.078 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3761, allocations: 33.7 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.981e-05/0.3762, allocations: 96.12 kB / 1.078 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.3762, allocations: 19.75 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.3763, allocations: 17.7 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3764, allocations: 318.8 kB / 1.079 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.3766, allocations: 71.95 kB / 1.079 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.3768, allocations: 79.94 kB / 1.079 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.3772, allocations: 205.8 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3772, allocations: 0 / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005181/0.3777, allocations: 269 kB / 1.079 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.708e-05/0.3778, allocations: 71.39 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3778, allocations: 0 / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3778, allocations: 0 / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.378, allocations: 19.92 kB / 1.079 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.378, allocations: 0 / 1.079 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.3782, allocations: 35.97 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.3782, allocations: 4 kB / 1.079 GB, free: 1.902 MB / 0.8262 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 (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 0.0001347/0.3783, allocations: 159.5 kB / 1.079 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.3784, allocations: 11.98 kB / 1.079 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.3784, allocations: 16.31 kB / 1.079 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3784, allocations: 0 / 1.079 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3784, allocations: 0 / 1.079 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3784, allocations: 0 / 1.079 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.3786, allocations: 197.5 kB / 1.08 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3786, allocations: 4.25 kB / 1.08 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.335e-05/0.3787, allocations: 19.98 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3787, allocations: 3.938 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.3787, allocations: 7.984 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3787, allocations: 0 / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3787, allocations: 0 / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005181/0.3793, allocations: 262.6 kB / 1.08 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.3793, allocations: 88.95 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.3794, allocations: 4 kB / 1.08 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.3795, allocations: 31.97 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.3797, allocations: 35.95 kB / 1.08 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.3797, allocations: 4 kB / 1.08 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.282e-05/0.3798, allocations: 98.08 kB / 1.08 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3798, allocations: 0 / 1.08 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002109/0.38, allocations: 31.94 kB / 1.08 GB, free: 0.8398 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001125/0.3801, allocations: 99.25 kB / 1.08 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005447/0.3807, allocations: 282.6 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3807, allocations: 0 / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.3809, allocations: 151.3 kB / 1.081 GB, free: 280 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3812, allocations: 17.66 kB / 1.081 GB, free: 264 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.3817, allocations: 241.1 kB / 1.081 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.382, allocations: 0.6926 MB / 1.082 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.218e-05/0.382, allocations: 11.98 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.3821, allocations: 7.438 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of SimCode: time 5.11e-07/0.3821, allocations: 4 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of Templates: time 0.004278/0.3864, allocations: 1.577 MB / 1.083 GB, free: 13.68 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.sim & ./Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)