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.0008045/0.0008045, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.0009217/0.0009217, allocations: 163.7 kB / 24.97 MB, free: 8.656 MB / 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.9344/0.9344, allocations: 177.1 MB / 205.4 MB, free: 5.508 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.909/1.909, allocations: 389.6 MB / 0.6362 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.262e-06/1.262e-06, allocations: 0 / 0.776 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.118e-05, allocations: 5.547 kB / 0.776 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002189/0.00221, allocations: 1.623 MB / 0.7776 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.002933, allocations: 0.5099 MB / 0.7781 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.074e-05/0.002994, allocations: 0 / 0.7781 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.861e-05/0.003093, allocations: 13.33 kB / 0.7781 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.003141, allocations: 18.17 kB / 0.7781 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.003348, allocations: 40.78 kB / 0.7781 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.003481, allocations: 93.72 kB / 0.7782 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.133e-05/0.003562, allocations: 21.14 kB / 0.7782 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.003718, allocations: 51.91 kB / 0.7783 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.003787, allocations: 31.94 kB / 0.7783 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.003804, allocations: 4.531 kB / 0.7783 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.99e-05/0.003854, allocations: 12 kB / 0.7783 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.204e-05/0.003886, allocations: 17.08 kB / 0.7783 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.497e-05/0.003921, allocations: 27.91 kB / 0.7784 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.004043, allocations: 75.67 kB / 0.7784 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.004046, allocations: 1.375 kB / 0.7784 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004046, allocations: 0 / 0.7784 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.00405, allocations: 0 / 0.7784 GB, free: 2.898 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.0003856/0.004436, allocations: 344.8 kB / 0.7788 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.004469, allocations: 10.5 kB / 0.7788 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.004571, allocations: 16.92 kB / 0.7788 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.004696, allocations: 129.7 kB / 0.7789 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.004705, allocations: 4.375 kB / 0.7789 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.004715, allocations: 11.12 kB / 0.7789 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.004859, allocations: 108.5 kB / 0.779 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.004866, allocations: 192 / 0.779 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.004875, allocations: 4.375 kB / 0.779 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.00488, allocations: 3.938 kB / 0.779 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.004922, allocations: 45.69 kB / 0.7791 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.00526, allocations: 190.3 kB / 0.7793 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.861e-05/0.005349, allocations: 64.2 kB / 0.7793 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.005383, allocations: 42.56 kB / 0.7794 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.005396, allocations: 0 / 0.7794 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.005526, allocations: 105.1 kB / 0.7795 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.005527, allocations: 4 kB / 0.7795 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001541/0.005681, allocations: 154.8 kB / 0.7796 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.00571, allocations: 82.7 kB / 0.7797 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.005778, allocations: 134.6 kB / 0.7798 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.005792, allocations: 29.7 kB / 0.7799 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.039e-05/0.005832, allocations: 92.08 kB / 0.78 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.005847, allocations: 24.5 kB / 0.78 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.005891, allocations: 29.69 kB / 0.78 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.005965, allocations: 316.1 kB / 0.7803 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.006004, allocations: 67.39 kB / 0.7804 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.006042, allocations: 75.33 kB / 0.7804 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.006108, allocations: 112.8 kB / 0.7805 GB, free: 500 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.00611, allocations: 1.562 kB / 0.7805 GB, free: 500 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001066/0.006216, allocations: 176.4 kB / 0.7807 GB, free: 292 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.006252, allocations: 71.33 kB / 0.7808 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.006255, allocations: 0 / 0.7808 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.006267, allocations: 5.328 kB / 0.7808 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.818e-05/0.006335, allocations: 15.98 kB / 0.7808 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.006338, allocations: 4 kB / 0.7808 GB, free: 184 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.00639, allocations: 16.58 kB / 0.7808 GB, free: 168 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.006398, allocations: 1.125 kB / 0.7808 GB, free: 168 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.971e-05/0.006468, allocations: 150.4 kB / 0.781 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.006498, allocations: 13.05 kB / 0.781 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.006518, allocations: 16.72 kB / 0.781 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.006522, allocations: 3.984 kB / 0.781 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.006523, allocations: 0.5 kB / 0.781 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.069e-05/0.006533, allocations: 8.734 kB / 0.781 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.006547, allocations: 0 / 0.781 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.733e-05/0.006585, allocations: 12.48 kB / 0.781 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.006652, allocations: 28.94 kB / 0.7811 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001116/0.006763, allocations: 188.4 kB / 0.7812 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000134/0.006897, allocations: 297 kB / 0.7815 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.197e-05/0.006949, allocations: 63.52 kB / 0.7816 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.92e-05/0.006969, allocations: 27.92 kB / 0.7816 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of Backend: time 2.5e-07/0.006969, allocations: 0 / 0.7816 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.007267, allocations: 263.1 kB / 0.7819 GB, free: 15 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0008309/0.008098, allocations: 0.7851 MB / 0.7826 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.003265/0.01136, allocations: 1.733 MB / 0.7843 GB, free: 12.52 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.7961135264486074]