Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.658/1.658, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 176.9 kB / 361.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.3 MB / 0.62 GB, free: 11.69 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009965/0.0009962, allocations: 85.05 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.788e-05, allocations: 4 kB / 0.8518 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7476/0.7476, allocations: 115.3 MB / 0.9644 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.9786, allocations: 138.8 MB / 1.1 GB, free: 1.027 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/0.9789, allocations: 91.94 kB / 1.1 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005224/0.9842, allocations: 1.499 MB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9842, allocations: 0 / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.9843, allocations: 6.125 kB / 1.101 GB, free: 15.47 MB / 0.7136 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.0006405/0.9849, allocations: 440.1 kB / 1.102 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.985, allocations: 8.031 kB / 1.102 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.985, allocations: 9.562 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.9853, allocations: 192.7 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.9853, allocations: 7.984 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.9854, allocations: 4.812 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001355/0.9855, allocations: 32 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.9857, allocations: 74.09 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.9857, allocations: 1.312 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.9857, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.9857, allocations: 4.938 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.9863, allocations: 308.7 kB / 1.103 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.9865, allocations: 47.09 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.9865, allocations: 40.45 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.9866, allocations: 0 / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.9868, allocations: 83.36 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.9868, allocations: 0 / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002833/0.9871, allocations: 99.38 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.9871, allocations: 77.11 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.9873, allocations: 120.8 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.9873, allocations: 29.7 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.9874, allocations: 96.03 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.9874, allocations: 19.69 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.9874, allocations: 0 / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.9876, allocations: 330.8 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.36e-05/0.9877, allocations: 31.94 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.113e-05/0.9877, allocations: 27.98 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.508e-05/0.9878, allocations: 23.98 kB / 1.104 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9878, allocations: 0 / 1.104 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002213/0.988, allocations: 109.5 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.458e-05/0.9881, allocations: 64.03 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.9881, allocations: 0 / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.9881, allocations: 0 / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.9883, allocations: 19.98 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.9884, allocations: 4 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.9885, allocations: 23.88 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.9885, allocations: 6.938 kB / 1.104 GB, free: 12.98 MB / 0.7136 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 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.9887, allocations: 138.9 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.9887, allocations: 7.906 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/0.9887, allocations: 16.62 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9888, allocations: 3.984 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.9888, allocations: 0 / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.9888, allocations: 3.75 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.9892, allocations: 343 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.9892, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.9893, allocations: 15.98 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9893, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.9893, allocations: 8 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9893, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.9893, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.9896, allocations: 205.1 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.9897, allocations: 89 kB / 1.105 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.9897, allocations: 4 kB / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.9899, allocations: 19.98 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.99, allocations: 19.97 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.99, allocations: 5.688 kB / 1.105 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.537e-05/0.9901, allocations: 101.8 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9901, allocations: 0 / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002559/0.9904, allocations: 19.94 kB / 1.105 GB, free: 11.92 MB / 0.7136 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001942/0.9906, allocations: 107 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.9909, allocations: 186.7 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9909, allocations: 4 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.991, allocations: 83.41 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.9912, allocations: 17.16 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000412/0.9917, allocations: 123.4 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.992, allocations: 0.6924 MB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.951e-05/0.9921, allocations: 11.98 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.9922, allocations: 15.42 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.9922, allocations: 2.906 kB / 1.106 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.003653/0.9959, allocations: 1.023 MB / 1.107 GB, free: 9.621 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)