Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_maint.7.0.x_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_maint.7.0.x_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.0009408/0.0009408, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009547/0.0009547, allocations: 192.1 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 251.7 MB / 0.5088 GB, free: 3.309 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.84 kB / 0.6216 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3523, allocations: 104.7 MB / 0.7238 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002459/0.3548, allocations: 1.585 MB / 0.7254 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000721/0.3555, allocations: 0.5032 MB / 0.7258 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.743e-05/0.3556, allocations: 0 / 0.7258 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.656e-05/0.3556, allocations: 3.938 kB / 0.7259 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.023e-05/0.3557, allocations: 11.92 kB / 0.7259 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.3558, allocations: 23.92 kB / 0.7259 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.3559, allocations: 79.75 kB / 0.726 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.356, allocations: 16.19 kB / 0.726 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.3561, allocations: 43.84 kB / 0.726 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.3562, allocations: 35.84 kB / 0.7261 GB, free: 11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.3562, allocations: 4 kB / 0.7261 GB, free: 11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.3563, allocations: 0 / 0.7261 GB, free: 11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.3563, allocations: 23.91 kB / 0.7261 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.438e-05/0.3564, allocations: 31.8 kB / 0.7261 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.3565, allocations: 65.88 kB / 0.7262 GB, free: 10.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3565, allocations: 4 kB / 0.7262 GB, free: 10.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.22e-07/0.3565, allocations: 0 / 0.7262 GB, free: 10.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.075e-06/0.3565, allocations: 0 / 0.7262 GB, free: 10.88 MB / 0.545 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.0005967/0.3571, allocations: 450.6 kB / 0.7266 GB, free: 10.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.3571, allocations: 8.031 kB / 0.7266 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.3572, allocations: 8.844 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.3574, allocations: 196.1 kB / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3574, allocations: 4.375 kB / 0.7268 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.3574, allocations: 4.375 kB / 0.7268 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.3577, allocations: 101.7 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.3577, allocations: 0 / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3577, allocations: 0 / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3577, allocations: 4 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.358, allocations: 71.94 kB / 0.727 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.3585, allocations: 332.6 kB / 0.7273 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.3587, allocations: 82.52 kB / 0.7274 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.3589, allocations: 52.95 kB / 0.7274 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3589, allocations: 4.094 kB / 0.7274 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.3592, allocations: 111.2 kB / 0.7275 GB, free: 9.301 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.3592, allocations: 0 / 0.7275 GB, free: 9.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005305/0.3597, allocations: 211.2 kB / 0.7277 GB, free: 9.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.3598, allocations: 81.11 kB / 0.7278 GB, free: 8.984 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.911e-05/0.3599, allocations: 130.1 kB / 0.7279 GB, free: 8.848 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3599, allocations: 25.7 kB / 0.728 GB, free: 8.816 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.3599, allocations: 99.98 kB / 0.7281 GB, free: 8.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.36, allocations: 23.73 kB / 0.7281 GB, free: 8.691 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.36, allocations: 25.72 kB / 0.7281 GB, free: 8.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.742e-05/0.3601, allocations: 326.8 kB / 0.7284 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3603, allocations: 51.95 kB / 0.7285 GB, free: 8.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.3604, allocations: 47.91 kB / 0.7285 GB, free: 8.234 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/0.3607, allocations: 170.1 kB / 0.7287 GB, free: 8.047 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3607, allocations: 0 / 0.7287 GB, free: 8.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003795/0.3611, allocations: 216.8 kB / 0.7289 GB, free: 7.816 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.3611, allocations: 55.41 kB / 0.7289 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.3611, allocations: 4 kB / 0.7289 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/0.3612, allocations: 0 / 0.7289 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3613, allocations: 15.97 kB / 0.729 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.3613, allocations: 4 kB / 0.729 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3614, allocations: 23.89 kB / 0.729 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.3614, allocations: 7.938 kB / 0.729 GB, free: 7.695 MB / 0.545 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 9.349e-05/0.3615, allocations: 155.5 kB / 0.7291 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.3615, allocations: 7.906 kB / 0.7292 GB, free: 7.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.3616, allocations: 8.719 kB / 0.7292 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3616, allocations: 0 / 0.7292 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3616, allocations: 4 kB / 0.7292 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3616, allocations: 0 / 0.7292 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.3621, allocations: 436.1 kB / 0.7296 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3621, allocations: 0 / 0.7296 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.445e-05/0.3622, allocations: 23.92 kB / 0.7296 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3622, allocations: 0 / 0.7296 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3622, allocations: 3.984 kB / 0.7296 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.3622, allocations: 3.938 kB / 0.7296 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3622, allocations: 0 / 0.7296 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.3626, allocations: 269.1 kB / 0.7299 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.3626, allocations: 89.02 kB / 0.73 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3627, allocations: 0 / 0.73 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3628, allocations: 19.91 kB / 0.73 GB, free: 6.578 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.898e-05/0.3629, allocations: 23.97 kB / 0.73 GB, free: 6.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3629, allocations: 4 kB / 0.73 GB, free: 6.551 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.532e-05/0.363, allocations: 106.5 kB / 0.7301 GB, free: 6.449 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.363, allocations: 0 / 0.7301 GB, free: 6.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002154/0.3632, allocations: 23.98 kB / 0.7301 GB, free: 6.426 MB / 0.545 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 8.45e-05/0.3633, allocations: 103.2 kB / 0.7302 GB, free: 6.316 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.3637, allocations: 222.7 kB / 0.7304 GB, free: 6.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3637, allocations: 0 / 0.7304 GB, free: 6.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.3639, allocations: 119.5 kB / 0.7305 GB, free: 5.945 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.3641, allocations: 9.062 kB / 0.7306 GB, free: 5.938 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.3645, allocations: 220.8 kB / 0.7308 GB, free: 5.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.3647, allocations: 0.6887 MB / 0.7314 GB, free: 4.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.995e-05/0.3648, allocations: 11.98 kB / 0.7315 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.3648, allocations: 11.44 kB / 0.7315 GB, free: 4.961 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.3648, allocations: 4 kB / 0.7315 GB, free: 4.957 MB / 0.545 GB Notification: Performance of Templates: time 0.0027/0.3675, allocations: 1.149 MB / 0.7326 GB, free: 3.848 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)