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.ReturnFanDirectPressure.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.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 110.8 kB / 16.38 MB, free: 6.48 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.001102/0.001102, allocations: 190.5 kB / 17.31 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.74/1.74, allocations: 292.3 MB / 0.5496 GB, free: 17.63 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/1.995e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure): time 0.004321/0.004354, allocations: 3.553 MB / 0.6764 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.00759, allocations: 2.299 MB / 0.6786 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.007973, allocations: 23.88 kB / 0.6787 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.008309, allocations: 146.4 kB / 0.6788 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.008612, allocations: 142.5 kB / 0.6789 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.009673, allocations: 0.5919 MB / 0.6795 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001135/0.01082, allocations: 1.443 MB / 0.6809 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006642/0.01149, allocations: 0.5797 MB / 0.6815 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.01187, allocations: 434.4 kB / 0.6819 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.01227, allocations: 481.5 kB / 0.6824 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.01243, allocations: 140 kB / 0.6825 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.01261, allocations: 152 kB / 0.6827 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0009286/0.01355, allocations: 1.587 MB / 0.6842 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0005404/0.0141, allocations: 0.9925 MB / 0.6852 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.01429, allocations: 179.3 kB / 0.6853 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001373/0.01445, allocations: 63.44 kB / 0.6854 GB, free: 8.926 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: 209 (209) * Number of variables: 209 (209) Notification: Performance of Bindings: time 0.004073/0.01853, allocations: 4.94 MB / 0.6902 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0002174/0.01875, allocations: 231.7 kB / 0.6904 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.002729/0.02149, allocations: 3.08 MB / 0.6935 GB, free: 476 kB / 0.5606 GB Notification: Performance of simplify1: time 0.00016/0.02166, allocations: 171.7 kB / 0.6936 GB, free: 304 kB / 0.5606 GB Notification: Performance of Alias: time 0.005221/0.02689, allocations: 4.984 MB / 0.6985 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0001248/0.02703, allocations: 96.16 kB / 0.6986 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of Events: time 0.0005699/0.02761, allocations: 464.2 kB / 0.699 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0006169/0.02824, allocations: 0.6221 MB / 0.6996 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0006974/0.02894, allocations: 0.6564 MB / 0.7003 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of Causalize: time 0.003274/0.03223, allocations: 3.338 MB / 0.7035 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.001696/0.03394, allocations: 1.732 MB / 0.7052 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of Inline: time 0.004058/0.038, allocations: 4.205 MB / 0.7093 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of Partitioning: time 0.0002524/0.03827, allocations: 219.6 kB / 0.7095 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of Cleanup: time 0.000384/0.03866, allocations: 415.5 kB / 0.7099 GB, free: 14.78 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) [----] yFan.t0 := if $FUN_1 + yFan.period * integer(time / yFan.period) > 0.0 then 1e-6 * floor(0.5 + 1e6 * ($FUN_1 + yFan.period * integer(time / yFan.period))) else 1e-6 * ceil((-0.5) + 1e6 * ($FUN_1 + yFan.period * integer(time / yFan.period))); [----] yFan.t1 := yFan.t0 + yFan.width * yFan.period; [----] if time + yFan.period < yFan.t1 then [----] yFan.t0 := yFan.t0 - yFan.period; [----] yFan.t1 := yFan.t1 - yFan.period; [----] end if; [----] if time >= yFan.t1 then [----] yFan.t0 := yFan.t0 + yFan.period; [----] elseif time < yFan.t0 then [----] yFan.t1 := yFan.t1 - yFan.period; [----] end if; [----] if yFan.t0 < yFan.t1 then [----] assert(yFan.t0 <= time and time < yFan.t1, "ReturnFanDirectPressure.yFan: Implementation error in initial time calculation: t0 = " + String(yFan.t0, 6, 0, true) + ", t1 = " + String(yFan.t1, 6, 0, true) + ", period = " + String(yFan.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] retFanPre.swi.u2 := time >= yFan.t0 and time < yFan.t1; [----] elseif true then [----] assert(yFan.t1 <= time and time < yFan.t0, "ReturnFanDirectPressure.yFan: Implementation error in initial time calculation: t0 = " + String(yFan.t0, 6, 0, true) + ", t1 = " + String(yFan.t1, 6, 0, true) + ", period = " + String(yFan.period, 6, 0, true) + ", time = " + String(time, 6, 0, true), AssertionLevel.error); [----] retFanPre.swi.u2 := not (time >= yFan.t1 and time < yFan.t0); [----] end if; slice: {1, 2}; Notification: Performance of Causalize: time 0.02697/0.06564, allocations: 30.04 MB / 0.7393 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of Tearing: time 1.494e-05/0.06569, allocations: 4 kB / 0.7393 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of Initialization: time 1.162e-06/0.0657, allocations: 0 / 0.7393 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of Tearing: time 1.119e-05/0.06572, allocations: 3.938 kB / 0.7393 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of Categorize: time 2.788e-05/0.06575, allocations: 11.98 kB / 0.7393 GB, free: 2.406 MB / 0.6075 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 retFanPre.swi.u2 ### Equation: [SCAL] (1) retFanPre.swi1.y = if retFanPre.swi.u2 then retFanPre.linExhAirDam.y else retFanPre.zer1.k ($RES_SIM_94)