Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Validation.Controller.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.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Validation.Controller") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Validation.Controller,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Validation.Controller") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001302, allocations: 106.8 kB / 16.38 MB, free: 6.445 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.001352/0.001352, allocations: 192.7 kB / 17.32 MB, free: 5.785 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.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.76/1.76, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/2.917e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Validation.Controller): time 0.02579/0.02584, allocations: 19.3 MB / 0.6917 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02036/0.04625, allocations: 8.72 MB / 0.7002 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007387/0.05369, allocations: 143.4 kB / 0.7004 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.0579, allocations: 0.9811 MB / 0.7013 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006004/0.06392, allocations: 0.8466 MB / 0.7022 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008835/0.07282, allocations: 3.921 MB / 0.706 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01568/0.08852, allocations: 10.76 MB / 0.7165 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/0.1028, allocations: 8.497 MB / 0.7248 GB, free: 448 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006217/0.1091, allocations: 3.485 MB / 0.7282 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005119/0.1142, allocations: 3.628 MB / 0.7318 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003757/0.118, allocations: 1.305 MB / 0.733 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.1213, allocations: 1.328 MB / 0.7343 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.01085/0.1321, allocations: 11.6 MB / 0.7456 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of replaceArrayConstructors: time 0.005596/0.1378, allocations: 6.932 MB / 0.7524 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.003077/0.1409, allocations: 1.387 MB / 0.7538 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of FrontEnd: time 0.002063/0.143, allocations: 0.5184 MB / 0.7543 GB, free: 1.973 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1653 (1653) * Number of variables: 1637 (1637) Notification: Performance of Bindings: time 0.4481/0.5911, allocations: 37.15 MB / 0.7906 GB, free: 97.68 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 0.007407/0.5985, allocations: 5.807 MB / 0.7962 GB, free: 97.05 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.0532/0.6517, allocations: 28.54 MB / 0.8241 GB, free: 89.12 MB / 0.6544 GB Notification: Performance of simplify1: time 0.005083/0.6569, allocations: 1.435 MB / 0.8255 GB, free: 88.48 MB / 0.6544 GB Notification: Performance of Alias: time 0.05575/0.7127, allocations: 44.94 MB / 0.8694 GB, free: 60.75 MB / 0.6544 GB Notification: Performance of simplify2: time 0.002084/0.7148, allocations: 0.9218 MB / 0.8703 GB, free: 60.18 MB / 0.6544 GB Notification: Performance of Events: time 0.005482/0.7203, allocations: 5.903 MB / 0.8761 GB, free: 55.07 MB / 0.6544 GB Notification: Performance of Detect States: time 0.006257/0.7266, allocations: 6.934 MB / 0.8828 GB, free: 49.01 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.006103/0.7327, allocations: 6.426 MB / 0.8891 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of Causalize: time 0.03061/0.7633, allocations: 40.43 MB / 0.9286 GB, free: 7.141 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.02307/0.7864, allocations: 17.28 MB / 0.9455 GB, free: 5.828 MB / 0.67 GB Notification: Performance of Inline: time 0.0598/0.8463, allocations: 34.23 MB / 0.9789 GB, free: 4 MB / 0.7012 GB Notification: Performance of Partitioning: time 0.003893/0.8502, allocations: 1.692 MB / 0.9806 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of Cleanup: time 0.007425/0.8577, allocations: 3.437 MB / 0.9839 GB, free: 14.82 MB / 0.7169 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [ALGO] (3) ($RES_SIM_0) [----] winSta.t0 := if $FUN_33 + winSta.period * integer(time / winSta.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_33 + winSta.period * integer(time / winSta.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_33 + winSta.period * integer(time / winSta.period))); [----] winSta.t1 := winSta.t0 + winSta.width * winSta.period; [----] if time + winSta.period < winSta.t1 then [----] winSta.t0 := winSta.t0 - winSta.period; [----] winSta.t1 := winSta.t1 - winSta.period; [----] end if; [----] if time >= winSta.t1 then [----] winSta.t0 := winSta.t0 + winSta.period; [----] elseif time < winSta.t0 then [----] winSta.t1 := winSta.t1 - winSta.period; [----] end if; [----] if winSta.t0 < winSta.t1 then [----] assert(winSta.t0 <= time and time < winSta.t1, "Controller.winSta: Implementation error in initial time calculation: t0 = " + String(winSta.t0, 6, 0, true) + ", t1 = " + String(winSta.t1, 6, 0, true) + ", period = " + String(winSta.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] winSta.y := time >= winSta.t0 and time < winSta.t1; [----] elseif true then [----] assert(winSta.t1 <= time and time < winSta.t0, "Controller.winSta: Implementation error in initial time calculation: t0 = " + String(winSta.t0, 6, 0, true) + ", t1 = " + String(winSta.t1, 6, 0, true) + ", period = " + String(winSta.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] winSta.y := not (time >= winSta.t1 and time < winSta.t0); [----] end if; slice: {1, 2}; [SCAL] (1) $TEV_25 = false ($RES_SIM_35) slice: {}; [SCAL] (1) $TEV_25 = false ($RES_SIM_44) slice: {}; [SCAL] (1) $TEV_31 = false ($RES_SIM_45) slice: {}; [SCAL] (1) $TEV_37 = con1.sysReq.edg.pre_u_start ($RES_SIM_47) slice: {}; [SCAL] (1) $TEV_13 = con1.sysReq.hys9.pre_y_start ($RES_SIM_54) slice: {}; [SCAL] (1) $TEV_15 = con1.sysReq.hys8.pre_y_start ($RES_SIM_56) slice: {}; [SCAL] (1) $TEV_17 = con1.sysReq.hys7.pre_y_start ($RES_SIM_58) slice: {}; [SCAL] (1) $TEV_19 = con1.sysReq.hys3.pre_y_start ($RES_SIM_64) slice: {}; [SCAL] (1) $TEV_21 = con1.sysReq.hys.pre_y_start ($RES_SIM_66) slice: {}; [SCAL] (1) $TEV_47 = false ($RES_SIM_83) slice: {}; [SCAL] (1) $TEV_42 = con1.damVal.hys2.pre_y_start ($RES_SIM_93) slice: {}; [SCAL] (1) $TEV_71 = false ($RES_SIM_130) slice: {}; [SCAL] (1) $TEV_71 = false ($RES_SIM_139) slice: {}; [SCAL] (1) $TEV_77 = false ($RES_SIM_140) slice: {}; [SCAL] (1) $TEV_83 = con.sysReq.edg.pre_u_start ($RES_SIM_142) slice: {}; [SCAL] (1) $TEV_59 = con.sysReq.hys9.pre_y_start ($RES_SIM_149) slice: {}; [SCAL] (1) $TEV_61 = con.sysReq.hys8.pre_y_start ($RES_SIM_151) slice: {}; [SCAL] (1) $TEV_63 = con.sysReq.hys7.pre_y_start ($RES_SIM_153) slice: {}; [SCAL] (1) $TEV_65 = con.sysReq.hys3.pre_y_start ($RES_SIM_159) slice: {}; [SCAL] (1) $TEV_67 = con.sysReq.hys.pre_y_start ($RES_SIM_161) slice: {}; [SCAL] (1) $TEV_93 = false ($RES_SIM_178) slice: {}; [SCAL] (1) $TEV_88 = con.damVal.hys2.pre_y_start ($RES_SIM_188) slice: {}; [SCAL] (1) con1.sysReq.truHol.toInitial.outPort.set = con1.sysReq.truHol.initialStep.inPort[1].set ($RES_SIM_1149) slice: {}; [SCAL] (1) con1.sysReq.truHol.initialStep.outPort[1].reset = con1.sysReq.truHol.toOutputTrue.outPort.set ($RES_SIM_1154) slice: {}; [SCAL] (1) con1.damVal.truHol2.toInitial.outPort.set = con1.damVal.truHol2.initialStep.inPort[1].set ($RES_SIM_1256) slice: {}; [SCAL] (1) con1.damVal.truHol2.initialStep.outPort[1].reset = con1.damVal.truHol2.toOutputTrue.outPort.set ($RES_SIM_1261) slice: {}; [SCAL] (1) con.sysReq.truHol.toInitial.outPort.set = con.sysReq.truHol.initialStep.inPort[1].set ($RES_SIM_1607) slice: {}; [SCAL] (1) con.sysReq.truHol.initialStep.outPort[1].reset = con.sysReq.truHol.toOutputTrue.outPort.set ($RES_SIM_1612) slice: {}; [SCAL] (1) con.damVal.truHol2.toInitial.outPort.set = con.damVal.truHol2.initialStep.inPort[1].set ($RES_SIM_1714) slice: {}; [SCAL] (1) con.damVal.truHol2.initialStep.outPort[1].reset = con.damVal.truHol2.toOutputTrue.outPort.set ($RES_SIM_1719) slice: {}; [SCAL] (1) $SEV_181 = not $PRE.con.damVal.hys4.y and con.damVal.hys4.u > con.damVal.hys4.uHigh or $PRE.con.damVal.hys4.y and con.damVal.hys4.u >= con.damVal.hys4.uLow ($RES_EVT_2199) slice: {}; [SCAL] (1) $SEV_175 = (con.damVal.truHol2.toOutputTrue.localCondition and con.damVal.truHol2.toOutputTrue.inPort.available) and not con.damVal.truHol2.toOutputTrue.outPort.occupied ($RES_EVT_2193) slice: {}; [SCAL] (1) $SEV_174 = (con.damVal.truHol2.toInitial.localCondition and con.damVal.truHol2.toInitial.inPort.available) and not con.damVal.truHol2.toInitial.outPort.occupied ($RES_EVT_2192) slice: {}; [SCAL] (1) $SEV_142 = (con.sysReq.truHol.toOutputTrue.localCondition and con.sysReq.truHol.toOutputTrue.inPort.available) and not con.sysReq.truHol.toOutputTrue.outPort.occupied ($RES_EVT_2160) slice: {}; [SCAL] (1) $SEV_141 = (con.sysReq.truHol.toInitial.localCondition and con.sysReq.truHol.toInitial.inPort.available) and not con.sysReq.truHol.toInitial.outPort.occupied ($RES_EVT_2159) slice: {}; [SCAL] (1) $SEV_107 = not $PRE.con1.damVal.hys4.y and con.damVal.hys4.u > con1.damVal.hys4.uHigh or $PRE.con1.damVal.hys4.y and con.damVal.hys4.u >= con1.damVal.hys4.uLow ($RES_EVT_2125) slice: {}; [SCAL] (1) $SEV_101 = (con1.damVal.truHol2.toOutputTrue.localCondition and con1.damVal.truHol2.toOutputTrue.inPort.available) and not con1.damVal.truHol2.toOutputTrue.outPort.occupied ($RES_EVT_2119) slice: {}; [SCAL] (1) $SEV_100 = (con1.damVal.truHol2.toInitial.localCondition and con1.damVal.truHol2.toInitial.inPort.available) and not con1.damVal.truHol2.toInitial.outPort.occupied ($RES_EVT_2118) slice: {}; [SCAL] (1) $SEV_68 = (con1.sysReq.truHol.toOutputTrue.localCondition and con1.sysReq.truHol.toOutputTrue.inPort.available) and not con1.sysReq.truHol.toOutputTrue.outPort.occupied ($RES_EVT_2086) slice: {}; [SCAL] (1) $SEV_67 = (con1.sysReq.truHol.toInitial.localCondition and con1.sysReq.truHol.toInitial.inPort.available) and not con1.sysReq.truHol.toInitial.outPort.occupied ($RES_EVT_2085) slice: {}; Notification: Performance of Causalize: time 0.6664/1.524, allocations: 310.7 MB / 1.287 GB, free: 180.7 MB / 0.8106 GB Notification: Performance of Tearing: time 0.0003858/1.525, allocations: 0.4931 MB / 1.288 GB, free: 180.1 MB / 0.8106 GB Notification: Performance of Initialization: time 1.433e-06/1.525, allocations: 0 / 1.288 GB, free: 180.1 MB / 0.8106 GB Notification: Performance of Tearing: time 4.803e-05/1.525, allocations: 13.06 kB / 1.288 GB, free: 180.1 MB / 0.8106 GB Notification: Performance of Categorize: time 0.0001094/1.525, allocations: 34.56 kB / 1.288 GB, free: 180.1 MB / 0.8106 GB Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Single Strong Component (status = Solve.UNPROCESSED) ------------------------------------------------------------- ### Variable: Boolean winSta.y ### Equation: [SCAL] (1) con1.actAirSet.VOccDisMin_flow = if not winSta.y then con1.actAirSet.swi2.y else con1.actAirSet.zerFlo.k ($RES_SIM_557)