Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001129/0.00113, allocations: 103.7 kB / 16.37 MB, free: 6.367 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.001088/0.001088, allocations: 195.3 kB / 17.31 MB, free: 5.91 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.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/2.883e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.SystemRequests): time 0.006072/0.00612, allocations: 4.546 MB / 0.6773 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003757/0.009912, allocations: 1.814 MB / 0.6791 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007268/0.01066, allocations: 31.81 kB / 0.6791 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004559/0.01113, allocations: 181.9 kB / 0.6793 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.01149, allocations: 170.1 kB / 0.6795 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.01303, allocations: 0.7451 MB / 0.6802 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001746/0.01479, allocations: 1.995 MB / 0.6821 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.01657, allocations: 1.471 MB / 0.6836 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007306/0.01731, allocations: 0.7088 MB / 0.6843 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006153/0.01793, allocations: 0.7663 MB / 0.685 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002417/0.01818, allocations: 220 kB / 0.6852 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.01849, allocations: 248 kB / 0.6855 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001351/0.01985, allocations: 2.31 MB / 0.6877 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0007091/0.02057, allocations: 1.35 MB / 0.689 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002981/0.02087, allocations: 259.2 kB / 0.6893 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0003606/0.02124, allocations: 103 kB / 0.6894 GB, free: 4.82 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 308 (308) * Number of variables: 304 (304) Notification: Performance of Bindings: time 0.006399/0.02764, allocations: 6.916 MB / 0.6961 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0009322/0.02859, allocations: 0.8897 MB / 0.697 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.005475/0.03408, allocations: 5.76 MB / 0.7026 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0004371/0.03454, allocations: 363.4 kB / 0.703 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of Alias: time 0.008376/0.04293, allocations: 7.387 MB / 0.7102 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0004442/0.04342, allocations: 287.6 kB / 0.7105 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of Events: time 0.001754/0.04518, allocations: 1.402 MB / 0.7118 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of Detect States: time 0.002012/0.0472, allocations: 2.068 MB / 0.7139 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001895/0.04911, allocations: 1.645 MB / 0.7155 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of Causalize: time 0.008433/0.05755, allocations: 8.626 MB / 0.7239 GB, free: 72 kB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.0049/0.06251, allocations: 4.441 MB / 0.7282 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Inline: time 0.007682/0.07022, allocations: 7.363 MB / 0.7354 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0005496/0.07082, allocations: 355.1 kB / 0.7358 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of Cleanup: time 0.0005503/0.07138, allocations: 363.5 kB / 0.7361 GB, free: 3.379 MB / 0.6075 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_25 = 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_353) slice: {}; [SCAL] (1) sysReq_RehBox.truHol.initialStep.outPort[1].reset = sysReq_RehBox.truHol.toOutputTrue.outPort.set ($RES_SIM_358) slice: {}; [SCAL] (1) $SEV_28 = (sysReq_RehBox.truHol.toOutputTrue.localCondition and sysReq_RehBox.truHol.toOutputTrue.inPort.available) and not sysReq_RehBox.truHol.toOutputTrue.outPort.occupied ($RES_EVT_473) slice: {}; [SCAL] (1) $SEV_27 = (sysReq_RehBox.truHol.toInitial.localCondition and sysReq_RehBox.truHol.toInitial.inPort.available) and not sysReq_RehBox.truHol.toInitial.outPort.occupied ($RES_EVT_472) slice: {}; Notification: Performance of Causalize: time 0.01856/0.08995, allocations: 19.31 MB / 0.755 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of Tearing: time 1.845e-05/0.09, allocations: 3.938 kB / 0.755 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of Initialization: time 1.874e-06/0.09001, allocations: 4 kB / 0.755 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of Tearing: time 2.04e-05/0.09003, allocations: 3.984 kB / 0.755 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of Categorize: time 5.115e-05/0.09009, allocations: 15.94 kB / 0.755 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of Solve: time 0.001842/0.09195, allocations: 0.9824 MB / 0.7559 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of Jacobian: time 3.787e-06/0.09197, allocations: 0 / 0.7559 GB, free: 0.7227 MB / 0.6231 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: ......... 22 * 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: .................... 32 (32) {TDisHeaSet.y, TZonCooSet.y, sysReq_RehBox.sampler4.y, sysReq_RehBox.sampler4.firstTrigger, sysReq_RehBox.sampler2.y, sysReq_RehBox.sampler2.firstTrigger, sysReq_RehBox.greVDis50.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.entryTime, sysReq_RehBox.tim.passed, sysReq_RehBox.lat1.y, sysReq_RehBox.tim.u, sysReq_RehBox.triSam.y, sysReq_RehBox.uniDel.y, sysReq_RehBox.uniDel.u, sysReq_RehBox.samTZonCooSet.firstTrigger} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 165 (165) {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.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.u2, sysReq_RehBox.and3.y, sysReq_RehBox.and4.u2, sysReq_RehBox.and4.y, sysReq_RehBox.swi.u2, 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, TZonCooSet.sampleTrigger, TDisHeaSet.sampleTrigger, $FUN_10, $FUN_11, $FUN_12, $FUN_13, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $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_52, $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: ........... 213 (scalar:213, array:0, record:0) * Number of multi strong components: ............ 32 (algorithm:0, when:32, 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: ........... 349 (scalar:349, 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.0001617/0.09214, allocations: 169.3 kB / 0.7561 GB, free: 0.5625 MB / 0.6231 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not sysReq_RehBox.tim.u