Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 161 kB / 24.16 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9128/0.9128, allocations: 177.1 MB / 204.6 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.866/1.866, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7751 GB, free: 5.441 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.687e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002043/0.00206, allocations: 1.584 MB / 0.7767 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006404/0.002701, allocations: 0.5028 MB / 0.7772 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.002753, allocations: 3.938 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.677e-05/0.00284, allocations: 4.812 kB / 0.7772 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.002896, allocations: 23.45 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.003101, allocations: 40.92 kB / 0.7773 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.003225, allocations: 89.12 kB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.003305, allocations: 19.95 kB / 0.7774 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.003454, allocations: 63.81 kB / 0.7774 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.003516, allocations: 26.41 kB / 0.7774 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.003532, allocations: 4 kB / 0.7775 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.348e-05/0.003566, allocations: 15.94 kB / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.032e-05/0.003596, allocations: 11.98 kB / 0.7775 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.003632, allocations: 27.91 kB / 0.7775 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.003742, allocations: 71.73 kB / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003743, allocations: 0 / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.12e-07/0.003744, allocations: 1.062 kB / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.003746, allocations: 0 / 0.7776 GB, free: 2.98 MB / 0.7292 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.0003805/0.004127, allocations: 346.8 kB / 0.7779 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.004155, allocations: 8.75 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.004256, allocations: 16.92 kB / 0.7779 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.004385, allocations: 133.6 kB / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.004396, allocations: 4.375 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.00441, allocations: 8.375 kB / 0.7781 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.004541, allocations: 111.3 kB / 0.7782 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.004548, allocations: 192 / 0.7782 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.004556, allocations: 4.375 kB / 0.7782 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.83e-06/0.004562, allocations: 7.875 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.873e-05/0.004601, allocations: 45.64 kB / 0.7782 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.004845, allocations: 183 kB / 0.7784 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.442e-05/0.00492, allocations: 74.59 kB / 0.7785 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.00495, allocations: 42.55 kB / 0.7785 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.00496, allocations: 0 / 0.7785 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/0.005063, allocations: 105.1 kB / 0.7786 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.093e-06/0.005064, allocations: 0.625 kB / 0.7786 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001455/0.00521, allocations: 150.8 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.005242, allocations: 85.73 kB / 0.7788 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.51e-05/0.005307, allocations: 137.7 kB / 0.779 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.005319, allocations: 30.48 kB / 0.779 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.005356, allocations: 96.06 kB / 0.7791 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.00537, allocations: 20.39 kB / 0.7791 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.005406, allocations: 30.56 kB / 0.7791 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.005474, allocations: 322.8 kB / 0.7795 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.593e-05/0.00551, allocations: 59.41 kB / 0.7795 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.005545, allocations: 71.95 kB / 0.7796 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.494e-05/0.00561, allocations: 121.3 kB / 0.7797 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005612, allocations: 0 / 0.7797 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001051/0.005717, allocations: 185.1 kB / 0.7799 GB, free: 356 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.005746, allocations: 59.41 kB / 0.7799 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.005749, allocations: 1.438 kB / 0.7799 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.005761, allocations: 4 kB / 0.7799 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.005823, allocations: 11.98 kB / 0.7799 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.005826, allocations: 8.594 kB / 0.78 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.005876, allocations: 16.42 kB / 0.78 GB, free: 244 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.005884, allocations: 0 / 0.78 GB, free: 244 kB / 0.7292 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 6.786e-05/0.005952, allocations: 152.1 kB / 0.7801 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.005965, allocations: 7.938 kB / 0.7801 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.005985, allocations: 20.77 kB / 0.7801 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.005987, allocations: 0.8125 kB / 0.7801 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.005988, allocations: 0 / 0.7801 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.005991, allocations: 0 / 0.7801 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.006164, allocations: 279.2 kB / 0.7804 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.006165, allocations: 0 / 0.7804 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.0062, allocations: 25.2 kB / 0.7804 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006201, allocations: 0 / 0.7804 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.006207, allocations: 0 / 0.7804 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006208, allocations: 0.875 kB / 0.7804 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.00621, allocations: 0 / 0.7804 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.843e-05/0.006308, allocations: 214.9 kB / 0.7806 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.006316, allocations: 8.453 kB / 0.7806 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.006332, allocations: 4.75 kB / 0.7806 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/0.006389, allocations: 13.73 kB / 0.7807 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.006446, allocations: 19.97 kB / 0.7807 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.006453, allocations: 4 kB / 0.7807 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.045e-05/0.006474, allocations: 28.77 kB / 0.7807 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006474, allocations: 0 / 0.7807 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001268/0.0066, allocations: 28.45 kB / 0.7807 GB, free: 15.38 MB / 0.7448 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 7.178e-05/0.006672, allocations: 81.44 kB / 0.7808 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.006818, allocations: 241 kB / 0.781 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.00682, allocations: 0.5312 kB / 0.781 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.892e-05/0.006879, allocations: 115 kB / 0.7812 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.007012, allocations: 16.17 kB / 0.7812 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.007439, allocations: 231.9 kB / 0.7814 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.586e-05/0.007475, allocations: 63.34 kB / 0.7815 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.796e-05/0.007503, allocations: 5.094 kB / 0.7815 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.00757, allocations: 68.39 kB / 0.7815 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.00757, allocations: 0 / 0.7815 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of Templates: time 0.002723/0.01029, allocations: 1.42 MB / 0.7829 GB, free: 13.1 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.7163763153366745]