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.657/1.657, allocations: 288.4 MB / 304.3 MB, free: 8.074 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.001033/0.001033, allocations: 190.8 kB / 372.9 MB, free: 10.15 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.466/1.466, allocations: 205.4 MB / 0.6316 GB, free: 9.902 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009123/0.0009122, allocations: 96.73 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004318/0.0004321, allocations: 15.34 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2179, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001635/0.2195, allocations: 1.23 MB / 0.9819 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007682/0.2203, allocations: 464.8 kB / 0.9824 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.2204, allocations: 8 kB / 0.9824 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.583e-05/0.2205, allocations: 7.875 kB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.2206, allocations: 7.922 kB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.2208, allocations: 23.97 kB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2209, allocations: 71.77 kB / 0.9825 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.2211, allocations: 20.17 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.2212, allocations: 39.84 kB / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.458e-05/0.2213, allocations: 27.84 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2213, allocations: 4 kB / 0.9826 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.2213, allocations: 4 kB / 0.9826 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.2214, allocations: 11.98 kB / 0.9826 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.2214, allocations: 57.5 kB / 0.9827 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.372e-05/0.2215, allocations: 52.11 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2216, allocations: 0 / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2216, allocations: 4 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.2216, allocations: 0 / 0.9827 GB, free: 25.32 MB / 0.6198 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.0005895/0.2222, allocations: 435.7 kB / 0.9831 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.2222, allocations: 8.031 kB / 0.9831 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.2223, allocations: 12.84 kB / 0.9831 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.2224, allocations: 181.7 kB / 0.9833 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.2225, allocations: 8.375 kB / 0.9833 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.2225, allocations: 4.375 kB / 0.9833 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.2228, allocations: 105.7 kB / 0.9834 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.2228, allocations: 0 / 0.9834 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.2228, allocations: 7.984 kB / 0.9834 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2228, allocations: 4 kB / 0.9834 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/0.2231, allocations: 87.92 kB / 0.9835 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005114/0.2236, allocations: 348.5 kB / 0.9839 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.2239, allocations: 98.52 kB / 0.984 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.2241, allocations: 60.94 kB / 0.984 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2241, allocations: 4 kB / 0.984 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.2244, allocations: 115.4 kB / 0.9841 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.2244, allocations: 0 / 0.9841 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005633/0.2249, allocations: 231.2 kB / 0.9843 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.225, allocations: 77.11 kB / 0.9844 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.2251, allocations: 134 kB / 0.9845 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2251, allocations: 33.64 kB / 0.9846 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.2251, allocations: 104 kB / 0.9847 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.2252, allocations: 19.8 kB / 0.9847 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.2252, allocations: 0 / 0.9847 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.2252, allocations: 330.8 kB / 0.985 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.2254, allocations: 55.95 kB / 0.9851 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.2255, allocations: 59.91 kB / 0.9851 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.2258, allocations: 181.9 kB / 0.9853 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2258, allocations: 0 / 0.9853 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003565/0.2262, allocations: 224.9 kB / 0.9855 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.2262, allocations: 63.41 kB / 0.9856 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2263, allocations: 0 / 0.9856 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2263, allocations: 0 / 0.9856 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.2264, allocations: 19.98 kB / 0.9856 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2264, allocations: 3.984 kB / 0.9856 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2265, allocations: 31.83 kB / 0.9856 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.2266, allocations: 0 / 0.9856 GB, free: 22.05 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.178e-05/0.2267, allocations: 155.5 kB / 0.9858 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.2267, allocations: 15.83 kB / 0.9858 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.619e-05/0.2267, allocations: 12.72 kB / 0.9858 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2267, allocations: 0 / 0.9858 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2267, allocations: 288 / 0.9858 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.2268, allocations: 81.11 kB / 0.9859 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.2268, allocations: 7.938 kB / 0.9859 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2269, allocations: 27.91 kB / 0.9859 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-05/0.227, allocations: 23.97 kB / 0.9859 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000431/0.2274, allocations: 326 kB / 0.9862 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003744/0.2278, allocations: 364.2 kB / 0.9866 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001539/0.228, allocations: 63.89 kB / 0.9867 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.838e-05/0.228, allocations: 100.2 kB / 0.9867 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of Backend: time 4.61e-07/0.228, allocations: 0 / 0.9867 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004972/0.2286, allocations: 269.9 kB / 0.987 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004679/0.229, allocations: 0.6889 MB / 0.9877 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of Templates: time 0.003278/0.2323, allocations: 1.284 MB / 0.9889 GB, free: 18.53 MB / 0.6198 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)