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.001291/0.001291, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001613/0.001613, allocations: 194.4 kB / 16.25 MB, free: 6.617 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.361/1.361, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.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.65/1.65, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001308/0.001308, allocations: 61.8 kB / 0.671 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2067, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002653/0.2094, allocations: 1.59 MB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007565/0.2101, allocations: 495.7 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.2102, allocations: 0 / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.2103, allocations: 3.938 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.2104, allocations: 11.86 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.2106, allocations: 27.97 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.2108, allocations: 91.77 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.2109, allocations: 12.19 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.211, allocations: 43.83 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.812e-05/0.2111, allocations: 31.91 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.2111, allocations: 11.94 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.2111, allocations: 4 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.2112, allocations: 15.98 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.472e-05/0.2112, allocations: 31.8 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.2114, allocations: 79.98 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2114, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2114, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.974e-06/0.2114, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 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.0006943/0.2121, allocations: 450.5 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2121, allocations: 8.031 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.2122, allocations: 8.844 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.2124, allocations: 196.2 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2124, allocations: 4.375 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.2124, allocations: 4.375 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.2127, allocations: 97.75 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.2127, allocations: 3.938 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.2127, allocations: 8 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2127, allocations: 0 / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.213, allocations: 71.88 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000509/0.2135, allocations: 336.6 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.2138, allocations: 90.55 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.214, allocations: 48.95 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.214, allocations: 0 / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.2143, allocations: 107.3 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.2143, allocations: 0 / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005842/0.2149, allocations: 211.1 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.215, allocations: 81.11 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.613e-05/0.2151, allocations: 134 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.2151, allocations: 37.7 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.2151, allocations: 88.14 kB / 0.7871 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.2152, allocations: 19.7 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.308e-05/0.2152, allocations: 29.72 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2153, allocations: 322.8 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.2155, allocations: 47.95 kB / 0.7875 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.2157, allocations: 47.97 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.2159, allocations: 169.8 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.216, allocations: 0 / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003967/0.2164, allocations: 212.9 kB / 0.7879 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.2164, allocations: 63.69 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2164, allocations: 0 / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2164, allocations: 4 kB / 0.788 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2166, allocations: 23.91 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2166, allocations: 0 / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.2167, allocations: 19.92 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2167, allocations: 7.938 kB / 0.7881 GB, free: 8.258 MB / 0.6075 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 0.0001022/0.2168, allocations: 147.5 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.2169, allocations: 11.89 kB / 0.7882 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/0.2169, allocations: 12.72 kB / 0.7882 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2169, allocations: 4 kB / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2169, allocations: 0 / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2169, allocations: 0 / 0.7882 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005183/0.2175, allocations: 432.1 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2175, allocations: 0 / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.2176, allocations: 15.98 kB / 0.7886 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2176, allocations: 4 kB / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2176, allocations: 3.938 kB / 0.7887 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.2176, allocations: 8.312 kB / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2176, allocations: 0 / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.218, allocations: 273 kB / 0.7889 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.2181, allocations: 89 kB / 0.789 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.2181, allocations: 4 kB / 0.789 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.2182, allocations: 19.92 kB / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.2184, allocations: 27.95 kB / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.2184, allocations: 0 / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.993e-05/0.2184, allocations: 105.4 kB / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2184, allocations: 0 / 0.7892 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002319/0.2187, allocations: 16 kB / 0.7892 GB, free: 6.988 MB / 0.6075 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 0.0001084/0.2188, allocations: 107.2 kB / 0.7893 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004269/0.2192, allocations: 230.6 kB / 0.7895 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2192, allocations: 0 / 0.7895 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.2194, allocations: 103.4 kB / 0.7896 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.2197, allocations: 19.92 kB / 0.7896 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005251/0.2203, allocations: 230.8 kB / 0.7898 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.2206, allocations: 0.6924 MB / 0.7905 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.851e-05/0.2206, allocations: 11.98 kB / 0.7905 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.2207, allocations: 11.44 kB / 0.7905 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2207, allocations: 4 kB / 0.7905 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.003575/0.2243, allocations: 1.208 MB / 0.7917 GB, free: 4.312 MB / 0.6075 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)