Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.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.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 105.3 kB / 16.37 MB, free: 6.352 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.0009868/0.0009869, allocations: 190.1 kB / 17.3 MB, free: 5.906 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.296/1.296, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.723/1.723, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.161e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature): time 0.003484/0.003519, allocations: 2.573 MB / 0.6754 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.005864, allocations: 1.9 MB / 0.6773 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002451/0.006119, allocations: 15.94 kB / 0.6773 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.006337, allocations: 90.81 kB / 0.6774 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.006548, allocations: 98.94 kB / 0.6775 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.007309, allocations: 447.3 kB / 0.6779 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007941/0.00811, allocations: 1.039 MB / 0.6789 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005831/0.008701, allocations: 0.4884 MB / 0.6794 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.009018, allocations: 346.8 kB / 0.6797 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.009323, allocations: 378.2 kB / 0.6801 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.009438, allocations: 112 kB / 0.6802 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.009594, allocations: 131.9 kB / 0.6803 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0006779/0.01028, allocations: 1.216 MB / 0.6815 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0003439/0.01063, allocations: 0.75 MB / 0.6823 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.01076, allocations: 139.6 kB / 0.6824 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001144/0.01088, allocations: 51.44 kB / 0.6824 GB, free: 12.02 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: 161 (161) * Number of variables: 161 (161) Notification: Performance of Bindings: time 0.002848/0.01373, allocations: 3.743 MB / 0.6861 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0003807/0.01412, allocations: 415.8 kB / 0.6865 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.002207/0.01634, allocations: 2.663 MB / 0.6891 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of simplify1: time 0.0001285/0.01647, allocations: 151.8 kB / 0.6892 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of Alias: time 0.003981/0.02046, allocations: 4.183 MB / 0.6933 GB, free: 200 kB / 0.5606 GB Notification: Performance of simplify2: time 9.392e-05/0.02057, allocations: 91.86 kB / 0.6934 GB, free: 108 kB / 0.5606 GB Notification: Performance of Events: time 0.0005654/0.02114, allocations: 0.4982 MB / 0.6939 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0005624/0.02171, allocations: 0.6315 MB / 0.6945 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0005757/0.0223, allocations: 0.5781 MB / 0.6951 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002694/0.025, allocations: 3.052 MB / 0.6981 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.001364/0.02637, allocations: 1.577 MB / 0.6996 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of Inline: time 0.002932/0.02931, allocations: 3.296 MB / 0.7028 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001831/0.02951, allocations: 183.6 kB / 0.703 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of Cleanup: time 0.0002854/0.0298, allocations: 359.4 kB / 0.7033 GB, free: 5.773 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) [----] supFanSta.t0 := if $FUN_14 + supFanSta.period * integer(time / supFanSta.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_14 + supFanSta.period * integer(time / supFanSta.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_14 + supFanSta.period * integer(time / supFanSta.period))); [----] supFanSta.t1 := supFanSta.t0 + supFanSta.width * supFanSta.period; [----] if time + supFanSta.period < supFanSta.t1 then [----] supFanSta.t0 := supFanSta.t0 - supFanSta.period; [----] supFanSta.t1 := supFanSta.t1 - supFanSta.period; [----] end if; [----] if time >= supFanSta.t1 then [----] supFanSta.t0 := supFanSta.t0 + supFanSta.period; [----] elseif time < supFanSta.t0 then [----] supFanSta.t1 := supFanSta.t1 - supFanSta.period; [----] end if; [----] if supFanSta.t0 < supFanSta.t1 then [----] assert(supFanSta.t0 <= time and time < supFanSta.t1, "SupplyTemperature.supFanSta: Implementation error in initial time calculation: t0 = " + String(supFanSta.t0, 6, 0, true) + ", t1 = " + String(supFanSta.t1, 6, 0, true) + ", period = " + String(supFanSta.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] supFanSta.y := time >= supFanSta.t0 and time < supFanSta.t1; [----] elseif true then [----] assert(supFanSta.t1 <= time and time < supFanSta.t0, "SupplyTemperature.supFanSta: Implementation error in initial time calculation: t0 = " + String(supFanSta.t0, 6, 0, true) + ", t1 = " + String(supFanSta.t1, 6, 0, true) + ", period = " + String(supFanSta.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] supFanSta.y := not (time >= supFanSta.t1 and time < supFanSta.t0); [----] end if; slice: {1, 2}; [SCAL] (1) $TEV_13 = $PRE.supFanSta.y ($RES_EVT_189) slice: {}; Notification: Performance of Causalize: time 0.02097/0.05077, allocations: 25.07 MB / 0.7278 GB, free: 13.85 MB / 0.6075 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [ALGO] (1) ($RES_SIM_77) [----] conTSupSet.maxSupTemRes.swi.u2 := if not (conTSupSet.maxSupTemRes.tim.delayOnInit and conTSupSet.maxSupTemRes.tim.delayTime > 0.0) then supFanSta.y else false; Error: Internal error NBInitialization.main failed to apply modules!