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.00104/0.00104, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.00248, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001089/0.001089, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001445/0.002533, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 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.9675/0.9675, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09743/1.065, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.827/1.827, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5255/2.353, allocations: 127.1 MB / 0.7435 GB, free: 4.547 MB / 0.7136 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 2.014e-06/2.014e-06, allocations: 4 kB / 0.7448 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.496e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001844/0.001859, allocations: 1.625 MB / 0.7464 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006546/0.002514, allocations: 0.5118 MB / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.002562, allocations: 4 kB / 0.7469 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/0.002605, allocations: 5.031 kB / 0.7469 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.002647, allocations: 8.859 kB / 0.7469 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.002801, allocations: 49.19 kB / 0.747 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.002955, allocations: 82.84 kB / 0.747 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.094e-05/0.003036, allocations: 25.73 kB / 0.7471 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.003223, allocations: 65.02 kB / 0.7471 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.37e-05/0.003307, allocations: 33.88 kB / 0.7472 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.003329, allocations: 4 kB / 0.7472 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 5.666e-05/0.003385, allocations: 15.92 kB / 0.7472 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.003422, allocations: 11.94 kB / 0.7472 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.003459, allocations: 16 kB / 0.7472 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.003587, allocations: 59.77 kB / 0.7473 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.0036, allocations: 1.5 kB / 0.7473 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.91e-07/0.003601, allocations: 0 / 0.7473 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.003611, allocations: 0 / 0.7473 GB, free: 0.7734 MB / 0.7136 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.000497/0.004108, allocations: 360.7 kB / 0.7476 GB, free: 396 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.004136, allocations: 8.031 kB / 0.7476 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.004314, allocations: 98.56 kB / 0.7477 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.004472, allocations: 134.2 kB / 0.7478 GB, free: 112 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.004486, allocations: 8.969 kB / 0.7478 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.004503, allocations: 4.375 kB / 0.7478 GB, free: 100 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.004694, allocations: 105.2 kB / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.004702, allocations: 4.781 kB / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.004712, allocations: 384 / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.004719, allocations: 5.188 kB / 0.748 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.899e-05/0.004778, allocations: 49.62 kB / 0.748 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.005118, allocations: 195.5 kB / 0.7482 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.005216, allocations: 65.7 kB / 0.7482 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.005247, allocations: 38.56 kB / 0.7483 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.005258, allocations: 4 kB / 0.7483 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.005401, allocations: 107.5 kB / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.005403, allocations: 0 / 0.7484 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001913/0.005594, allocations: 158.7 kB / 0.7485 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.005625, allocations: 51.41 kB / 0.7486 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.003e-05/0.005715, allocations: 137.5 kB / 0.7487 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.005733, allocations: 25.7 kB / 0.7487 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.005783, allocations: 98.27 kB / 0.7488 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.005806, allocations: 27.77 kB / 0.7489 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.005856, allocations: 29.7 kB / 0.7489 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.005948, allocations: 318.8 kB / 0.7492 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.384e-05/0.006002, allocations: 67.39 kB / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.006052, allocations: 67.39 kB / 0.7493 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.006162, allocations: 133.6 kB / 0.7495 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.006164, allocations: 0 / 0.7495 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001548/0.006319, allocations: 181.8 kB / 0.7496 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.006367, allocations: 63.41 kB / 0.7497 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.006372, allocations: 0 / 0.7497 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.006385, allocations: 2.75 kB / 0.7497 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.006488, allocations: 27.91 kB / 0.7497 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.006491, allocations: 0 / 0.7497 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.006564, allocations: 11.98 kB / 0.7497 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.006575, allocations: 0 / 0.7497 GB, free: 13.93 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 9.742e-05/0.006673, allocations: 154.3 kB / 0.7499 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.829e-05/0.006691, allocations: 11.56 kB / 0.7499 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.006719, allocations: 20.77 kB / 0.7499 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006721, allocations: 0 / 0.7499 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.006723, allocations: 0 / 0.7499 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.006727, allocations: 0 / 0.7499 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002228/0.00695, allocations: 278.2 kB / 0.7502 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.006952, allocations: 0 / 0.7502 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.007002, allocations: 15.92 kB / 0.7502 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.371e-05/0.007016, allocations: 11.89 kB / 0.7502 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007017, allocations: 0 / 0.7502 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.007025, allocations: 4.703 kB / 0.7502 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.007028, allocations: 8 kB / 0.7502 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007029, allocations: 0.6875 kB / 0.7502 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.007173, allocations: 219.2 kB / 0.7504 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.007189, allocations: 8.516 kB / 0.7504 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.00725, allocations: 12.81 kB / 0.7504 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.007309, allocations: 19.97 kB / 0.7505 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.007316, allocations: 9.297 kB / 0.7505 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.907e-05/0.007335, allocations: 20.84 kB / 0.7505 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007335, allocations: 0 / 0.7505 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001426/0.007478, allocations: 24.67 kB / 0.7505 GB, free: 13.06 MB / 0.7292 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.789e-05/0.007566, allocations: 81.83 kB / 0.7506 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.007779, allocations: 248.7 kB / 0.7508 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.007786, allocations: 0 / 0.7508 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.007889, allocations: 110.5 kB / 0.7509 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.008135, allocations: 76.23 kB / 0.751 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.009076, allocations: 238.8 kB / 0.7512 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.572e-05/0.009121, allocations: 63.84 kB / 0.7513 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.059e-05/0.009162, allocations: 5.312 kB / 0.7513 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.00926, allocations: 68.95 kB / 0.7514 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.009261, allocations: 0 / 0.7514 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of Templates: time 0.00369/0.01295, allocations: 1.439 MB / 0.7528 GB, free: 10.68 MB / 0.7292 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.633592328056693]