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.764/2.764, allocations: 287.3 MB / 302.3 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.001554/0.001554, allocations: 182.7 kB / 370.8 MB, free: 10.88 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.213/2.213, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001178/0.001178, allocations: 95.53 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006581/0.0006583, allocations: 16.59 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2154, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001785/0.2173, allocations: 1.214 MB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000866/0.2182, allocations: 473.1 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.2182, allocations: 3.938 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.709e-05/0.2183, allocations: 0 / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.282e-05/0.2184, allocations: 19.91 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.2186, allocations: 19.97 kB / 0.9799 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.2187, allocations: 51.94 kB / 0.9799 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.2189, allocations: 12.17 kB / 0.9799 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.219, allocations: 35.84 kB / 0.98 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.2191, allocations: 39.83 kB / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.2191, allocations: 0 / 0.98 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.93e-05/0.2192, allocations: 4 kB / 0.98 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.499e-05/0.2192, allocations: 15.92 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.2193, allocations: 37.64 kB / 0.9801 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.454e-05/0.2194, allocations: 44.12 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2194, allocations: 0 / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2194, allocations: 0 / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.2194, allocations: 0 / 0.9801 GB, free: 26.44 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.000716/0.2201, allocations: 446.5 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2202, allocations: 12.02 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.2202, allocations: 7.906 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.2204, allocations: 192 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2204, allocations: 4 kB / 0.9807 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.2205, allocations: 11.94 kB / 0.9807 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000386/0.2209, allocations: 105.6 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2209, allocations: 4 kB / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.2209, allocations: 0 / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2209, allocations: 0 / 0.9808 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004696/0.2214, allocations: 83.94 kB / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.2221, allocations: 348.7 kB / 0.9813 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.2226, allocations: 98.52 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.2226, allocations: 0 / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000392/0.223, allocations: 111.4 kB / 0.9815 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.223, allocations: 0 / 0.9815 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0009104/0.2239, allocations: 235.3 kB / 0.9817 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.224, allocations: 81.11 kB / 0.9818 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2241, allocations: 139.9 kB / 0.9819 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2241, allocations: 25.7 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.893e-05/0.2242, allocations: 96.12 kB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.2242, allocations: 27.7 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.2243, allocations: 3.938 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.2243, allocations: 322.8 kB / 0.9824 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.2246, allocations: 51.97 kB / 0.9824 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.2249, allocations: 59.95 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002633/0.2251, allocations: 99.31 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2252, allocations: 4 kB / 0.9826 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00067/0.2258, allocations: 229 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.2259, allocations: 63.39 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2259, allocations: 0 / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2259, allocations: 7.891 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.2261, allocations: 19.98 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2262, allocations: 4 kB / 0.9829 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.2264, allocations: 27.92 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.2264, allocations: 0 / 0.9829 GB, free: 23.3 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.000108/0.2265, allocations: 147.5 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.2266, allocations: 7.906 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.2266, allocations: 12.72 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2266, allocations: 4 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.2267, allocations: 3.953 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2267, allocations: 3.984 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007593/0.2274, allocations: 448.5 kB / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2275, allocations: 0 / 0.9835 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.2276, allocations: 19.98 kB / 0.9835 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2276, allocations: 7.984 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.2277, allocations: 3.953 kB / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2277, allocations: 0 / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2277, allocations: 0 / 0.9835 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.2283, allocations: 281.1 kB / 0.9838 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.2283, allocations: 85.02 kB / 0.9839 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.2284, allocations: 11.94 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.2286, allocations: 27.92 kB / 0.9839 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.2288, allocations: 19.97 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.2288, allocations: 4 kB / 0.9839 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.681e-05/0.2289, allocations: 101.4 kB / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2289, allocations: 0 / 0.984 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003266/0.2292, allocations: 16 kB / 0.984 GB, free: 22.01 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.0001371/0.2294, allocations: 115.2 kB / 0.9842 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006356/0.23, allocations: 226.7 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2301, allocations: 3.938 kB / 0.9844 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.2304, allocations: 119.4 kB / 0.9845 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2307, allocations: 18.27 kB / 0.9845 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/0.2313, allocations: 224.9 kB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.2314, allocations: 0.6926 MB / 0.9854 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.782e-05/0.2315, allocations: 11.98 kB / 0.9854 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.2316, allocations: 11.42 kB / 0.9854 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.2316, allocations: 4 kB / 0.9854 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.004397/0.236, allocations: 1.09 MB / 0.9865 GB, free: 19.43 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)