Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability.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.002609/0.002609, allocations: 80.88 kB / 21.56 MB, free: 2.934 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.003014/0.003014, allocations: 166.8 kB / 24.97 MB, free: 8.602 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.647/1.647, allocations: 177.1 MB / 205.4 MB, free: 4.441 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.361/3.361, allocations: 389.5 MB / 0.6361 GB, free: 13.38 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.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.387e-05/3.387e-05, allocations: 2.312 kB / 0.7759 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability): time 0.007217/0.007251, allocations: 1.697 MB / 0.7776 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.005903/0.01315, allocations: 1.715 MB / 0.7793 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005856/0.01374, allocations: 31.81 kB / 0.7793 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.01526, allocations: 382.4 kB / 0.7797 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0006913/0.01595, allocations: 179.2 kB / 0.7798 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.01754, allocations: 295.3 kB / 0.7801 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006565/0.0241, allocations: 3.119 MB / 0.7832 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00438/0.02848, allocations: 1.282 MB / 0.7844 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003172/0.03166, allocations: 1.003 MB / 0.7854 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002158/0.03381, allocations: 0.7645 MB / 0.7861 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007443/0.03456, allocations: 164 kB / 0.7863 GB, free: 3.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009205/0.03548, allocations: 199.9 kB / 0.7865 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of combineBinaries: time 0.003202/0.03868, allocations: 1.377 MB / 0.7878 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of replaceArrayConstructors: time 0.001041/0.03972, allocations: 0.5508 MB / 0.7884 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.04007, allocations: 72 kB / 0.7884 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.0002313/0.0403, allocations: 35.67 kB / 0.7885 GB, free: 1.031 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 817 (361) * Number of variables: 817 (91) Notification: Performance of [SIM] Bindings: time 0.01334/0.05365, allocations: 5.813 MB / 0.7942 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of [SIM] FunctionAlias: time 0.002407/0.05605, allocations: 1.091 MB / 0.7952 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of [SIM] Early Inline: time 0.009844/0.0659, allocations: 5.449 MB / 0.8005 GB, free: 4.355 MB / 0.7605 GB Notification: Performance of [SIM] Simplify 1: time 0.001599/0.0675, allocations: 0.6125 MB / 0.8011 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of [SIM] Alias: time 0.4518/0.5193, allocations: 4.845 MB / 0.8059 GB, free: 32.62 MB / 0.7605 GB Notification: Performance of [SIM] Simplify 2: time 0.001006/0.5203, allocations: 0.5765 MB / 0.8064 GB, free: 32.45 MB / 0.7605 GB Notification: Performance of [SIM] Remove Stream: time 0.0006473/0.521, allocations: 0.5274 MB / 0.8069 GB, free: 32.28 MB / 0.7605 GB Notification: Performance of [SIM] Detect States: time 0.001691/0.5227, allocations: 1.452 MB / 0.8084 GB, free: 32.11 MB / 0.7605 GB Notification: Performance of [SIM] Events: time 0.001225/0.5239, allocations: 0.976 MB / 0.8093 GB, free: 32.01 MB / 0.7605 GB Notification: Performance of [SIM] Partitioning: time 0.003038/0.5269, allocations: 2.377 MB / 0.8116 GB, free: 31.11 MB / 0.7605 GB Notification: Performance of [SIM] Causalize: time 0.007961/0.5349, allocations: 5.123 MB / 0.8166 GB, free: 29.68 MB / 0.7605 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.007068/0.542, allocations: 5.795 MB / 0.8223 GB, free: 26.62 MB / 0.7605 GB Notification: Performance of [INI] Simplify: time 0.004126/0.5461, allocations: 1.787 MB / 0.824 GB, free: 25.59 MB / 0.7605 GB Notification: Performance of [INI] Inline: time 0.01138/0.5575, allocations: 8.288 MB / 0.8321 GB, free: 21.16 MB / 0.7605 GB Notification: Performance of [INI] Partitioning: time 0.0003183/0.5578, allocations: 84.67 kB / 0.8322 GB, free: 21.1 MB / 0.7605 GB Notification: Performance of [INI] Cleanup: time 0.001825/0.5596, allocations: 1.323 MB / 0.8335 GB, free: 20.28 MB / 0.7605 GB Notification: Performance of [INI] Causalize: time 0.01168/0.5713, allocations: 6.086 MB / 0.8395 GB, free: 18.4 MB / 0.7605 GB Notification: Performance of [INI] Tearing: time 9.732e-05/0.5714, allocations: 181.1 kB / 0.8396 GB, free: 18.27 MB / 0.7605 GB Notification: Performance of [SIM] Initialization: time 1.593e-06/0.5714, allocations: 3.812 kB / 0.8396 GB, free: 18.27 MB / 0.7605 GB Notification: Performance of [SIM] Remove Dummies: time 2.254e-05/0.5714, allocations: 6.422 kB / 0.8396 GB, free: 18.26 MB / 0.7605 GB Notification: Performance of [SIM] Tearing: time 8.777e-05/0.5715, allocations: 173.8 kB / 0.8398 GB, free: 18.13 MB / 0.7605 GB Notification: Performance of [SIM] Categorize: time 2.63e-05/0.5715, allocations: 6.875 kB / 0.8398 GB, free: 18.13 MB / 0.7605 GB Notification: Performance of [SIM] Solve: time 0.00417/0.5757, allocations: 1.777 MB / 0.8415 GB, free: 17.35 MB / 0.7605 GB Notification: Performance of [SIM] Jacobian: time 3.18e-05/0.5757, allocations: 1 kB / 0.8415 GB, free: 17.35 MB / 0.7605 GB Notification: Performance of [SIM] Minimize Homotopy System: time 1.032e-06/0.5757, allocations: 0 / 0.8415 GB, free: 17.35 MB / 0.7605 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 4 (2) {u1AvaEqu.intTimTab.y, u1AvaEqu.intTimTab.idx} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 481 (65) {u1AvaEqu.y, avaStaEqu.u1Ava, avaStaEqu.y1, avaStaEqu.isReq.y, avaStaEqu.isReq.greNoHys.y, avaStaEqu.isReqPosAlt.y, avaStaEqu.isReqPosAlt.greNoHys.y, avaStaEqu.isNotReqNoAlt.y, avaStaEqu.isNotReqNoAlt.lesNoHys.y, avaStaEqu.booVecRep.y, avaStaEqu.isReqAva.u2, avaStaEqu.isReqAva.y, avaStaEqu.isReqAltAva.u2, avaStaEqu.isReqAltAva.y, avaStaEqu.isReqAvaOrNotReq.y, avaStaEqu.all.y, avaStaEqu.all.uTemp, avaStaEqu.isReqAltAvaGreReq.y, avaStaEqu.nReqAltAva.u, avaStaEqu.nReqAltAva.y, avaStaEqu.nEquStaInt.y, avaStaOneTwo.u1Ava, avaStaOneTwo.y1, avaStaOneTwo.isReq.y, avaStaOneTwo.isReq.greNoHys.y, avaStaOneTwo.isReqPosAlt.y, avaStaOneTwo.isReqPosAlt.greNoHys.y, avaStaOneTwo.isNotReqNoAlt.y, avaStaOneTwo.isNotReqNoAlt.lesNoHys.y, avaStaOneTwo.booVecRep.y, avaStaOneTwo.isReqAva.u2, avaStaOneTwo.isReqAva.y, avaStaOneTwo.isReqAltAva.u2, avaStaOneTwo.isReqAltAva.y, avaStaOneTwo.isReqAvaOrNotReq.y, avaStaOneTwo.all.y, avaStaOneTwo.all.uTemp, avaStaOneTwo.isReqAltAvaGreReq.y, avaStaOneTwo.nReqAltAva.u, avaStaOneTwo.nReqAltAva.y, avaStaOneTwo.nEquStaInt.y, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_15, $TEV_14, $TEV_13, $TEV_12, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Warning: Cannot classify strong component: BLOCK: Sliced Component (status = Solve.EXPLICIT, size = 3) ------------------------------------------------------------- ### Variable: u1AvaEqu.intTimTab.y[:] ### Equation: [WHEN] (3) ($RES_SIM_75) [----] when {$TEV_8, $TEV_9, $TEV_10, $TEV_11, $TEV_12, $TEV_13, $TEV_14, $TEV_15} then [----] u1AvaEqu.intTimTab.y[:] := u1AvaEqu.intTimTab.val[u1AvaEqu.intTimTab.idx, :] [----] end when; Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 310 (scalar:310, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, if:0, tuple:0) * Number of for-loop strong components: ......... 41 (resizable: 41, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 317 (scalar:315, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 43 (resizable: 43, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001915/0.5759, allocations: 135.1 kB / 0.8417 GB, free: 17.24 MB / 0.7605 GB Notification: Performance of SimCode: time 0.01031/0.5862, allocations: 8.244 MB / 0.8497 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of Templates: time 0.04371/0.6299, allocations: 18.58 MB / 0.8679 GB, free: 9.613 MB / 0.7761 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageAvailability.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.341846583411098]