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.00111/0.00111, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008368/0.008368, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.35/1.35, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.674/1.674, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005396/0.0005396, allocations: 17.42 kB / 0.6743 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1988, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002064/0.2009, allocations: 1.239 MB / 0.7891 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2022, allocations: 499.7 kB / 0.7896 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.2023, allocations: 0 / 0.7896 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2025, allocations: 7.938 kB / 0.7896 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.746e-05/0.2026, allocations: 7.922 kB / 0.7896 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.2029, allocations: 27.92 kB / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.2031, allocations: 75.81 kB / 0.7897 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.2032, allocations: 16.19 kB / 0.7897 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.2034, allocations: 35.78 kB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.2035, allocations: 35.89 kB / 0.7898 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.2036, allocations: 4 kB / 0.7898 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.776e-05/0.2036, allocations: 3.938 kB / 0.7898 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.2037, allocations: 7.984 kB / 0.7898 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.361e-05/0.2038, allocations: 57.5 kB / 0.7898 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.2039, allocations: 71.98 kB / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.204, allocations: 0 / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.444e-06/0.204, allocations: 0 / 0.7899 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.204, allocations: 0 / 0.7899 GB, free: 9.523 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.0009232/0.2049, allocations: 438.7 kB / 0.7903 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.205, allocations: 8.031 kB / 0.7903 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.78e-05/0.2051, allocations: 12.84 kB / 0.7903 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.2053, allocations: 194.9 kB / 0.7905 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.2053, allocations: 4.375 kB / 0.7905 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.2054, allocations: 8.359 kB / 0.7905 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.2057, allocations: 109.7 kB / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2057, allocations: 0 / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2058, allocations: 0 / 0.7906 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.2058, allocations: 4 kB / 0.7906 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.2061, allocations: 87.88 kB / 0.7907 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.2067, allocations: 348.6 kB / 0.7911 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.2071, allocations: 106.5 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.2072, allocations: 52.95 kB / 0.7912 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.2073, allocations: 0 / 0.7912 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.2076, allocations: 115.3 kB / 0.7913 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.2076, allocations: 0 / 0.7913 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006678/0.2083, allocations: 231.2 kB / 0.7915 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.2084, allocations: 81.05 kB / 0.7916 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2085, allocations: 144.7 kB / 0.7918 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.2085, allocations: 29.7 kB / 0.7918 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.2086, allocations: 92.05 kB / 0.7919 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.2086, allocations: 23.78 kB / 0.7919 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.2086, allocations: 17.72 kB / 0.7919 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.2088, allocations: 322.8 kB / 0.7922 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.2089, allocations: 59.95 kB / 0.7923 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.2091, allocations: 55.97 kB / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.2094, allocations: 178.1 kB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2094, allocations: 0 / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004304/0.2099, allocations: 232.8 kB / 0.7927 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.605e-05/0.2099, allocations: 63.41 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.21, allocations: 4 kB / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.21, allocations: 0 / 0.7928 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.2101, allocations: 23.92 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2101, allocations: 0 / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.2103, allocations: 35.81 kB / 0.7928 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.2103, allocations: 11.94 kB / 0.7929 GB, free: 6.203 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.0001311/0.2105, allocations: 140.2 kB / 0.793 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.2105, allocations: 7.906 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.2105, allocations: 16.7 kB / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2106, allocations: 0 / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2106, allocations: 0 / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2106, allocations: 0 / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006024/0.2112, allocations: 448.1 kB / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2112, allocations: 0 / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.04e-05/0.2113, allocations: 23.98 kB / 0.7935 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2113, allocations: 0 / 0.7935 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2113, allocations: 0 / 0.7935 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.2113, allocations: 8.266 kB / 0.7935 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2113, allocations: 0 / 0.7935 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004504/0.2118, allocations: 297 kB / 0.7938 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.2118, allocations: 81.02 kB / 0.7938 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.2119, allocations: 7.984 kB / 0.7938 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.212, allocations: 23.92 kB / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.2121, allocations: 23.97 kB / 0.7939 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.2122, allocations: 4 kB / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.459e-05/0.2122, allocations: 99.27 kB / 0.794 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.393e-06/0.2122, allocations: 0 / 0.794 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002459/0.2125, allocations: 19.94 kB / 0.794 GB, free: 4.906 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.0001228/0.2126, allocations: 107.2 kB / 0.7941 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004497/0.2131, allocations: 230.7 kB / 0.7943 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2131, allocations: 0 / 0.7943 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.2133, allocations: 127.6 kB / 0.7944 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.2136, allocations: 22.3 kB / 0.7945 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.2141, allocations: 223.4 kB / 0.7947 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002075/0.2143, allocations: 0.6965 MB / 0.7954 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.861e-05/0.2144, allocations: 15.97 kB / 0.7954 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.2144, allocations: 7.438 kB / 0.7954 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.2144, allocations: 0 / 0.7954 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of Templates: time 0.003443/0.2179, allocations: 1.125 MB / 0.7965 GB, free: 2.285 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: