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.001441/0.001441, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001741/0.001741, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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 1.009/1.009, allocations: 177.1 MB / 204.6 MB, free: 5.477 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.995/1.995, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.903e-06/1.903e-06, allocations: 0 / 0.7752 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.629e-05, allocations: 3.062 kB / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003418/0.003444, allocations: 1.635 MB / 0.7768 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.004244, allocations: 0.5032 MB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.004308, allocations: 0 / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.004417, allocations: 7.875 kB / 0.7773 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.004471, allocations: 17.72 kB / 0.7773 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.004685, allocations: 43.83 kB / 0.7774 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.004827, allocations: 83.59 kB / 0.7774 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.004908, allocations: 27.23 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.005063, allocations: 55.88 kB / 0.7775 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.005126, allocations: 31.91 kB / 0.7775 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.005144, allocations: 4 kB / 0.7775 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.645e-05/0.00519, allocations: 12 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.00522, allocations: 11.92 kB / 0.7776 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.005257, allocations: 35.91 kB / 0.7776 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.005374, allocations: 67.67 kB / 0.7777 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.005378, allocations: 0 / 0.7777 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005379, allocations: 3.75 kB / 0.7777 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.005383, allocations: 0 / 0.7777 GB, free: 2.859 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.0003971/0.00578, allocations: 344.1 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.00581, allocations: 8.75 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.005917, allocations: 16.92 kB / 0.778 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.006055, allocations: 133.7 kB / 0.7781 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.006065, allocations: 4.375 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.006075, allocations: 4.375 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.006211, allocations: 114.3 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.006218, allocations: 4.188 kB / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.006228, allocations: 4.359 kB / 0.7783 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.006234, allocations: 3.938 kB / 0.7783 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.006271, allocations: 38.77 kB / 0.7783 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.006527, allocations: 191 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.898e-05/0.006596, allocations: 60.83 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.006628, allocations: 50.45 kB / 0.7786 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.00664, allocations: 4 kB / 0.7786 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.006757, allocations: 105 kB / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.006758, allocations: 0 / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001485/0.006906, allocations: 150.8 kB / 0.7789 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.006938, allocations: 81.11 kB / 0.7789 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.603e-05/0.007004, allocations: 134.6 kB / 0.7791 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.007019, allocations: 29.7 kB / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.007056, allocations: 98.81 kB / 0.7792 GB, free: 1.117 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.00707, allocations: 15.86 kB / 0.7792 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.007107, allocations: 29.69 kB / 0.7792 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.007178, allocations: 322.8 kB / 0.7795 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.98e-05/0.007218, allocations: 75.28 kB / 0.7796 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.007257, allocations: 67.39 kB / 0.7797 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.725e-05/0.007324, allocations: 116.8 kB / 0.7798 GB, free: 452 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007325, allocations: 0 / 0.7798 GB, free: 452 kB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001115/0.007437, allocations: 189.5 kB / 0.78 GB, free: 232 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.007468, allocations: 55.41 kB / 0.78 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.007472, allocations: 4 kB / 0.78 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.007484, allocations: 0.8125 kB / 0.78 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.007554, allocations: 15.98 kB / 0.78 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.007557, allocations: 1.375 kB / 0.78 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.463e-05/0.007612, allocations: 19.92 kB / 0.7801 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.00762, allocations: 4.531 kB / 0.7801 GB, free: 120 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 8.015e-05/0.007701, allocations: 147.3 kB / 0.7802 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.007714, allocations: 11.94 kB / 0.7802 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.007735, allocations: 21.19 kB / 0.7802 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.007737, allocations: 0.875 kB / 0.7802 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007738, allocations: 0 / 0.7802 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007742, allocations: 4 kB / 0.7802 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.007898, allocations: 271.7 kB / 0.7805 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007899, allocations: 0 / 0.7805 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.007934, allocations: 19.92 kB / 0.7805 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.007935, allocations: 0.625 kB / 0.7805 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.007944, allocations: 8 kB / 0.7805 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.007945, allocations: 0.6875 kB / 0.7805 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.007947, allocations: 3.984 kB / 0.7805 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.515e-05/0.008042, allocations: 208.1 kB / 0.7807 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.008052, allocations: 11.89 kB / 0.7807 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.008067, allocations: 4 kB / 0.7807 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.525e-05/0.008122, allocations: 12.86 kB / 0.7807 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.008192, allocations: 23.97 kB / 0.7808 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.008197, allocations: 0.875 kB / 0.7808 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.982e-05/0.008217, allocations: 27.78 kB / 0.7808 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008217, allocations: 0.5625 kB / 0.7808 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001314/0.008348, allocations: 23.89 kB / 0.7808 GB, free: 15.26 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 8.838e-05/0.008437, allocations: 90.03 kB / 0.7809 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.008595, allocations: 240.7 kB / 0.7811 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.008598, allocations: 5.156 kB / 0.7811 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/0.008664, allocations: 106 kB / 0.7812 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001521/0.008816, allocations: 17.23 kB / 0.7813 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.009246, allocations: 238.6 kB / 0.7815 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.141e-05/0.009277, allocations: 60.28 kB / 0.7815 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.009308, allocations: 4.844 kB / 0.7816 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.009376, allocations: 71.92 kB / 0.7816 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.009376, allocations: 0 / 0.7816 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.002848/0.01222, allocations: 1.425 MB / 0.783 GB, free: 12.97 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.937586867716163]