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.001061/0.00106, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001266/0.001266, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.814/1.814, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005759/0.0005759, allocations: 14.56 kB / 0.6735 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3044, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001987/0.3064, allocations: 1.212 MB / 0.7883 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008855/0.3073, allocations: 472.1 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.543e-05/0.3074, allocations: 4 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.3075, allocations: 4 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.3075, allocations: 11.92 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.3077, allocations: 27.95 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.662e-05/0.3078, allocations: 47.88 kB / 0.7888 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3079, allocations: 8.188 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3081, allocations: 43.89 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.3082, allocations: 31.84 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3082, allocations: 7.938 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.3082, allocations: 4 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.3083, allocations: 3.984 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.3083, allocations: 41.64 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.3084, allocations: 52.11 kB / 0.789 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3085, allocations: 4 kB / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3085, allocations: 0 / 0.789 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.3085, allocations: 0 / 0.789 GB, free: 9.957 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.0006706/0.3092, allocations: 434.5 kB / 0.7894 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3092, allocations: 8.031 kB / 0.7895 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.3093, allocations: 11.91 kB / 0.7895 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3095, allocations: 186.9 kB / 0.7896 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3095, allocations: 0 / 0.7896 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.3096, allocations: 11.94 kB / 0.7897 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.3099, allocations: 101.6 kB / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3099, allocations: 0 / 0.7898 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.3099, allocations: 4 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3099, allocations: 0 / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.3102, allocations: 91.92 kB / 0.7898 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.3109, allocations: 344.7 kB / 0.7902 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.3112, allocations: 90.52 kB / 0.7903 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.3112, allocations: 4 kB / 0.7903 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.3116, allocations: 123.3 kB / 0.7904 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.3116, allocations: 0 / 0.7904 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006614/0.3122, allocations: 219.3 kB / 0.7906 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.3123, allocations: 93.03 kB / 0.7907 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3124, allocations: 144.8 kB / 0.7908 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3125, allocations: 33.7 kB / 0.7908 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.866e-05/0.3126, allocations: 84.14 kB / 0.7909 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.3126, allocations: 23.7 kB / 0.791 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.3126, allocations: 4 kB / 0.791 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3127, allocations: 318.8 kB / 0.7913 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.3129, allocations: 67.89 kB / 0.7913 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3131, allocations: 51.95 kB / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.3133, allocations: 107.4 kB / 0.7915 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3133, allocations: 0 / 0.7915 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004259/0.3137, allocations: 224.9 kB / 0.7917 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.3138, allocations: 59.41 kB / 0.7917 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3138, allocations: 4.312 kB / 0.7918 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3139, allocations: 0 / 0.7918 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.314, allocations: 19.97 kB / 0.7918 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.314, allocations: 7.953 kB / 0.7918 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.3141, allocations: 23.92 kB / 0.7918 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.3142, allocations: 7.984 kB / 0.7918 GB, free: 6.836 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 ($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.000127/0.3143, allocations: 147.5 kB / 0.7919 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.3143, allocations: 11.89 kB / 0.792 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.205e-05/0.3144, allocations: 9 kB / 0.792 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3144, allocations: 4 kB / 0.792 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3144, allocations: 0 / 0.792 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.3144, allocations: 15.88 kB / 0.792 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.315, allocations: 452.1 kB / 0.7924 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.315, allocations: 0 / 0.7924 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.581e-05/0.3151, allocations: 15.98 kB / 0.7924 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3151, allocations: 0 / 0.7924 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3151, allocations: 4 kB / 0.7924 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.3151, allocations: 11.94 kB / 0.7925 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3151, allocations: 0 / 0.7925 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.3156, allocations: 277 kB / 0.7927 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.3156, allocations: 93 kB / 0.7928 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.3156, allocations: 0 / 0.7928 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3158, allocations: 15.98 kB / 0.7928 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.3159, allocations: 27.92 kB / 0.7928 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3159, allocations: 3.984 kB / 0.7928 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.177e-05/0.316, allocations: 103.3 kB / 0.7929 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.316, allocations: 0 / 0.7929 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002966/0.3163, allocations: 24 kB / 0.793 GB, free: 5.523 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 (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.0001285/0.3165, allocations: 95.25 kB / 0.7931 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000527/0.317, allocations: 246.6 kB / 0.7933 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.317, allocations: 0 / 0.7933 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.3173, allocations: 119.3 kB / 0.7934 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.3175, allocations: 18.86 kB / 0.7934 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.318, allocations: 220.9 kB / 0.7936 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.3182, allocations: 0.6965 MB / 0.7943 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.107e-05/0.3183, allocations: 11.98 kB / 0.7943 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.3183, allocations: 11.44 kB / 0.7943 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3183, allocations: 0 / 0.7943 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of Templates: time 0.003489/0.3218, allocations: 1.103 MB / 0.7954 GB, free: 2.938 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: