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.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 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.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.0009591/0.0009591, allocations: 107.3 kB / 16.38 MB, free: 6.441 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.0009359/0.0009359, allocations: 190.5 kB / 17.31 MB, free: 5.789 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.348/1.348, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.783/1.783, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/2.911e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.006088/0.006137, allocations: 4.736 MB / 0.6775 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003301/0.009455, allocations: 1.618 MB / 0.6791 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.01, allocations: 23.94 kB / 0.6791 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.01042, allocations: 146.2 kB / 0.6793 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.01077, allocations: 138.5 kB / 0.6794 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.01182, allocations: 0.5657 MB / 0.6799 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001659/0.01349, allocations: 1.551 MB / 0.6815 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.01501, allocations: 1.176 MB / 0.6826 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005102/0.01553, allocations: 0.5373 MB / 0.6831 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.01601, allocations: 0.5677 MB / 0.6837 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.01621, allocations: 176 kB / 0.6839 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.01643, allocations: 188 kB / 0.684 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001112/0.01755, allocations: 1.849 MB / 0.6858 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0005475/0.0181, allocations: 1.131 MB / 0.6869 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.01831, allocations: 203.3 kB / 0.6871 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0002264/0.01855, allocations: 95.11 kB / 0.6872 GB, free: 7.07 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: 278 (278) * Number of variables: 274 (274) Notification: Performance of Bindings: time 0.004844/0.0234, allocations: 5.709 MB / 0.6928 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0006498/0.02406, allocations: 0.7053 MB / 0.6935 GB, free: 436 kB / 0.5606 GB Notification: Performance of Early Inline: time 0.003234/0.0273, allocations: 3.522 MB / 0.6969 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0002511/0.02756, allocations: 239.6 kB / 0.6972 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of Alias: time 0.006986/0.03455, allocations: 6.498 MB / 0.7035 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0001632/0.03473, allocations: 143.8 kB / 0.7036 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of Events: time 0.0007402/0.03548, allocations: 0.648 MB / 0.7043 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0008667/0.03635, allocations: 0.9583 MB / 0.7052 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0009451/0.03731, allocations: 0.9566 MB / 0.7061 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of Causalize: time 0.004982/0.0423, allocations: 5.252 MB / 0.7113 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.002367/0.04468, allocations: 2.465 MB / 0.7137 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of Inline: time 0.004331/0.04902, allocations: 4.264 MB / 0.7178 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0002937/0.04933, allocations: 247.6 kB / 0.7181 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0005013/0.04983, allocations: 491.4 kB / 0.7186 GB, free: 5.789 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_267) slice: {}; [SCAL] (1) damVal.truHol2.initialStep.outPort[1].reset = damVal.truHol2.toOutputTrue.outPort.set ($RES_SIM_272) 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_356) slice: {}; [SCAL] (1) $SEV_12 = (damVal.truHol2.toOutputTrue.localCondition and damVal.truHol2.toOutputTrue.inPort.available) and not damVal.truHol2.toOutputTrue.outPort.occupied ($RES_EVT_350) slice: {}; [SCAL] (1) $SEV_11 = (damVal.truHol2.toInitial.localCondition and damVal.truHol2.toInitial.inPort.available) and not damVal.truHol2.toInitial.outPort.occupied ($RES_EVT_349) slice: {}; Notification: Performance of Causalize: time 0.02151/0.07136, allocations: 25.14 MB / 0.7431 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of Tearing: time 2.425e-05/0.07141, allocations: 4 kB / 0.7431 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of Initialization: time 1.873e-06/0.07142, allocations: 0 / 0.7431 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of Tearing: time 1.269e-05/0.07144, allocations: 4 kB / 0.7431 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of Categorize: time 2.964e-05/0.07147, allocations: 7.938 kB / 0.7431 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of Solve: time 0.001764/0.07324, allocations: 1.078 MB / 0.7442 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of Jacobian: time 0.001177/0.07443, allocations: 1.215 MB / 0.7454 GB, free: 11.91 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: ............... 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: ........... 132 (scalar:132, 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: ........... 245 (scalar:245, 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: ........... 245 (scalar:245, 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.0001545/0.07459, allocations: 133.3 kB / 0.7455 GB, free: 11.79 MB / 0.6231 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not damVal.hys4.y)