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.001219/0.001219, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 197.8 kB / 16.53 MB, free: 6.668 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.443/1.443, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 69.06 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3659, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002856/0.3688, allocations: 1.523 MB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.3697, allocations: 462.8 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.3698, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.3699, allocations: 3.938 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.448e-05/0.3699, allocations: 7.875 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.3702, allocations: 39.88 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.3703, allocations: 87.72 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3705, allocations: 24.16 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.3706, allocations: 35.92 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.3707, allocations: 43.81 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.3707, allocations: 8 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.535e-05/0.3708, allocations: 4 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.3708, allocations: 15.92 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.455e-05/0.3709, allocations: 35.8 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.371, allocations: 68.06 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.371, allocations: 3.938 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3711, allocations: 0 / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3711, allocations: 0 / 1.07 GB, free: 8.074 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.000695/0.3718, allocations: 460.4 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3718, allocations: 8.031 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.3719, allocations: 12.84 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.372, allocations: 184.2 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3721, allocations: 4.375 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3721, allocations: 8.359 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.3724, allocations: 101.6 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3724, allocations: 0 / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3724, allocations: 4 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3724, allocations: 4 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.3727, allocations: 71.92 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005518/0.3733, allocations: 332.6 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.3736, allocations: 90.5 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.3738, allocations: 56.94 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3738, allocations: 0 / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.3741, allocations: 99.34 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3741, allocations: 0 / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006192/0.3748, allocations: 211.2 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.3748, allocations: 81.11 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.3749, allocations: 130.1 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.375, allocations: 33.7 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.262e-05/0.375, allocations: 100 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.3751, allocations: 23.7 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.3751, allocations: 25.7 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.3752, allocations: 326.8 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.3754, allocations: 47.97 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3756, allocations: 47.95 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.3759, allocations: 173.8 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3759, allocations: 0 / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004315/0.3764, allocations: 213 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.3764, allocations: 63.39 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3764, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3764, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.3766, allocations: 11.98 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3766, allocations: 4 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.3767, allocations: 19.92 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.3768, allocations: 11.92 kB / 1.073 GB, free: 4.875 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.0001143/0.3769, allocations: 143.5 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.3769, allocations: 7.906 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.377, allocations: 16.7 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.377, allocations: 4 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.377, allocations: 0 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.377, allocations: 0 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005669/0.3776, allocations: 436.1 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.3776, allocations: 0 / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.3777, allocations: 15.98 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3777, allocations: 4 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3777, allocations: 0 / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.3777, allocations: 7.938 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3777, allocations: 0 / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.3781, allocations: 265 kB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.3782, allocations: 89.02 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3782, allocations: 4 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3784, allocations: 19.91 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3785, allocations: 19.98 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3785, allocations: 7.984 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.122e-05/0.3786, allocations: 100.7 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3786, allocations: 3.938 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002488/0.3788, allocations: 20 kB / 1.074 GB, free: 3.613 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.000116/0.379, allocations: 103.8 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004534/0.3794, allocations: 223.1 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3794, allocations: 0 / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.3797, allocations: 111.4 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.38, allocations: 25.28 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005159/0.3805, allocations: 206.8 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.3807, allocations: 0.6924 MB / 1.076 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.946e-05/0.3808, allocations: 23.7 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.3808, allocations: 15.42 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.3808, allocations: 0 / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of Templates: time 0.003912/0.3848, allocations: 1.302 MB / 1.077 GB, free: 0.8477 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)