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.0009719/0.0009719, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.0008856/0.0008856, allocations: 169.8 kB / 25.18 MB, free: 9.109 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.9283/0.9283, allocations: 177.1 MB / 205.6 MB, free: 5.02 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.849/1.849, allocations: 389.6 MB / 0.6364 GB, free: 12.22 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.603e-06/1.603e-06, allocations: 0 / 0.7755 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.543e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001847/0.001863, allocations: 1.629 MB / 0.7771 GB, free: 4.367 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006799/0.002543, allocations: 0.5019 MB / 0.7776 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.002604, allocations: 4.812 kB / 0.7776 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.002705, allocations: 4.906 kB / 0.7776 GB, free: 3.859 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.002758, allocations: 21.98 kB / 0.7776 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.002966, allocations: 39.88 kB / 0.7777 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.003098, allocations: 89.5 kB / 0.7778 GB, free: 3.723 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.272e-05/0.003181, allocations: 28.56 kB / 0.7778 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.003323, allocations: 55.83 kB / 0.7778 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.012e-05/0.003383, allocations: 36.44 kB / 0.7779 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.003401, allocations: 5.531 kB / 0.7779 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.003448, allocations: 12 kB / 0.7779 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.003482, allocations: 15.92 kB / 0.7779 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.003519, allocations: 20 kB / 0.7779 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.003628, allocations: 68.84 kB / 0.778 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-06/0.003629, allocations: 0 / 0.778 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.00363, allocations: 0 / 0.778 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.003633, allocations: 1.031 kB / 0.778 GB, free: 3.488 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.0003918/0.004025, allocations: 352.5 kB / 0.7783 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.847e-05/0.004054, allocations: 12.69 kB / 0.7783 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.004156, allocations: 18.23 kB / 0.7784 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.004278, allocations: 125.6 kB / 0.7785 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.004289, allocations: 16.34 kB / 0.7785 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.0043, allocations: 5.594 kB / 0.7785 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.004427, allocations: 108.6 kB / 0.7786 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004434, allocations: 0.6875 kB / 0.7786 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.004441, allocations: 384 / 0.7786 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004446, allocations: 4.688 kB / 0.7786 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.84e-05/0.004484, allocations: 49.62 kB / 0.7787 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002447/0.004729, allocations: 192.9 kB / 0.7788 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.78e-05/0.004797, allocations: 56.28 kB / 0.7789 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.00483, allocations: 50.58 kB / 0.7789 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.004841, allocations: 2.75 kB / 0.7789 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/0.004943, allocations: 101.1 kB / 0.779 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.004944, allocations: 0 / 0.779 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001505/0.005094, allocations: 162.7 kB / 0.7792 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.005131, allocations: 85.05 kB / 0.7793 GB, free: 2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.301e-05/0.005194, allocations: 130.7 kB / 0.7794 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.005207, allocations: 31.3 kB / 0.7794 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.005246, allocations: 96.02 kB / 0.7795 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.005261, allocations: 23.84 kB / 0.7795 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.005294, allocations: 29.69 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.005362, allocations: 314.8 kB / 0.7799 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.005395, allocations: 68.14 kB / 0.7799 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-05/0.005429, allocations: 75.39 kB / 0.78 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.461e-05/0.005494, allocations: 114.1 kB / 0.7801 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005496, allocations: 4 kB / 0.7801 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001005/0.005596, allocations: 188.3 kB / 0.7803 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.005625, allocations: 61.09 kB / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.005629, allocations: 0 / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.005636, allocations: 0 / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.005703, allocations: 19.98 kB / 0.7804 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.005706, allocations: 1.281 kB / 0.7804 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.005753, allocations: 11.98 kB / 0.7804 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.005763, allocations: 11.88 kB / 0.7804 GB, free: 0.7227 MB / 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 6.588e-05/0.005828, allocations: 151 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.005839, allocations: 13.06 kB / 0.7806 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.251e-05/0.005862, allocations: 16.77 kB / 0.7806 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.005864, allocations: 0 / 0.7806 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.005865, allocations: 0.9688 kB / 0.7806 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005868, allocations: 0 / 0.7806 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.006179, allocations: 270.2 kB / 0.7808 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00618, allocations: 0.5 kB / 0.7808 GB, free: 240 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.125e-05/0.006212, allocations: 20.64 kB / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.006213, allocations: 0 / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.006221, allocations: 4.625 kB / 0.7809 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.006222, allocations: 0.9062 kB / 0.7809 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006223, allocations: 0 / 0.7809 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.006336, allocations: 214.9 kB / 0.7811 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.006345, allocations: 12.64 kB / 0.7811 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.006361, allocations: 4 kB / 0.7811 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.016e-05/0.006411, allocations: 12.52 kB / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.006475, allocations: 21.75 kB / 0.7811 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.00648, allocations: 0 / 0.7811 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.97e-05/0.0065, allocations: 32.2 kB / 0.7811 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0065, allocations: 0 / 0.7811 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001196/0.00662, allocations: 19.95 kB / 0.7812 GB, free: 15.88 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 6.957e-05/0.006689, allocations: 91.44 kB / 0.7813 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.00683, allocations: 236.8 kB / 0.7815 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.006835, allocations: 4 kB / 0.7815 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/0.006897, allocations: 113.9 kB / 0.7816 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.007036, allocations: 23.58 kB / 0.7816 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.007449, allocations: 261.8 kB / 0.7819 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.007499, allocations: 75.33 kB / 0.7819 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.374e-05/0.007573, allocations: 76.84 kB / 0.782 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.007574, allocations: 0 / 0.782 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.001745/0.009319, allocations: 1.289 MB / 0.7833 GB, free: 13.64 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 > Buildings_13_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.6544353403151035]