Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009461/0.0009461, allocations: 84.8 kB / 21.62 MB, free: 2.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 175.2 kB / 25.05 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9188/0.9188, allocations: 177.1 MB / 205.5 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.873/1.873, allocations: 389.6 MB / 0.6363 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.664e-05, allocations: 6.25 kB / 0.7761 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002801/0.002827, allocations: 1.627 MB / 0.7777 GB, free: 3.676 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008881/0.003715, allocations: 0.5113 MB / 0.7782 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.331e-05/0.003779, allocations: 0 / 0.7782 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.003883, allocations: 8.812 kB / 0.7782 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.869e-05/0.003941, allocations: 8.859 kB / 0.7782 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.004183, allocations: 48.91 kB / 0.7783 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.00434, allocations: 88.36 kB / 0.7784 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.004428, allocations: 22.7 kB / 0.7784 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.004639, allocations: 59.81 kB / 0.7784 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.26e-05/0.004722, allocations: 31.91 kB / 0.7785 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.004745, allocations: 8 kB / 0.7785 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.527e-05/0.0048, allocations: 8 kB / 0.7785 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.004837, allocations: 15.92 kB / 0.7785 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.004878, allocations: 23.97 kB / 0.7785 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.005012, allocations: 65.52 kB / 0.7786 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005015, allocations: 0 / 0.7786 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.81e-07/0.005016, allocations: 0 / 0.7786 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.00502, allocations: 0 / 0.7786 GB, free: 2.801 MB / 0.7292 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.000474/0.005494, allocations: 349.1 kB / 0.7789 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.005528, allocations: 8.75 kB / 0.7789 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.005659, allocations: 21.86 kB / 0.779 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.005814, allocations: 137.6 kB / 0.7791 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.005825, allocations: 4.906 kB / 0.7791 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.005839, allocations: 5.312 kB / 0.7791 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.006013, allocations: 108.6 kB / 0.7792 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006024, allocations: 4.672 kB / 0.7792 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.006034, allocations: 4.375 kB / 0.7792 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.00604, allocations: 4.812 kB / 0.7792 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.212e-05/0.006092, allocations: 41.64 kB / 0.7792 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.006416, allocations: 192.5 kB / 0.7794 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.754e-05/0.006513, allocations: 60.3 kB / 0.7795 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.006557, allocations: 51.33 kB / 0.7795 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.006569, allocations: 0 / 0.7795 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.006704, allocations: 105.7 kB / 0.7796 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.006706, allocations: 1.719 kB / 0.7796 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001879/0.006894, allocations: 154.7 kB / 0.7798 GB, free: 1.418 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.006937, allocations: 81.11 kB / 0.7799 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.007021, allocations: 134 kB / 0.78 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.007041, allocations: 34.52 kB / 0.78 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.007088, allocations: 96.06 kB / 0.7801 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.007106, allocations: 16.36 kB / 0.7801 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.007153, allocations: 29.69 kB / 0.7802 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.007242, allocations: 323.7 kB / 0.7805 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.182e-05/0.007294, allocations: 71.39 kB / 0.7805 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.795e-05/0.007342, allocations: 64.22 kB / 0.7806 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.265e-05/0.007434, allocations: 128.8 kB / 0.7807 GB, free: 372 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.007438, allocations: 4.859 kB / 0.7807 GB, free: 368 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001393/0.007577, allocations: 180.4 kB / 0.7809 GB, free: 156 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.007617, allocations: 59.39 kB / 0.781 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.007621, allocations: 0.75 kB / 0.781 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.007633, allocations: 8 kB / 0.781 GB, free: 76 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.816e-05/0.007721, allocations: 20.55 kB / 0.781 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.007724, allocations: 1.875 kB / 0.781 GB, free: 56 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.007791, allocations: 19.92 kB / 0.781 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.007802, allocations: 4 kB / 0.781 GB, free: 32 kB / 0.7292 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.000101/0.007903, allocations: 147 kB / 0.7811 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.007922, allocations: 11.92 kB / 0.7812 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.007946, allocations: 13.53 kB / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007948, allocations: 0 / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007949, allocations: 1.062 kB / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007952, allocations: 0 / 0.7812 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.008166, allocations: 278.1 kB / 0.7814 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008168, allocations: 0.8125 kB / 0.7814 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.8e-05/0.008216, allocations: 15.92 kB / 0.7815 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.008217, allocations: 0.9375 kB / 0.7815 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.008227, allocations: 4 kB / 0.7815 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.008229, allocations: 0 / 0.7815 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.00823, allocations: 1.031 kB / 0.7815 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.00837, allocations: 214.9 kB / 0.7817 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.008382, allocations: 12.73 kB / 0.7817 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.008401, allocations: 8 kB / 0.7817 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.008482, allocations: 9.891 kB / 0.7817 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.008555, allocations: 23.91 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.008564, allocations: 4 kB / 0.7817 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.709e-05/0.008591, allocations: 24.83 kB / 0.7817 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008591, allocations: 0 / 0.7817 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001831/0.008774, allocations: 24.89 kB / 0.7818 GB, free: 15.18 MB / 0.7448 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.0001062/0.00888, allocations: 85.92 kB / 0.7819 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.009076, allocations: 244.7 kB / 0.7821 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.009082, allocations: 4 kB / 0.7821 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.009168, allocations: 111.6 kB / 0.7822 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.009356, allocations: 12 kB / 0.7822 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.009901, allocations: 235.7 kB / 0.7824 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.002e-05/0.009941, allocations: 59.34 kB / 0.7825 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.00998, allocations: 9.016 kB / 0.7825 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.01006, allocations: 67.38 kB / 0.7826 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.01006, allocations: 0.875 kB / 0.7826 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.002831/0.0129, allocations: 1.42 MB / 0.7839 GB, free: 12.9 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.820407431572676]