Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus.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.Generic.SetPoints.Validation.GroupStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 110 kB / 16.38 MB, free: 6.488 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.001383/0.001382, allocations: 190.5 kB / 17.32 MB, free: 5.797 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.784/1.784, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.391e-05/2.404e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.GroupStatus): time 0.003838/0.003877, allocations: 2.246 MB / 0.6751 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.006981, allocations: 2.108 MB / 0.6771 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002799/0.007273, allocations: 11.94 kB / 0.6772 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.007581, allocations: 122.8 kB / 0.6773 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.00794, allocations: 142.9 kB / 0.6774 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001927/0.009899, allocations: 0.9087 MB / 0.6783 GB, free: 320 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0019/0.01181, allocations: 1.991 MB / 0.6802 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005786/0.01239, allocations: 438.5 kB / 0.6807 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005932/0.01299, allocations: 0.5845 MB / 0.6812 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005264/0.01353, allocations: 0.5488 MB / 0.6818 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001813/0.01372, allocations: 132 kB / 0.6819 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.01395, allocations: 152 kB / 0.682 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.001051/0.01501, allocations: 1.416 MB / 0.6834 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0004479/0.01547, allocations: 0.7704 MB / 0.6842 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.01567, allocations: 147.6 kB / 0.6843 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001611/0.01584, allocations: 55.5 kB / 0.6844 GB, free: 10.05 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: 204 (158) * Number of variables: 204 (145) Notification: Performance of Bindings: time 0.004037/0.01988, allocations: 4.352 MB / 0.6886 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0004407/0.02033, allocations: 411.3 kB / 0.689 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.003583/0.02392, allocations: 3.684 MB / 0.6926 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0001539/0.02409, allocations: 119.7 kB / 0.6927 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of Alias: time 0.003215/0.02731, allocations: 2.808 MB / 0.6955 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0001033/0.02743, allocations: 95.83 kB / 0.6956 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of Events: time 0.001635/0.02907, allocations: 1.317 MB / 0.6968 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of Detect States: time 0.001564/0.03065, allocations: 1.629 MB / 0.6984 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0008984/0.03155, allocations: 0.8568 MB / 0.6993 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of Causalize: time 0.005747/0.03731, allocations: 5.743 MB / 0.7049 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.003338/0.04067, allocations: 3.019 MB / 0.7078 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of Inline: time 0.005006/0.04569, allocations: 4.599 MB / 0.7123 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0002245/0.04594, allocations: 151.7 kB / 0.7125 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.0001945/0.04614, allocations: 159.7 kB / 0.7126 GB, free: 12.34 MB / 0.5919 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) [----] zonTem2.booPul.t0 := if $FUN_8 + zonTem2.booPul.period * integer(time / zonTem2.booPul.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_8 + zonTem2.booPul.period * integer(time / zonTem2.booPul.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_8 + zonTem2.booPul.period * integer(time / zonTem2.booPul.period))); [----] zonTem2.booPul.t1 := zonTem2.booPul.t0 + zonTem2.booPul.width * zonTem2.booPul.period; [----] if time + zonTem2.booPul.period < zonTem2.booPul.t1 then [----] zonTem2.booPul.t0 := zonTem2.booPul.t0 - zonTem2.booPul.period; [----] zonTem2.booPul.t1 := zonTem2.booPul.t1 - zonTem2.booPul.period; [----] end if; [----] if time >= zonTem2.booPul.t1 then [----] zonTem2.booPul.t0 := zonTem2.booPul.t0 + zonTem2.booPul.period; [----] elseif time < zonTem2.booPul.t0 then [----] zonTem2.booPul.t1 := zonTem2.booPul.t1 - zonTem2.booPul.period; [----] end if; [----] if zonTem2.booPul.t0 < zonTem2.booPul.t1 then [----] assert(zonTem2.booPul.t0 <= time and time < zonTem2.booPul.t1, "GroupStatus.zonTem2.booPul: Implementation error in initial time calculation: t0 = " + String(zonTem2.booPul.t0, 6, 0, true) + ", t1 = " + String(zonTem2.booPul.t1, 6, 0, true) + ", period = " + String(zonTem2.booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] zonTem2.booPul.y := time >= zonTem2.booPul.t0 and time < zonTem2.booPul.t1; [----] elseif true then [----] assert(zonTem2.booPul.t1 <= time and time < zonTem2.booPul.t0, "GroupStatus.zonTem2.booPul: Implementation error in initial time calculation: t0 = " + String(zonTem2.booPul.t0, 6, 0, true) + ", t1 = " + String(zonTem2.booPul.t1, 6, 0, true) + ", period = " + String(zonTem2.booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] zonTem2.booPul.y := not (time >= zonTem2.booPul.t1 and time < zonTem2.booPul.t0); [----] end if; slice: {2}; [ALGO] (3) ($RES_SIM_4) [----] zonOcc2.t0 := if $FUN_4 + zonOcc2.period * integer(time / zonOcc2.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_4 + zonOcc2.period * integer(time / zonOcc2.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_4 + zonOcc2.period * integer(time / zonOcc2.period))); [----] zonOcc2.t1 := zonOcc2.t0 + zonOcc2.width * zonOcc2.period; [----] if time + zonOcc2.period < zonOcc2.t1 then [----] zonOcc2.t0 := zonOcc2.t0 - zonOcc2.period; [----] zonOcc2.t1 := zonOcc2.t1 - zonOcc2.period; [----] end if; [----] if time >= zonOcc2.t1 then [----] zonOcc2.t0 := zonOcc2.t0 + zonOcc2.period; [----] elseif time < zonOcc2.t0 then [----] zonOcc2.t1 := zonOcc2.t1 - zonOcc2.period; [----] end if; [----] if zonOcc2.t0 < zonOcc2.t1 then [----] assert(zonOcc2.t0 <= time and time < zonOcc2.t1, "GroupStatus.zonOcc2: Implementation error in initial time calculation: t0 = " + String(zonOcc2.t0, 6, 0, true) + ", t1 = " + String(zonOcc2.t1, 6, 0, true) + ", period = " + String(zonOcc2.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] zonOcc2.y := time >= zonOcc2.t0 and time < zonOcc2.t1; [----] elseif true then [----] assert(zonOcc2.t1 <= time and time < zonOcc2.t0, "GroupStatus.zonOcc2: Implementation error in initial time calculation: t0 = " + String(zonOcc2.t0, 6, 0, true) + ", t1 = " + String(zonOcc2.t1, 6, 0, true) + ", period = " + String(zonOcc2.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] zonOcc2.y := not (time >= zonOcc2.t1 and time < zonOcc2.t0); [----] end if; slice: {1, 2}; [ALGO] (3) ($RES_SIM_5) [----] zonOcc1.t0 := if $FUN_3 + zonOcc1.period * integer(time / zonOcc1.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_3 + zonOcc1.period * integer(time / zonOcc1.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_3 + zonOcc1.period * integer(time / zonOcc1.period))); [----] zonOcc1.t1 := zonOcc1.t0 + zonOcc1.width * zonOcc1.period; [----] if time + zonOcc1.period < zonOcc1.t1 then [----] zonOcc1.t0 := zonOcc1.t0 - zonOcc1.period; [----] zonOcc1.t1 := zonOcc1.t1 - zonOcc1.period; [----] end if; [----] if time >= zonOcc1.t1 then [----] zonOcc1.t0 := zonOcc1.t0 + zonOcc1.period; [----] elseif time < zonOcc1.t0 then [----] zonOcc1.t1 := zonOcc1.t1 - zonOcc1.period; [----] end if; [----] if zonOcc1.t0 < zonOcc1.t1 then [----] assert(zonOcc1.t0 <= time and time < zonOcc1.t1, "GroupStatus.zonOcc1: Implementation error in initial time calculation: t0 = " + String(zonOcc1.t0, 6, 0, true) + ", t1 = " + String(zonOcc1.t1, 6, 0, true) + ", period = " + String(zonOcc1.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] zonOcc1.y := time >= zonOcc1.t0 and time < zonOcc1.t1; [----] elseif true then [----] assert(zonOcc1.t1 <= time and time < zonOcc1.t0, "GroupStatus.zonOcc1: Implementation error in initial time calculation: t0 = " + String(zonOcc1.t0, 6, 0, true) + ", t1 = " + String(zonOcc1.t1, 6, 0, true) + ", period = " + String(zonOcc1.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] zonOcc1.y := not (time >= zonOcc1.t1 and time < zonOcc1.t0); [----] end if; slice: {1, 2}; [SCAL] (1) zonTem2.booPul.width = zonTem2.width ($RES_BND_248) slice: {}; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [PRMT] (1) protected final parameter Real zonTem2.booPul.width = zonTem2.width (fixed = true, min = 1e-60, max = 1.0) Following equations were created by fixing variables: [SCAL] (1) zonGroSta.difUnoHea.u2 = $START.zonGroSta.difUnoHea.u2 ($RES_SRT_281) [ARRY] (2) zonGroSta.uOcc = $START.zonGroSta.uOcc ($RES_SRT_280) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules!