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.001991/0.001991, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.002085/0.002085, allocations: 173.2 kB / 23.24 MB, free: 1.32 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 1.549/1.549, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 3.202/3.202, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] 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.472e-06/1.472e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.499e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002974/0.002999, allocations: 1.541 MB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.00404, allocations: 482.7 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.642e-05/0.004126, allocations: 11.88 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.471e-05/0.004211, allocations: 3.938 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.004272, allocations: 15.86 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.004537, allocations: 43.83 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001821/0.00472, allocations: 87.7 kB / 1.003 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.004819, allocations: 15.97 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.005026, allocations: 59.83 kB / 1.003 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.00511, allocations: 31.89 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.005138, allocations: 8 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.743e-05/0.005186, allocations: 12 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.00523, allocations: 15.92 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.847e-05/0.005289, allocations: 23.97 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.005467, allocations: 75.77 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.005472, allocations: 3.984 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005473, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.005477, allocations: 0 / 1.003 GB, free: 10.61 MB / 0.9636 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.0007638/0.00624, allocations: 381.4 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.006277, allocations: 12.69 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.00644, allocations: 20.88 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.006647, allocations: 133.6 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.006672, allocations: 12.36 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.00669, allocations: 4.375 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.007029, allocations: 115.9 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.007038, allocations: 4.188 kB / 1.004 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.00706, allocations: 8.375 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.007067, allocations: 3.938 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.007389, allocations: 97.62 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.007979, allocations: 268.4 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.008317, allocations: 108.2 kB / 1.005 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.008519, allocations: 86.58 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.008533, allocations: 0 / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000323/0.008856, allocations: 137.1 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.008858, allocations: 0 / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.001012/0.009869, allocations: 270.6 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.009948, allocations: 85.05 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.01009, allocations: 130.1 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.01012, allocations: 29.7 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.172e-05/0.01022, allocations: 104 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.01025, allocations: 23.84 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.01031, allocations: 29.64 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.01049, allocations: 314.8 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.01072, allocations: 111.4 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.01094, allocations: 103.4 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.01131, allocations: 165.9 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01131, allocations: 4 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005426/0.01186, allocations: 272.2 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.283e-05/0.01193, allocations: 63.41 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.01193, allocations: 0 / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.01195, allocations: 0 / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.01208, allocations: 19.97 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01209, allocations: 0 / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.01222, allocations: 19.92 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.01224, allocations: 7.938 kB / 1.006 GB, free: 7.203 MB / 0.9636 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.0001461/0.01239, allocations: 151.5 kB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.01241, allocations: 15.89 kB / 1.007 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.01245, allocations: 13.06 kB / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01245, allocations: 0 / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01245, allocations: 0 / 1.007 GB, free: 7.008 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.01246, allocations: 3.938 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.01313, allocations: 401.5 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01313, allocations: 0 / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-05/0.01323, allocations: 19.91 kB / 1.007 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.01323, allocations: 4 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.01324, allocations: 0 / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01325, allocations: 4 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.01325, allocations: 4 kB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.0138, allocations: 298.8 kB / 1.007 GB, free: 6.211 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.01383, allocations: 11.95 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.01385, allocations: 4 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.01401, allocations: 23.97 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.01411, allocations: 19.97 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01412, allocations: 0 / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.039e-05/0.01421, allocations: 105.4 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01421, allocations: 0 / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002493/0.01446, allocations: 20 kB / 1.008 GB, free: 6.031 MB / 0.9636 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.0001674/0.01463, allocations: 103.2 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005781/0.01521, allocations: 303.8 kB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01521, allocations: 0 / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.01548, allocations: 137 kB / 1.008 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.01578, allocations: 19.92 kB / 1.008 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.01641, allocations: 226.8 kB / 1.008 GB, free: 5.152 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.01651, allocations: 80.83 kB / 1.008 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.676e-05/0.01659, allocations: 11.98 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.01663, allocations: 12.5 kB / 1.008 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of SimCode: time 5.41e-07/0.01663, allocations: 0 / 1.008 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of Templates: time 0.005019/0.02165, allocations: 1.396 MB / 1.01 GB, free: 3.664 MB / 0.9636 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: 8.85067486949265]