Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.502/2.502, allocations: 287.5 MB / 302.4 MB, free: 8.332 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.001375/0.001375, allocations: 178.5 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.163/2.163, allocations: 205.4 MB / 0.6297 GB, free: 10.56 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.0009179/0.000918, allocations: 89.92 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006587/0.000659, allocations: 12.52 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.224, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001847/0.2259, allocations: 1.226 MB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008839/0.2268, allocations: 461 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.2269, allocations: 0 / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.606e-05/0.227, allocations: 3.938 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-05/0.2271, allocations: 15.92 kB / 0.98 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.2273, allocations: 31.91 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.2274, allocations: 67.77 kB / 0.9801 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2276, allocations: 12.17 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.2277, allocations: 35.91 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.2278, allocations: 35.83 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.2278, allocations: 4 kB / 0.9802 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.2279, allocations: 4 kB / 0.9802 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/0.2279, allocations: 11.94 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.228, allocations: 33.7 kB / 0.9802 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.685e-05/0.2281, allocations: 52.11 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2281, allocations: 0 / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2281, allocations: 0 / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.2281, allocations: 0 / 0.9803 GB, free: 26.34 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.0007227/0.2288, allocations: 446.5 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2289, allocations: 12.02 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.2289, allocations: 7.906 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.2291, allocations: 186.9 kB / 0.9809 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.2292, allocations: 7.984 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.244e-05/0.2292, allocations: 4 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/0.2296, allocations: 105.6 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.2296, allocations: 0 / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.2296, allocations: 3.938 kB / 0.981 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2297, allocations: 7.922 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004497/0.2301, allocations: 87.94 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.2308, allocations: 336.8 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.2313, allocations: 98.55 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.2315, allocations: 60.95 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.2316, allocations: 0 / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004009/0.232, allocations: 115.2 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.232, allocations: 4 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0009153/0.2329, allocations: 231.2 kB / 0.9819 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.233, allocations: 85.09 kB / 0.982 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.2331, allocations: 138 kB / 0.9821 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.2331, allocations: 33.7 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.612e-05/0.2332, allocations: 84.14 kB / 0.9823 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.2332, allocations: 23.7 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/0.2332, allocations: 4 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.2333, allocations: 318.8 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.2336, allocations: 59.95 kB / 0.9826 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.2339, allocations: 51.95 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.2342, allocations: 107.4 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2342, allocations: 0 / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006391/0.2348, allocations: 229 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.2349, allocations: 59.5 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2349, allocations: 7.938 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2349, allocations: 3.953 kB / 0.9831 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.2351, allocations: 19.92 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2352, allocations: 4 kB / 0.9831 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.2354, allocations: 31.91 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.2354, allocations: 4 kB / 0.9831 GB, free: 23.14 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 0.0001108/0.2355, allocations: 143.5 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.2356, allocations: 7.906 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.2356, allocations: 12.7 kB / 0.9833 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2356, allocations: 7.953 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2356, allocations: 0 / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2357, allocations: 4 kB / 0.9833 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007458/0.2364, allocations: 448.5 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.2364, allocations: 0 / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.2366, allocations: 23.92 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2366, allocations: 0 / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.2366, allocations: 3.953 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2366, allocations: 4 kB / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2366, allocations: 80 / 0.9838 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.2373, allocations: 289 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.2373, allocations: 89 kB / 0.9841 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.2373, allocations: 4 kB / 0.9841 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2376, allocations: 23.94 kB / 0.9842 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.2378, allocations: 23.97 kB / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.2378, allocations: 0 / 0.9842 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.654e-05/0.2379, allocations: 108.3 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2379, allocations: 0 / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000299/0.2382, allocations: 20 kB / 0.9843 GB, free: 21.84 MB / 0.6198 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 (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.0001184/0.2383, allocations: 103.2 kB / 0.9844 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006375/0.239, allocations: 238.7 kB / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.239, allocations: 0 / 0.9846 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.2393, allocations: 123.3 kB / 0.9847 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.2397, allocations: 17.14 kB / 0.9848 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.2403, allocations: 216.9 kB / 0.985 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.2405, allocations: 0.6887 MB / 0.9856 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.589e-05/0.2406, allocations: 11.98 kB / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.2406, allocations: 15.42 kB / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.062e-06/0.2406, allocations: 192 / 0.9857 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.004366/0.245, allocations: 1.097 MB / 0.9867 GB, free: 19.26 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)