Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 104.2 kB / 16.37 MB, free: 6.367 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.001215/0.001215, allocations: 195.4 kB / 17.31 MB, free: 5.91 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.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.545e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003261/0.003301, allocations: 2.393 MB / 0.6752 GB, free: 3.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.005348, allocations: 1.565 MB / 0.6767 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.00555, allocations: 8 kB / 0.6767 GB, free: 1.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.005689, allocations: 63.14 kB / 0.6768 GB, free: 1.848 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.005936, allocations: 114.8 kB / 0.6769 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.006647, allocations: 302.6 kB / 0.6772 GB, free: 1.441 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006272/0.007281, allocations: 0.793 MB / 0.678 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.007733, allocations: 378.4 kB / 0.6783 GB, free: 268 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.007959, allocations: 263 kB / 0.6786 GB, free: 4 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.008215, allocations: 286.3 kB / 0.6788 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-05/0.008307, allocations: 76 kB / 0.6789 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.008464, allocations: 95.97 kB / 0.679 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.000715/0.009188, allocations: 0.9921 MB / 0.68 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0003644/0.00956, allocations: 0.627 MB / 0.6806 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.009693, allocations: 107.6 kB / 0.6807 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.538e-05/0.009784, allocations: 39.56 kB / 0.6807 GB, free: 13.77 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: 135 (135) * Number of variables: 135 (135) Notification: Performance of Bindings: time 0.002765/0.01255, allocations: 3.126 MB / 0.6838 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0002447/0.01281, allocations: 179.7 kB / 0.6839 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.001769/0.01459, allocations: 1.901 MB / 0.6858 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of simplify1: time 9.841e-05/0.01469, allocations: 111.8 kB / 0.6859 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of Alias: time 0.003206/0.01791, allocations: 3.288 MB / 0.6891 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of simplify2: time 5.801e-05/0.01798, allocations: 71.91 kB / 0.6892 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of Events: time 0.0003171/0.0183, allocations: 239.6 kB / 0.6894 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of Detect States: time 0.000353/0.01866, allocations: 348.5 kB / 0.6898 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002856/0.01896, allocations: 280.9 kB / 0.69 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of Causalize: time 0.001319/0.02029, allocations: 1.471 MB / 0.6915 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0007999/0.02109, allocations: 0.8742 MB / 0.6923 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of Inline: time 0.002037/0.02314, allocations: 2.21 MB / 0.6945 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001251/0.02328, allocations: 111.6 kB / 0.6946 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of Cleanup: time 5.232e-05/0.02333, allocations: 63.88 kB / 0.6946 GB, free: 14.74 MB / 0.5762 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) [----] TRoo1.booPul.t0 := if $FUN_5 + TRoo1.booPul.period * integer(time / TRoo1.booPul.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_5 + TRoo1.booPul.period * integer(time / TRoo1.booPul.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_5 + TRoo1.booPul.period * integer(time / TRoo1.booPul.period))); [----] TRoo1.booPul.t1 := TRoo1.booPul.t0 + TRoo1.booPul.width * TRoo1.booPul.period; [----] if time + TRoo1.booPul.period < TRoo1.booPul.t1 then [----] TRoo1.booPul.t0 := TRoo1.booPul.t0 - TRoo1.booPul.period; [----] TRoo1.booPul.t1 := TRoo1.booPul.t1 - TRoo1.booPul.period; [----] end if; [----] if time >= TRoo1.booPul.t1 then [----] TRoo1.booPul.t0 := TRoo1.booPul.t0 + TRoo1.booPul.period; [----] elseif time < TRoo1.booPul.t0 then [----] TRoo1.booPul.t1 := TRoo1.booPul.t1 - TRoo1.booPul.period; [----] end if; [----] if TRoo1.booPul.t0 < TRoo1.booPul.t1 then [----] assert(TRoo1.booPul.t0 <= time and time < TRoo1.booPul.t1, "SupplyReturnTemperatureReset.TRoo1.booPul: Implementation error in initial time calculation: t0 = " + String(TRoo1.booPul.t0, 6, 0, true) + ", t1 = " + String(TRoo1.booPul.t1, 6, 0, true) + ", period = " + String(TRoo1.booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] TRoo1.booPul.y := time >= TRoo1.booPul.t0 and time < TRoo1.booPul.t1; [----] elseif true then [----] assert(TRoo1.booPul.t1 <= time and time < TRoo1.booPul.t0, "SupplyReturnTemperatureReset.TRoo1.booPul: Implementation error in initial time calculation: t0 = " + String(TRoo1.booPul.t0, 6, 0, true) + ", t1 = " + String(TRoo1.booPul.t1, 6, 0, true) + ", period = " + String(TRoo1.booPul.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] TRoo1.booPul.y := not (time >= TRoo1.booPul.t1 and time < TRoo1.booPul.t0); [----] end if; slice: {2}; [SCAL] (1) TRoo1.booPul.width = TRoo1.width ($RES_BND_157) slice: {}; Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [PRMT] (1) protected final parameter Real TRoo1.booPul.width = TRoo1.width (fixed = true, min = 1e-60, max = 1.0) Following equations were created by fixing variables: [SCAL] (1) heaCur1.qRaiInvM.u = $START.heaCur1.qRaiInvM.u ($RES_SRT_214) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules!