Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001566/0.001566, allocations: 108 kB / 16.38 MB, free: 6.484 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.001842/0.001842, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.427/1.427, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.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.001389/0.001389, allocations: 71.89 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2269, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002668/0.2296, allocations: 1.523 MB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007678/0.2303, allocations: 495.7 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.255e-05/0.2304, allocations: 4 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.946e-05/0.2305, allocations: 7.875 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.2306, allocations: 7.875 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.2308, allocations: 35.95 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000155/0.2309, allocations: 91.69 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2311, allocations: 20.19 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.2312, allocations: 35.84 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.2313, allocations: 35.84 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.2313, allocations: 8 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.451e-05/0.2313, allocations: 4 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.2314, allocations: 23.91 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.2314, allocations: 27.86 kB / 0.7871 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.2316, allocations: 75.7 kB / 0.7871 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2316, allocations: 11.94 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2316, allocations: 0 / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2316, allocations: 0 / 0.7871 GB, free: 0.7383 MB / 0.6544 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.0006302/0.2322, allocations: 442.6 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2323, allocations: 8.031 kB / 0.7876 GB, free: 244 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.2323, allocations: 8.844 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.2325, allocations: 190.2 kB / 0.7878 GB, free: 8 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2325, allocations: 4.312 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-05/0.5731, allocations: 9.266 kB / 0.7878 GB, free: 49.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.5735, allocations: 94.83 kB / 0.7879 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5735, allocations: 0 / 0.7879 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5735, allocations: 2.625 kB / 0.7879 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5735, allocations: 0 / 0.7879 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002615/0.5738, allocations: 76.12 kB / 0.7879 GB, free: 49.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.5743, allocations: 333.3 kB / 0.7883 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.5746, allocations: 87.67 kB / 0.7883 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.5748, allocations: 49.98 kB / 0.7884 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.5748, allocations: 1.938 kB / 0.7884 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.5751, allocations: 103.7 kB / 0.7885 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.5751, allocations: 0.5938 kB / 0.7885 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0005474/0.5757, allocations: 217.7 kB / 0.7887 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.5757, allocations: 84.09 kB / 0.7888 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.5758, allocations: 130.1 kB / 0.7889 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.5758, allocations: 29.89 kB / 0.7889 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.619e-05/0.5759, allocations: 105.8 kB / 0.789 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.5759, allocations: 16.5 kB / 0.789 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.5759, allocations: 29.59 kB / 0.7891 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.576, allocations: 319.6 kB / 0.7894 GB, free: 48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.5762, allocations: 47.92 kB / 0.7894 GB, free: 48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.5763, allocations: 47.33 kB / 0.7895 GB, free: 48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.5766, allocations: 168.7 kB / 0.7896 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.5766, allocations: 0.5938 kB / 0.7896 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003595/0.5769, allocations: 212.8 kB / 0.7898 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/0.577, allocations: 64.69 kB / 0.7899 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.577, allocations: 1.781 kB / 0.7899 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.577, allocations: 3.438 kB / 0.7899 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.5771, allocations: 20.41 kB / 0.7899 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5772, allocations: 0 / 0.7899 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.5773, allocations: 26.53 kB / 0.7899 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.5773, allocations: 2.688 kB / 0.7899 GB, free: 47.73 MB / 0.6544 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 8.584e-05/0.5774, allocations: 145.9 kB / 0.7901 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.5774, allocations: 12.58 kB / 0.7901 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.949e-05/0.5775, allocations: 15.58 kB / 0.7901 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5775, allocations: 3.938 kB / 0.7901 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5775, allocations: 1.938 kB / 0.7901 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.5775, allocations: 83.73 kB / 0.7902 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.5775, allocations: 5.828 kB / 0.7902 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5776, allocations: 15.27 kB / 0.7902 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.046e-05/0.5777, allocations: 21.39 kB / 0.7902 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004348/0.5782, allocations: 309.8 kB / 0.7905 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003662/0.5786, allocations: 346.8 kB / 0.7909 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001587/0.5787, allocations: 60.34 kB / 0.7909 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.048e-05/0.5788, allocations: 100.5 kB / 0.791 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of Backend: time 5.31e-07/0.5788, allocations: 2.562 kB / 0.791 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005141/0.5793, allocations: 259.3 kB / 0.7913 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0004577/0.5798, allocations: 0.6671 MB / 0.7919 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.00396/0.5837, allocations: 1.511 MB / 0.7934 GB, free: 46.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)