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.Generic.SetPoints.Validation.OperationMode.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.Generic.SetPoints.Validation.OperationMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 105.8 kB / 16.42 MB, free: 6.512 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.001122/0.001122, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.629/1.629, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.438/1.438, allocations: 251.7 MB / 0.51 GB, free: 428 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.091e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode): time 0.006333/0.006374, allocations: 3.937 MB / 0.7303 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003801/0.01021, allocations: 1.653 MB / 0.7319 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/0.01076, allocations: 15.94 kB / 0.7319 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.01141, allocations: 186.2 kB / 0.7321 GB, free: 14.88 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005284/0.01195, allocations: 170.5 kB / 0.7322 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.01296, allocations: 0.4992 MB / 0.7327 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.01423, allocations: 1.341 MB / 0.734 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008944/0.01513, allocations: 0.629 MB / 0.7346 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.01574, allocations: 0.4903 MB / 0.7351 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005181/0.01627, allocations: 0.5404 MB / 0.7356 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.01644, allocations: 136 kB / 0.7358 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.01674, allocations: 164 kB / 0.7359 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.001219/0.01796, allocations: 1.749 MB / 0.7376 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.000614/0.01859, allocations: 1.085 MB / 0.7387 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.0188, allocations: 175.3 kB / 0.7389 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0002833/0.01909, allocations: 75.19 kB / 0.7389 GB, free: 7.758 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: 248 (248) * Number of variables: 248 (248) Notification: Performance of Bindings: time 0.004859/0.02396, allocations: 4.982 MB / 0.7438 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0005632/0.02453, allocations: 0.5514 MB / 0.7443 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.002926/0.02746, allocations: 3.064 MB / 0.7473 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0002523/0.02773, allocations: 235.6 kB / 0.7476 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of Alias: time 0.006632/0.03437, allocations: 5.548 MB / 0.753 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0002225/0.03462, allocations: 155.7 kB / 0.7531 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of Events: time 0.001044/0.03567, allocations: 0.8095 MB / 0.7539 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of Detect States: time 0.001019/0.0367, allocations: 0.9699 MB / 0.7549 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.001135/0.03784, allocations: 0.9607 MB / 0.7558 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of Causalize: time 0.005886/0.04374, allocations: 5.482 MB / 0.7611 GB, free: 64 kB / 0.5919 GB Notification: Performance of After Index Reduction Inline: time 0.4572/0.5009, allocations: 2.608 MB / 0.7637 GB, free: 33.23 MB / 0.5919 GB Notification: Performance of Inline: time 0.005794/0.5068, allocations: 3.978 MB / 0.7676 GB, free: 32.73 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0003514/0.5072, allocations: 197.2 kB / 0.7678 GB, free: 32.62 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0003161/0.5075, allocations: 201.3 kB / 0.768 GB, free: 32.5 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_4 = false ($RES_SIM_22) slice: {}; [SCAL] (1) $TEV_5 = false ($RES_SIM_23) slice: {}; [SCAL] (1) $SEV_34 = not $PRE.opeModSel.and2.u1 and opeModSel.add5.y > opeModSel.hys4.uHigh or $PRE.opeModSel.and2.u1 and opeModSel.add5.y >= opeModSel.hys4.uLow ($RES_EVT_347) slice: {}; [SCAL] (1) $SEV_33 = not $PRE.opeModSel.and1.u1 and opeModSel.add6.y > opeModSel.hys5.uHigh or $PRE.opeModSel.and1.u1 and opeModSel.add6.y >= opeModSel.hys5.uLow ($RES_EVT_346) slice: {}; Notification: Performance of Causalize: time 0.01658/0.5241, allocations: 11.92 MB / 0.7796 GB, free: 27.59 MB / 0.5919 GB Notification: Performance of Tearing: time 1.394e-05/0.5242, allocations: 0 / 0.7796 GB, free: 27.59 MB / 0.5919 GB Notification: Performance of Initialization: time 2.335e-06/0.5242, allocations: 1.156 kB / 0.7796 GB, free: 27.59 MB / 0.5919 GB Notification: Performance of Tearing: time 1.497e-05/0.5242, allocations: 1.031 kB / 0.7796 GB, free: 27.59 MB / 0.5919 GB Notification: Performance of Categorize: time 4.209e-05/0.5242, allocations: 9.5 kB / 0.7796 GB, free: 27.59 MB / 0.5919 GB Notification: Performance of Solve: time 0.001701/0.5259, allocations: 1.15 MB / 0.7807 GB, free: 26.79 MB / 0.5919 GB Notification: Performance of Jacobian: time 5.922e-06/0.526, allocations: 4.906 kB / 0.7807 GB, free: 26.79 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: ......... 7 * 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: .................... 7 (7) {opeModSel.lat4.y, opeModSel.lat3.y, opeModSel.booToRea6.u, opeModSel.booToRea4.u, opeModSel.booToRea3.u, occTim.tab.nextTimeEvent, occTim.tab.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 118 (118) {lesEqu.y, lesEqu1.y, occ.y, opeModSel.yOpeMod, opeModSel.intGreThr.y, opeModSel.intGreThr1.y, opeModSel.falEdg.y, opeModSel.falEdg.not_u, opeModSel.falEdg1.y, opeModSel.falEdg1.not_u, opeModSel.hys2.y, opeModSel.hys3.y, opeModSel.hys9.y, opeModSel.hys10.y, opeModSel.intGreThr2.y, opeModSel.intGreThr3.y, opeModSel.addInt.y, opeModSel.addInt1.y, opeModSel.addInt2.y, opeModSel.addInt3.y, opeModSel.addInt4.y, opeModSel.occMod.y, opeModSel.setBacMod.y, opeModSel.freProSetBacMod.y, opeModSel.setUpMod.y, opeModSel.booToInt1.u, opeModSel.booToInt1.y, opeModSel.booToInt.u, opeModSel.booToInt.y, opeModSel.booToInt3.y, opeModSel.and1.u1, opeModSel.and2.u1, opeModSel.or1.y, opeModSel.or4.y, opeModSel.or5.y, opeModSel.or6.y, opeModSel.swi3.u2, opeModSel.notOcc.y, opeModSel.and3.y, greEqu.y, greEqu1.y, booToInt.y, booToInt1.y, $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_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: ........... 160 (scalar:159, array:1, record:0) * Number of multi strong components: ............ 7 (algorithm:0, when:7, 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: ........... 234 (scalar:230, array:3, record:1) * Number of multi strong components: ............ 7 (algorithm:7, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 0.0001195/0.5261, allocations: 103.2 kB / 0.7808 GB, free: 26.77 MB / 0.5919 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not opeModSel.and1.u1