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.DamperValves.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.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 105.7 kB / 16.42 MB, free: 6.031 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.001123/0.001123, allocations: 186 kB / 17.35 MB, free: 5.602 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.658/1.658, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.442/1.442, allocations: 251.7 MB / 0.51 GB, free: 388 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.476e-05/3.478e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.007276/0.007331, allocations: 5.023 MB / 0.7313 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00565/0.01304, allocations: 1.977 MB / 0.7332 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.01522, allocations: 23.94 kB / 0.7333 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007911/0.01604, allocations: 158.1 kB / 0.7334 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008374/0.0169, allocations: 134.5 kB / 0.7335 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.01906, allocations: 0.5891 MB / 0.7341 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002661/0.02174, allocations: 1.586 MB / 0.7357 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.02395, allocations: 1.278 MB / 0.7369 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007914/0.02476, allocations: 0.5489 MB / 0.7374 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006339/0.0254, allocations: 0.5755 MB / 0.738 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.02564, allocations: 180 kB / 0.7382 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.02593, allocations: 195.9 kB / 0.7384 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.00162/0.02756, allocations: 1.884 MB / 0.7402 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0008984/0.02847, allocations: 1.173 MB / 0.7413 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005372/0.02901, allocations: 211.3 kB / 0.7415 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0005579/0.02958, allocations: 99.11 kB / 0.7416 GB, free: 4.926 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: 284 (284) * Number of variables: 280 (280) Notification: Performance of Bindings: time 0.007259/0.03685, allocations: 5.853 MB / 0.7474 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0009176/0.03779, allocations: 0.7138 MB / 0.7481 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.004469/0.04227, allocations: 3.593 MB / 0.7516 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0004771/0.04279, allocations: 239.6 kB / 0.7518 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of Alias: time 0.01113/0.05393, allocations: 6.651 MB / 0.7583 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0005066/0.05454, allocations: 147.8 kB / 0.7584 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of Events: time 0.001026/0.05558, allocations: 0.6454 MB / 0.7591 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of Detect States: time 0.001255/0.05684, allocations: 0.9662 MB / 0.76 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.5784/0.6353, allocations: 0.9986 MB / 0.761 GB, free: 31.68 MB / 0.5919 GB Notification: Performance of Causalize: time 0.006576/0.6419, allocations: 5.337 MB / 0.7662 GB, free: 31.09 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.002737/0.6447, allocations: 2.492 MB / 0.7686 GB, free: 30.94 MB / 0.5919 GB Notification: Performance of Inline: time 0.00544/0.6501, allocations: 4.509 MB / 0.773 GB, free: 28.6 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0003416/0.6505, allocations: 268.5 kB / 0.7733 GB, free: 28.42 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0006318/0.6511, allocations: 498.8 kB / 0.7738 GB, free: 28.11 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_6 = false ($RES_SIM_15) slice: {}; [SCAL] (1) $TEV_1 = damVal.hys2.pre_y_start ($RES_SIM_25) slice: {}; [SCAL] (1) damVal.truHol2.toInitial.outPort.set = damVal.truHol2.initialStep.inPort[1].set ($RES_SIM_269) slice: {}; [SCAL] (1) damVal.truHol2.initialStep.outPort[1].reset = damVal.truHol2.toOutputTrue.outPort.set ($RES_SIM_274) slice: {}; [SCAL] (1) $SEV_18 = not $PRE.damVal.hys4.y and TDis.k > damVal.hys4.uHigh or $PRE.damVal.hys4.y and TDis.k >= damVal.hys4.uLow ($RES_EVT_362) slice: {}; [SCAL] (1) $SEV_12 = (damVal.truHol2.toOutputTrue.localCondition and damVal.truHol2.toOutputTrue.inPort.available) and not damVal.truHol2.toOutputTrue.outPort.occupied ($RES_EVT_356) slice: {}; [SCAL] (1) $SEV_11 = (damVal.truHol2.toInitial.localCondition and damVal.truHol2.toInitial.inPort.available) and not damVal.truHol2.toInitial.outPort.occupied ($RES_EVT_355) slice: {}; Notification: Performance of Causalize: time 0.02842/0.6796, allocations: 25.99 MB / 0.7991 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of Tearing: time 3.801e-05/0.6797, allocations: 0 / 0.7991 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of Initialization: time 2.325e-06/0.6797, allocations: 1.125 kB / 0.7991 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of Tearing: time 2.842e-05/0.6797, allocations: 4.656 kB / 0.7991 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of Categorize: time 5.025e-05/0.6798, allocations: 5.484 kB / 0.7992 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of Solve: time 0.002267/0.682, allocations: 1.065 MB / 0.8002 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of Jacobian: time 0.001402/0.6834, allocations: 1.218 MB / 0.8014 GB, free: 14.95 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: ............... 1 * Number of algebraic event partitions: ......... 10 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {damVal.conVal.addPID.u2} * Number of discrete states: .................... 8 (8) {damVal.truDel4.t_next, damVal.and4.u1, damVal.truDel3.y, damVal.truDel3.t_next, damVal.truHol2.outputTrue.oldActive, damVal.truHol2.initialStep.oldActive, damVal.truHol2.onDelay.t_next, damVal.truHol2.toInitial.localCondition} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 82 (82) {damVal.and2.y, damVal.and4.y, damVal.hys2.y, damVal.hys4.y, damVal.hys6.y, damVal.hys7.y, damVal.truHol2.stateGraphRoot.activeSteps, damVal.truHol2.initialStep.inPort.set, damVal.truHol2.initialStep.inPort.occupied, damVal.truHol2.initialStep.outPort.reset, damVal.truHol2.initialStep.outPort.available, damVal.truHol2.initialStep.outerStatePort.localActive, damVal.truHol2.initialStep.newActive, damVal.truHol2.outputTrue.inPort.set, damVal.truHol2.outputTrue.inPort.occupied, damVal.truHol2.outputTrue.outPort.reset, damVal.truHol2.outputTrue.outPort.available, damVal.truHol2.outputTrue.outerStatePort.localActive, damVal.truHol2.outputTrue.newActive, damVal.truHol2.toOutputTrue.localCondition, damVal.truHol2.toOutputTrue.inPort.available, damVal.truHol2.toOutputTrue.outPort.occupied, damVal.truHol2.toOutputTrue.outPort.set, damVal.truHol2.toInitial.inPort.available, damVal.truHol2.toInitial.outPort.occupied, damVal.truHol2.toInitial.outPort.set, damVal.watValPosUno.u2, damVal.or2.y, damVal.and1.y, $FUN_1, $FUN_2, $FUN_3, $FUN_4, $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_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: ........... 134 (scalar:134, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 250 (scalar:250, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:6, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 250 (scalar:250, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:6, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 0.0001709/0.6836, allocations: 138.4 kB / 0.8015 GB, free: 14.93 MB / 0.5919 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not damVal.hys4.y)