Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones1.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.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones1") translateModel(Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 104 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.001073/0.001073, 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.124/1.124, 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.516/1.516, allocations: 292.3 MB / 0.5496 GB, free: 17.51 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/2.846e-05, allocations: 6.219 kB / 0.6728 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.EnergyPlus.BaseClasses.Validation.FMUZoneAdapterZones1): time 0.006118/0.006161, allocations: 5.489 MB / 0.6782 GB, free: 420 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3812/0.3874, allocations: 149.9 MB / 0.8246 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007278/0.3882, allocations: 29.44 kB / 0.8246 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.3885, allocations: 63.33 kB / 0.8247 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.3888, allocations: 77.66 kB / 0.8247 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.3891, allocations: 92.08 kB / 0.8248 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.3894, allocations: 260.2 kB / 0.8251 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3896, allocations: 65.75 kB / 0.8251 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007399/0.3903, allocations: 135.5 kB / 0.8253 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.3906, allocations: 107.5 kB / 0.8254 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.3906, allocations: 15.03 kB / 0.8254 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.3908, allocations: 88.23 kB / 0.8255 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of combineBinaries: time 0.0002306/0.391, allocations: 347 kB / 0.8258 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of replaceArrayConstructors: time 0.0001046/0.3911, allocations: 225.4 kB / 0.826 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.3912, allocations: 34.67 kB / 0.8261 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 6.574e-05/0.3913, allocations: 20.47 kB / 0.8261 GB, free: 43.42 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 (34) * Number of variables: 40 (33) Notification: Performance of Bindings: time 0.0008735/0.3922, allocations: 1.009 MB / 0.8271 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of FunctionAlias: time 3.896e-05/0.3922, allocations: 22.56 kB / 0.8271 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of Early Inline: time 0.0005488/0.3928, allocations: 0.5672 MB / 0.8276 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of simplify1: time 4.565e-05/0.3928, allocations: 38.81 kB / 0.8277 GB, free: 42.92 MB / 0.6544 GB Notification: Performance of Alias: time 0.0007658/0.3936, allocations: 0.6794 MB / 0.8283 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of simplify2: time 3.465e-05/0.3936, allocations: 26.19 kB / 0.8284 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of Events: time 0.0001292/0.3938, allocations: 92.19 kB / 0.8284 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0002653/0.394, allocations: 246.9 kB / 0.8287 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0001681/0.3942, allocations: 187.3 kB / 0.8289 GB, free: 42.43 MB / 0.6544 GB Error: Internal error NBAdjacency.Matrix.createPseudo failed for: [WHEN] (1)when {initial(), $SEV_4} then [----] fmuZonCor.TAveInlet := noEvent((sum(if fmuZonCor.m_flow[i] > 0.0 then fmuZonCor.TInlet[i] * fmuZonCor.m_flow[i] else 0.0 for i in 1:2) + fmuZonCor.m_flow_small * $PRE.fmuZonCor.TAveInlet) / (fmuZonCor.mInlet_flow + fmuZonCor.m_flow_small)) [----] end when; Error: Internal error NBAdjacency.Matrix.create failed to create adjacency matrix for system: System Variables (17/24) ************************** (1) [ALGB] (2) Real[2] fmuZonCor.m_flow (2) [DISS] (1) protected discrete Real fmuZonCor.QConLast_flow (fixed = false, start = 0.0) (3) [ALGB] (1) Real mOut_flow.y (4) [ALGB] (2) Real[2] TIn.y = {293.15 for $i1 in 1:2} (5) [DISS] (1) Real fmuZonCor.TRad (6) [DISS] (1) protected Real fmuZonCor.tNext (fixed = true, start = fmuZonCor.startTime) (7) [DISS] (5) protected Real[5] fmuZonCor.yEP (8) [DISS] (1) protected discrete Real fmuZonCor.dtLast (9) [DISS] (1) protected discrete Real fmuZonCor.TRooLast (start = 288.15, min = 0.0, nominal = 300.0) (10) [DISS] (1) protected discrete Real fmuZonCor.tLast (fixed = true, start = fmuZonCor.startTime) (11) [DISS] (1) protected discrete Real fmuZonCor.TAveInlet (start = 288.15, min = 0.0, nominal = 300.0) (12) [DER-] (1) Real $DER.TZonCor.y (13) [DISC] (1) Boolean $SEV_4 (14) [DISS] (1) protected discrete Real fmuZonCor.mInlet_flow (15) [DISS] (1) Real fmuZonCor.QPeo_flow (16) [ALGB] (2) Real[2] fmuZonCor.TInlet (17) [DISS] (1) Real fmuZonCor.QLat_flow System Equations (18/24) ************************** (1) [SCAL] (1) 0.0 = fmuZonCor.m_flow[1] ($RES_SIM_36) (2) [FOR-] (2) ($RES_BND_43) (2) [----] for $i1 in 1:2 loop (2) [----] [SCAL] (1) TIn[$i1].y = 293.15 ($RES_BND_44) (2) [----] end for; (3) [SCAL] (1) $DER.TZonCor.y = TZonCor.k * fmuZonCor.QConLast_flow ($RES_SIM_11) (4) [WHEN] (1)when {initial(), $SEV_4} then (4) [----] fmuZonCor.QConLast_flow := fmuZonCor.yEP[2] (4) [----] end when; (5) [SCAL] (1) mOut_flow.y = 0.0 ($RES_SIM_14) (6) [WHEN] (1)when {initial(), $SEV_4} then (6) [----] fmuZonCor.dtLast := time - $PRE.fmuZonCor.tLast (6) [----] end when; (7) [WHEN] (1)when {initial(), $SEV_4} then (7) [----] fmuZonCor.TRad := fmuZonCor.yEP[1] (7) [----] end when; (8) [WHEN] (1)when {initial(), $SEV_4} then (8) [----] fmuZonCor.TAveInlet := noEvent((sum(if fmuZonCor.m_flow[i] > 0.0 then fmuZonCor.TInlet[i] * fmuZonCor.m_flow[i] else 0.0 for i in 1:2) + fmuZonCor.m_flow_small * $PRE.fmuZonCor.TAveInlet) / (fmuZonCor.mInlet_flow + fmuZonCor.m_flow_small)) (8) [----] end when; (9) [WHEN] (1)when {initial(), $SEV_4} then (9) [----] fmuZonCor.tNext := fmuZonCor.yEP[5] (9) [----] end when; (10) [WHEN] (1)when {initial(), $SEV_4} then (10) [----] fmuZonCor.tLast := time (10) [----] end when; (11) [WHEN] (1)when {initial(), $SEV_4} then (11) [----] fmuZonCor.QLat_flow := fmuZonCor.yEP[3] (11) [----] end when; (12) [WHEN] (5)when {initial(), $SEV_4} then (12) [----] fmuZonCor.yEP := Buildings.ThermalZones.EnergyPlus.BaseClasses.exchange(fmuZonCor.adapter, false, 5, {TZonCor.y, 0.01 / (1.0 - 0.01), fmuZonCor.mInlet_flow, fmuZonCor.TAveInlet, 0.0, if time > 0.0 then 0.001 * floor(0.5 + 1000.0 * time) else 0.001 * ceil((-0.5) + 1000.0 * time)}, fmuZonCor.AFlo) (12) [----] end when; (13) [WHEN] (1)when {initial(), $SEV_4} then (13) [----] fmuZonCor.TRooLast := TZonCor.y (13) [----] end when; (14) [WHEN] (1)when {initial(), $SEV_4} then (14) [----] fmuZonCor.QPeo_flow := fmuZonCor.yEP[4] (14) [----] end when; (15) [WHEN] (1)when {initial(), $SEV_4} then (15) [----] fmuZonCor.mInlet_flow := noEvent(sum(if fmuZonCor.m_flow[i] > 0.0 then fmuZonCor.m_flow[i] else 0.0 for i in 1:2)) (15) [----] end when; (16) [ARRY] (2) TIn.y = fmuZonCor.TInlet ($RES_SIM_34) (17) [SCAL] (1) $SEV_4 = time >= $PRE.fmuZonCor.tNext ($RES_EVT_50) (18) [SCAL] (1) mOut_flow.y = fmuZonCor.m_flow[2] ($RES_SIM_35)