Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001335/0.001335, allocations: 187.3 kB / 16.25 MB, free: 6.617 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.532/1.532, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 64.56 kB / 0.9115 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3472, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003105/0.3503, allocations: 1.57 MB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008059/0.3512, allocations: 450.8 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.3513, allocations: 0 / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.3514, allocations: 11.86 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.3515, allocations: 11.94 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.3517, allocations: 31.89 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.3518, allocations: 75.84 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.352, allocations: 24.16 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.3521, allocations: 43.8 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.813e-05/0.3522, allocations: 39.88 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.3522, allocations: 4 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.3522, allocations: 8 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.3523, allocations: 15.92 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.3524, allocations: 35.8 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3525, allocations: 68.06 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3525, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3525, allocations: 3.938 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.3526, allocations: 4 kB / 1.07 GB, free: 8.387 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007216/0.3533, allocations: 450.5 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.3533, allocations: 8.031 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.3534, allocations: 12.84 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.3536, allocations: 195.3 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.3536, allocations: 4.375 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.3536, allocations: 4.375 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.354, allocations: 101.8 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.354, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.354, allocations: 4 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.354, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.3543, allocations: 79.86 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.3549, allocations: 332.7 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.3552, allocations: 82.55 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.3554, allocations: 60.94 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3554, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003399/0.3557, allocations: 111.3 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.3558, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006515/0.3564, allocations: 207.2 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.3565, allocations: 85.05 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3566, allocations: 134.1 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.3567, allocations: 25.7 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.3567, allocations: 104 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.3568, allocations: 19.72 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.3568, allocations: 29.7 kB / 1.072 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.357, allocations: 326.8 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.3571, allocations: 47.97 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.3573, allocations: 47.95 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.3577, allocations: 170 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3577, allocations: 0 / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004437/0.3581, allocations: 208.9 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.3582, allocations: 67.39 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3582, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3582, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3584, allocations: 19.92 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3584, allocations: 0 / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.3585, allocations: 23.92 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.3586, allocations: 3.938 kB / 1.073 GB, free: 5.188 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 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.0001352/0.3587, allocations: 151.5 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.3587, allocations: 7.906 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.3588, allocations: 12.72 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3588, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3588, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3588, allocations: 3.984 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006161/0.3594, allocations: 440.1 kB / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3594, allocations: 0 / 1.073 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.002e-05/0.3595, allocations: 15.98 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3595, allocations: 0 / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.3596, allocations: 4 kB / 1.073 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.3596, allocations: 3.938 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3596, allocations: 0 / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.36, allocations: 265.1 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.3601, allocations: 84.95 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.3601, allocations: 8 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.3603, allocations: 19.91 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.3604, allocations: 15.98 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3604, allocations: 11.98 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.996e-05/0.3605, allocations: 100.8 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3605, allocations: 3.938 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002428/0.3607, allocations: 20 kB / 1.074 GB, free: 3.922 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,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.00011/0.3608, allocations: 104.7 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.3613, allocations: 222.7 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3613, allocations: 3.938 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.3616, allocations: 115.3 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.3619, allocations: 16 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.3624, allocations: 219.5 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3627, allocations: 0.6963 MB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.553e-05/0.3628, allocations: 15.77 kB / 1.075 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.3629, allocations: 15.42 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3629, allocations: 0 / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of Templates: time 0.003914/0.3668, allocations: 1.212 MB / 1.077 GB, free: 1.234 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)