Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 105 kB / 16.42 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 192.3 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 251.7 MB / 0.51 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.719e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests): time 0.006151/0.006192, allocations: 4.505 MB / 0.7308 GB, free: 188 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003489/0.009696, allocations: 1.591 MB / 0.7323 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.01021, allocations: 19.94 kB / 0.7324 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004588/0.01068, allocations: 166 kB / 0.7325 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003646/0.01105, allocations: 174.1 kB / 0.7327 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.01254, allocations: 0.6905 MB / 0.7334 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.0143, allocations: 1.905 MB / 0.7352 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.01599, allocations: 1.321 MB / 0.7365 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007463/0.01675, allocations: 0.6855 MB / 0.7372 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007081/0.01746, allocations: 0.7429 MB / 0.7379 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.01772, allocations: 212 kB / 0.7381 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002943/0.01803, allocations: 224 kB / 0.7383 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001579/0.01962, allocations: 2.218 MB / 0.7405 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0008634/0.02049, allocations: 1.292 MB / 0.7417 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003156/0.02081, allocations: 247.2 kB / 0.742 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0003352/0.02115, allocations: 99.11 kB / 0.7421 GB, free: 4.52 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 (298) * Number of variables: 294 (294) Notification: Performance of Bindings: time 0.006746/0.0279, allocations: 6.843 MB / 0.7488 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0008138/0.02873, allocations: 0.6793 MB / 0.7494 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.00512/0.03386, allocations: 4.616 MB / 0.7539 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0004441/0.03432, allocations: 303.5 kB / 0.7542 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of Alias: time 0.5348/0.5692, allocations: 6.977 MB / 0.761 GB, free: 31.91 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0007317/0.57, allocations: 228.2 kB / 0.7613 GB, free: 31.91 MB / 0.5919 GB Notification: Performance of Events: time 0.001816/0.5718, allocations: 1.18 MB / 0.7624 GB, free: 31.77 MB / 0.5919 GB Notification: Performance of Detect States: time 0.002146/0.5739, allocations: 1.985 MB / 0.7643 GB, free: 31.54 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.002228/0.5762, allocations: 1.519 MB / 0.7658 GB, free: 31.2 MB / 0.5919 GB Notification: Performance of Causalize: time 0.009993/0.5862, allocations: 8.359 MB / 0.774 GB, free: 29.02 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.004924/0.5912, allocations: 4.176 MB / 0.7781 GB, free: 26.49 MB / 0.5919 GB Notification: Performance of Inline: time 0.008325/0.5995, allocations: 6.261 MB / 0.7842 GB, free: 22.81 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0006675/0.6002, allocations: 347.7 kB / 0.7845 GB, free: 22.59 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0007112/0.6009, allocations: 352.2 kB / 0.7848 GB, free: 22.4 MB / 0.5919 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_13 = false ($RES_SIM_32) slice: {}; [SCAL] (1) $TEV_13 = false ($RES_SIM_41) slice: {}; [SCAL] (1) $TEV_19 = false ($RES_SIM_42) slice: {}; [SCAL] (1) $TEV_24 = sysReq_RehBox.edg.pre_u_start ($RES_SIM_44) slice: {}; [SCAL] (1) $TEV_1 = sysReq_RehBox.hys9.pre_y_start ($RES_SIM_53) slice: {}; [SCAL] (1) $TEV_3 = sysReq_RehBox.hys8.pre_y_start ($RES_SIM_55) slice: {}; [SCAL] (1) $TEV_5 = sysReq_RehBox.hys7.pre_y_start ($RES_SIM_57) slice: {}; [SCAL] (1) $TEV_7 = sysReq_RehBox.hys3.pre_y_start ($RES_SIM_63) slice: {}; [SCAL] (1) $TEV_9 = sysReq_RehBox.hys.pre_y_start ($RES_SIM_65) slice: {}; [SCAL] (1) sysReq_RehBox.truHol.toInitial.outPort.set = sysReq_RehBox.truHol.initialStep.inPort[1].set ($RES_SIM_346) slice: {}; [SCAL] (1) sysReq_RehBox.truHol.initialStep.outPort[1].reset = sysReq_RehBox.truHol.toOutputTrue.outPort.set ($RES_SIM_351) slice: {}; [SCAL] (1) $SEV_18 = (sysReq_RehBox.truHol.toOutputTrue.localCondition and sysReq_RehBox.truHol.toOutputTrue.inPort.available) and not sysReq_RehBox.truHol.toOutputTrue.outPort.occupied ($RES_EVT_452) slice: {}; [SCAL] (1) $SEV_17 = (sysReq_RehBox.truHol.toInitial.localCondition and sysReq_RehBox.truHol.toInitial.inPort.available) and not sysReq_RehBox.truHol.toInitial.outPort.occupied ($RES_EVT_451) slice: {}; Notification: Performance of Causalize: time 0.01982/0.6208, allocations: 18.43 MB / 0.8028 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of Tearing: time 1.698e-05/0.6208, allocations: 0 / 0.8028 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of Initialization: time 2.174e-06/0.6208, allocations: 0 / 0.8028 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of Tearing: time 3.596e-05/0.6209, allocations: 2.281 kB / 0.8028 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of Categorize: time 6.693e-05/0.6209, allocations: 11.28 kB / 0.8029 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of Solve: time 0.001953/0.6229, allocations: 0.9036 MB / 0.8037 GB, free: 14 MB / 0.5919 GB Notification: Performance of Jacobian: time 5.2e-06/0.6229, allocations: 0 / 0.8037 GB, free: 14 MB / 0.5919 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: ......... 13 * 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: .................... 35 (35) {TDisHeaSet.y, TDisHeaSet.firstTrigger, TZonCooSet.y, TZonCooSet.firstTrigger, sysReq_RehBox.sampler4.y, sysReq_RehBox.sampler4.firstTrigger, sysReq_RehBox.sampler2.y, sysReq_RehBox.sampler2.firstTrigger, sysReq_RehBox.greEqu.u2, sysReq_RehBox.sampler1.firstTrigger, sysReq_RehBox.gai1.u, sysReq_RehBox.sampler.firstTrigger, sysReq_RehBox.tim5.y, sysReq_RehBox.tim5.t_next, sysReq_RehBox.tim4.y, sysReq_RehBox.tim4.t_next, sysReq_RehBox.tim3.t_next, sysReq_RehBox.and3.u1, sysReq_RehBox.tim2.y, sysReq_RehBox.tim2.t_next, sysReq_RehBox.tim1.y, sysReq_RehBox.tim1.t_next, sysReq_RehBox.truHol.outputTrue.oldActive, sysReq_RehBox.truHol.initialStep.oldActive, sysReq_RehBox.truHol.onDelay.t_next, sysReq_RehBox.truHol.toInitial.localCondition, sysReq_RehBox.tim.yAcc, sysReq_RehBox.tim.entryTime, sysReq_RehBox.lat1.y, sysReq_RehBox.tim.u, sysReq_RehBox.triSam.y, sysReq_RehBox.uniDel.y, sysReq_RehBox.uniDel.firstTrigger, sysReq_RehBox.uniDel.u, sysReq_RehBox.samTZonCooSet.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 155 (155) {sysReq_RehBox.hys.y, sysReq_RehBox.hys3.y, sysReq_RehBox.hys4.y, sysReq_RehBox.hys5.y, sysReq_RehBox.hys7.y, sysReq_RehBox.hys8.y, sysReq_RehBox.hys9.y, sysReq_RehBox.hys10.y, sysReq_RehBox.hys11.y, sysReq_RehBox.samTZonCooSet.sampleTrigger, sysReq_RehBox.uniDel.sampleTrigger, sysReq_RehBox.triSam.trigger, sysReq_RehBox.gre1.y, sysReq_RehBox.hys2.y, sysReq_RehBox.reaToInt.y, sysReq_RehBox.reaToInt1.y, sysReq_RehBox.reaToInt2.y, sysReq_RehBox.reaToInt3.y, sysReq_RehBox.and1.y, sysReq_RehBox.and2.u1, sysReq_RehBox.and2.y, sysReq_RehBox.and3.y, sysReq_RehBox.and4.y, sysReq_RehBox.truHol.stateGraphRoot.activeSteps, sysReq_RehBox.truHol.initialStep.inPort.set, sysReq_RehBox.truHol.initialStep.inPort.occupied, sysReq_RehBox.truHol.initialStep.outPort.reset, sysReq_RehBox.truHol.initialStep.outPort.available, sysReq_RehBox.truHol.initialStep.outerStatePort.localActive, sysReq_RehBox.truHol.initialStep.newActive, sysReq_RehBox.truHol.outputTrue.inPort.set, sysReq_RehBox.truHol.outputTrue.inPort.occupied, sysReq_RehBox.truHol.outputTrue.outPort.reset, sysReq_RehBox.truHol.outputTrue.outPort.available, sysReq_RehBox.truHol.outputTrue.outerStatePort.localActive, sysReq_RehBox.truHol.outputTrue.newActive, sysReq_RehBox.truHol.toOutputTrue.localCondition, sysReq_RehBox.truHol.toOutputTrue.inPort.available, sysReq_RehBox.truHol.toOutputTrue.outPort.occupied, sysReq_RehBox.truHol.toOutputTrue.outPort.set, sysReq_RehBox.truHol.toInitial.inPort.available, sysReq_RehBox.truHol.toInitial.outPort.occupied, sysReq_RehBox.truHol.toInitial.outPort.set, sysReq_RehBox.sampler.sampleTrigger, sysReq_RehBox.sampler1.sampleTrigger, sysReq_RehBox.sampler2.sampleTrigger, sysReq_RehBox.sampler4.sampleTrigger, sysReq_RehBox.greEqu.y, sysReq_RehBox.greEqu1.y, TZonCooSet.sampleTrigger, TDisHeaSet.sampleTrigger, $FUN_10, $FUN_11, $FUN_12, $FUN_13, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_51, $TEV_50, $TEV_49, $TEV_48, $TEV_47, $TEV_46, $TEV_45, $TEV_44, $TEV_43, $TEV_42, $TEV_41, $TEV_40, $TEV_39, $TEV_38, $TEV_37, $TEV_36, $TEV_35, $TEV_34, $TEV_33, $TEV_32, $TEV_31, $TEV_30, $TEV_29, $TEV_28, $TEV_27, $TEV_26, $TEV_25, $TEV_24, $TEV_23, $TEV_22, $TEV_21, $TEV_20, $TEV_19, $TEV_18, $TEV_17, $TEV_16, $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 top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 203 (scalar:203, array:0, record:0) * Number of multi strong components: ............ 35 (algorithm:0, when:35, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (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: ........... 345 (scalar:345, array:0, record:0) * Number of multi strong components: ............ 19 (algorithm:19, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0002118/0.6231, allocations: 160.8 kB / 0.8039 GB, free: 13.95 MB / 0.5919 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not sysReq_RehBox.tim.u