Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|damVal.uHea|damVal.uCoo|damVal.VDisSet_flow|damVal.yDam|damVal.TDisHeaSet|damVal.yHeaVal|damVal.conVal.u_s|damVal.conVal.u_m",fileNamePrefix="Buildings_9_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="mat",numberOfIntervals=5000,variableFilter="time|damVal.uHea|damVal.uCoo|damVal.VDisSet_flow|damVal.yDam|damVal.TDisHeaSet|damVal.yHeaVal|damVal.conVal.u_s|damVal.conVal.u_m",fileNamePrefix="Buildings_9_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.0009147/0.0009148, allocations: 111.2 kB / 16.43 MB, free: 6.5 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.0009519/0.0009518, allocations: 183.8 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.942/1.942, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.163e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves): time 0.005095/0.005116, allocations: 4.708 MB / 0.9561 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.00752, allocations: 1.598 MB / 0.9576 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000334/0.007864, allocations: 27.88 kB / 0.9577 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003092/0.00818, allocations: 142.3 kB / 0.9578 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.00849, allocations: 130.6 kB / 0.9579 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.0093, allocations: 0.5695 MB / 0.9585 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.0104, allocations: 1.524 MB / 0.96 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.01149, allocations: 1.165 MB / 0.9611 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004111/0.01191, allocations: 0.5412 MB / 0.9616 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004064/0.01232, allocations: 0.5638 MB / 0.9622 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001699/0.0125, allocations: 172 kB / 0.9623 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.01268, allocations: 176 kB / 0.9625 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.000905/0.01359, allocations: 1.8 MB / 0.9643 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0004611/0.01406, allocations: 1.088 MB / 0.9653 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.01422, allocations: 211.3 kB / 0.9655 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0001689/0.0144, allocations: 103.1 kB / 0.9656 GB, free: 9.09 MB / 0.7481 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.004101/0.0185, allocations: 5.573 MB / 0.9711 GB, free: 3.309 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0005105/0.01902, allocations: 0.6893 MB / 0.9717 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.002824/0.02185, allocations: 3.491 MB / 0.9752 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of simplify1: time 0.0001874/0.02205, allocations: 235.6 kB / 0.9754 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of Alias: time 0.006788/0.02884, allocations: 7.307 MB / 0.9825 GB, free: 6.84 MB / 0.7637 GB Notification: Performance of simplify2: time 0.0001289/0.02898, allocations: 139.8 kB / 0.9826 GB, free: 6.703 MB / 0.7637 GB Notification: Performance of Detect States: time 0.0006874/0.02968, allocations: 0.8629 MB / 0.9835 GB, free: 5.828 MB / 0.7637 GB Notification: Performance of Events: time 0.0006489/0.03033, allocations: 0.6338 MB / 0.9841 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of Partitioning: time 0.0008933/0.03124, allocations: 0.9842 MB / 0.9851 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of Causalize: time 0.003535/0.03478, allocations: 3.499 MB / 0.9885 GB, free: 468 kB / 0.7637 GB Notification: Performance of After Index Reduction Inline: time 0.002061/0.03685, allocations: 2.457 MB / 0.9909 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of Inline: time 0.004073/0.04093, allocations: 4.597 MB / 0.9954 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.000289/0.04123, allocations: 275.9 kB / 0.9956 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of Cleanup: time 0.0004135/0.04165, allocations: 499.6 kB / 0.9961 GB, free: 8.43 MB / 0.7794 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_9 = false ($RES_SIM_17) slice: {}; [SCAL] (1) $TEV_3 = damVal.hys4.pre_y_start ($RES_SIM_23) slice: {}; [SCAL] (1) $TEV_1 = damVal.hys2.pre_y_start ($RES_SIM_27) 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_12 = (damVal.truHol2.toOutputTrue.localCondition and damVal.truHol2.toOutputTrue.inPort.available) and not damVal.truHol2.toOutputTrue.outPort.occupied ($RES_EVT_354) slice: {}; [SCAL] (1) $SEV_11 = (damVal.truHol2.toInitial.localCondition and damVal.truHol2.toInitial.inPort.available) and not damVal.truHol2.toInitial.outPort.occupied ($RES_EVT_353) slice: {}; Notification: Performance of Causalize: time 0.02077/0.06244, allocations: 20.07 MB / 1.016 GB, free: 3.668 MB / 0.795 GB Notification: Performance of Tearing: time 3.117e-05/0.06249, allocations: 0 / 1.016 GB, free: 3.668 MB / 0.795 GB Notification: Performance of Initialization: time 1.172e-06/0.0625, allocations: 3.938 kB / 1.016 GB, free: 3.664 MB / 0.795 GB Notification: Performance of Tearing: time 1.334e-05/0.06252, allocations: 4 kB / 1.016 GB, free: 3.66 MB / 0.795 GB Notification: Performance of Categorize: time 2.456e-05/0.06255, allocations: 7.938 kB / 1.016 GB, free: 3.652 MB / 0.795 GB Notification: Performance of Solve: time 0.001171/0.06372, allocations: 0.7756 MB / 1.016 GB, free: 2.852 MB / 0.795 GB Notification: Performance of Jacobian: time 0.0011/0.06483, allocations: 1.179 MB / 1.018 GB, free: 1.625 MB / 0.795 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: ......... 12 * 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: .................... 10 (10) {damVal.truDel4.t_next, damVal.and4.u1, damVal.truDel3.y, damVal.truDel3.t_next, damVal.truHol2.toInitial.t_start, damVal.truHol2.toOutputTrue.t_start, 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: ................. 84 (84) {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_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: ........... 132 (scalar:132, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:0, when:10, 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: ........... 254 (scalar:254, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 254 (scalar:254, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001095/0.06495, allocations: 131.7 kB / 1.018 GB, free: 1.484 MB / 0.795 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not damVal.hys4.y)