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.0007105/0.0007105, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009555/0.001666, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007118/0.0007118, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009314/0.001643, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9657/0.9657, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09658/1.062, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.857/1.857, allocations: 389.9 MB / 0.6191 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4637/2.321, allocations: 127.1 MB / 0.7432 GB, free: 4.582 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 1.733e-06/1.733e-06, allocations: 0 / 0.7445 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.174e-05, allocations: 3.969 kB / 0.7445 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002885/0.002906, allocations: 1.621 MB / 0.7461 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000898/0.003804, allocations: 0.5097 MB / 0.7466 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.00387, allocations: 4 kB / 0.7466 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.779e-05/0.003938, allocations: 4.844 kB / 0.7466 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.888e-05/0.003996, allocations: 15.81 kB / 0.7466 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002039/0.0042, allocations: 44.7 kB / 0.7466 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.004395, allocations: 91.27 kB / 0.7467 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.593e-05/0.004491, allocations: 15.97 kB / 0.7467 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.004711, allocations: 68.47 kB / 0.7468 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.004798, allocations: 31.91 kB / 0.7468 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.004821, allocations: 6.438 kB / 0.7468 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.282e-05/0.004894, allocations: 15.92 kB / 0.7468 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.622e-05/0.00493, allocations: 11.94 kB / 0.7469 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.004969, allocations: 23.92 kB / 0.7469 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.005081, allocations: 47.84 kB / 0.7469 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.005094, allocations: 4 kB / 0.7469 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.51e-07/0.005095, allocations: 0 / 0.7469 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.005106, allocations: 1.031 kB / 0.7469 GB, free: 0.8242 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.0004466/0.005553, allocations: 357 kB / 0.7473 GB, free: 452 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.005581, allocations: 8.031 kB / 0.7473 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.005713, allocations: 106 kB / 0.7474 GB, free: 320 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.005845, allocations: 124.6 kB / 0.7475 GB, free: 172 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.005855, allocations: 8.359 kB / 0.7475 GB, free: 164 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.005866, allocations: 8.375 kB / 0.7475 GB, free: 156 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.006001, allocations: 108.5 kB / 0.7476 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.006007, allocations: 192 / 0.7476 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.006017, allocations: 4.375 kB / 0.7476 GB, free: 28 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.006024, allocations: 3.938 kB / 0.7476 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.006078, allocations: 45.62 kB / 0.7477 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.006336, allocations: 192.3 kB / 0.7478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.006416, allocations: 68.31 kB / 0.7479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.006448, allocations: 47.34 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.00646, allocations: 4.5 kB / 0.748 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.006579, allocations: 105.7 kB / 0.7481 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.006581, allocations: 1.5 kB / 0.7481 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001501/0.006731, allocations: 158.7 kB / 0.7482 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.779e-05/0.006759, allocations: 51.41 kB / 0.7483 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.006832, allocations: 134.6 kB / 0.7484 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.006848, allocations: 30.83 kB / 0.7484 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.006885, allocations: 88.09 kB / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.006904, allocations: 27.77 kB / 0.7485 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.006939, allocations: 26.61 kB / 0.7486 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.007006, allocations: 322.8 kB / 0.7489 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.007046, allocations: 71.39 kB / 0.7489 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.007081, allocations: 68.05 kB / 0.749 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.872e-05/0.00715, allocations: 121.5 kB / 0.7491 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.007151, allocations: 0 / 0.7491 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001068/0.007258, allocations: 185.8 kB / 0.7493 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.0073, allocations: 59.41 kB / 0.7494 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.007304, allocations: 0 / 0.7494 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-06/0.007311, allocations: 0 / 0.7494 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.007389, allocations: 25.36 kB / 0.7494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-06/0.007392, allocations: 0 / 0.7494 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/0.007443, allocations: 15.98 kB / 0.7494 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.007452, allocations: 4.656 kB / 0.7494 GB, free: 13.99 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 7.32e-05/0.007525, allocations: 154.8 kB / 0.7495 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.007537, allocations: 9.656 kB / 0.7496 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.007559, allocations: 16.77 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.00756, allocations: 0 / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.007562, allocations: 0 / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.007565, allocations: 0 / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.007744, allocations: 275 kB / 0.7498 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.007746, allocations: 0 / 0.7498 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.007791, allocations: 16.67 kB / 0.7498 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.007803, allocations: 15.88 kB / 0.7499 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.007806, allocations: 2.688 kB / 0.7499 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.007815, allocations: 7.984 kB / 0.7499 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.007816, allocations: 0 / 0.7499 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.007818, allocations: 0 / 0.7499 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.007944, allocations: 227.2 kB / 0.7501 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.007959, allocations: 3.938 kB / 0.7501 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.008015, allocations: 11.98 kB / 0.7501 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.008086, allocations: 26.72 kB / 0.7501 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.008094, allocations: 0 / 0.7501 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.355e-05/0.008117, allocations: 26.23 kB / 0.7502 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.1e-08/0.008117, allocations: 0 / 0.7502 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001261/0.008243, allocations: 23.95 kB / 0.7502 GB, free: 13.12 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 9.338e-05/0.008337, allocations: 84.41 kB / 0.7503 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.008495, allocations: 243 kB / 0.7505 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.008503, allocations: 4 kB / 0.7505 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.204e-05/0.008565, allocations: 106 kB / 0.7506 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.00872, allocations: 15.98 kB / 0.7506 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.009444, allocations: 243.3 kB / 0.7508 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.395e-05/0.009477, allocations: 59.34 kB / 0.7509 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.009509, allocations: 5.312 kB / 0.7509 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.009577, allocations: 69.11 kB / 0.751 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of SimCode: time 8.61e-07/0.009578, allocations: 0 / 0.751 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.002942/0.01252, allocations: 1.441 MB / 0.7524 GB, free: 10.82 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.793673890642822]