Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.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.AHUs.SingleZone.VAV.Validation.CoolingCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=92,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=92,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 107.6 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.001212/0.001212, allocations: 188.2 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.305/1.305, 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.71/1.71, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.374e-05, allocations: 5.938 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil): time 0.002906/0.002943, allocations: 1.661 MB / 0.6745 GB, free: 4.191 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.005039, allocations: 1.495 MB / 0.676 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.005321, allocations: 7.938 kB / 0.676 GB, free: 2.672 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.005503, allocations: 51.47 kB / 0.676 GB, free: 2.621 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.005625, allocations: 47.52 kB / 0.6761 GB, free: 2.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.006216, allocations: 243.5 kB / 0.6763 GB, free: 2.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.006655, allocations: 484.1 kB / 0.6768 GB, free: 1.863 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.006916, allocations: 172.5 kB / 0.677 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.007062, allocations: 147.4 kB / 0.6771 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.007233, allocations: 151.3 kB / 0.6772 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.00729, allocations: 43.94 kB / 0.6773 GB, free: 1.359 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.748e-05/0.007384, allocations: 59.98 kB / 0.6773 GB, free: 1.301 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0003161/0.007707, allocations: 0.4942 MB / 0.6778 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 0.0001468/0.007859, allocations: 315.2 kB / 0.6781 GB, free: 500 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.007925, allocations: 51.81 kB / 0.6782 GB, free: 448 kB / 0.545 GB Notification: Performance of FrontEnd: time 4.997e-05/0.00798, allocations: 15.88 kB / 0.6782 GB, free: 432 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 (54) * Number of variables: 54 (54) Notification: Performance of Bindings: time 0.00133/0.009316, allocations: 1.567 MB / 0.6797 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001379/0.009461, allocations: 119.8 kB / 0.6798 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0008387/0.01031, allocations: 0.9562 MB / 0.6808 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simplify1: time 4.431e-05/0.01036, allocations: 43.92 kB / 0.6808 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of Alias: time 0.001373/0.01174, allocations: 1.457 MB / 0.6822 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simplify2: time 2.696e-05/0.01178, allocations: 19.97 kB / 0.6822 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of Events: time 0.000326/0.01211, allocations: 275.7 kB / 0.6825 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0002994/0.01242, allocations: 272 kB / 0.6828 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001711/0.0126, allocations: 162.8 kB / 0.6829 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0007935/0.0134, allocations: 0.8212 MB / 0.6837 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0004786/0.01389, allocations: 0.5744 MB / 0.6843 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of Inline: time 0.001164/0.01506, allocations: 1.287 MB / 0.6855 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of Partitioning: time 7.298e-05/0.01514, allocations: 68.98 kB / 0.6856 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0001221/0.01527, allocations: 141 kB / 0.6857 GB, free: 8.234 MB / 0.5606 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) [----] zonSta.booPul.t0 := if $FUN_3 + zonSta.booPul.period * integer(time / zonSta.booPul.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_3 + zonSta.booPul.period * integer(time / zonSta.booPul.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_3 + zonSta.booPul.period * integer(time / zonSta.booPul.period))); [----] zonSta.booPul.t1 := zonSta.booPul.t0 + zonSta.booPul.width * zonSta.booPul.period; [----] if time + zonSta.booPul.period < zonSta.booPul.t1 then [----] zonSta.booPul.t0 := zonSta.booPul.t0 - zonSta.booPul.period; [----] zonSta.booPul.t1 := zonSta.booPul.t1 - zonSta.booPul.period; [----] end if; [----] if time >= zonSta.booPul.t1 then [----] zonSta.booPul.t0 := zonSta.booPul.t0 + zonSta.booPul.period; [----] elseif time < zonSta.booPul.t0 then [----] zonSta.booPul.t1 := zonSta.booPul.t1 - zonSta.booPul.period; [----] end if; [----] if zonSta.booPul.t0 < zonSta.booPul.t1 then [----] assert(zonSta.booPul.t0 <= time and time < zonSta.booPul.t1, "CoolingCoil.zonSta.booPul: Implementation error in initial time calculation: t0 = " + String(zonSta.booPul.t0, 6, 0, true) + ", t1 = " + String(zonSta.booPul.t1, 6, 0, true) + ", period = " + String(zonSta.booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] zonSta.booPul.y := time >= zonSta.booPul.t0 and time < zonSta.booPul.t1; [----] elseif true then [----] assert(zonSta.booPul.t1 <= time and time < zonSta.booPul.t0, "CoolingCoil.zonSta.booPul: Implementation error in initial time calculation: t0 = " + String(zonSta.booPul.t0, 6, 0, true) + ", t1 = " + String(zonSta.booPul.t1, 6, 0, true) + ", period = " + String(zonSta.booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] zonSta.booPul.y := not (time >= zonSta.booPul.t1 and time < zonSta.booPul.t0); [----] end if; slice: {2}; [SCAL] (1) zonSta.booPul.width = zonSta.width ($RES_BND_83) slice: {}; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [PRMT] (1) protected final parameter Real zonSta.booPul.width = zonSta.width (fixed = true, min = 1e-60, max = 1.0) Following equations were created by fixing variables: [SCAL] (1) $PRE.zonSta.booPul.y = $START.zonSta.booPul.y ($RES_SRT_110) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules!