Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001433, allocations: 105.9 kB / 16.42 MB, free: 6.449 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.001341/0.001341, allocations: 192.3 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002084/0.002084, allocations: 288.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.947/0.947, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.02e-05, allocations: 4.812 kB / 0.682 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.6819/0.6819, allocations: 204.2 MB / 0.8814 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.6938, allocations: 6.373 MB / 0.8876 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.6957, allocations: 35.81 kB / 0.8876 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.698, allocations: 0.7617 MB / 0.8884 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008325/0.7063, allocations: 2.759 MB / 0.8911 GB, free: 7.73 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.7087, allocations: 0.7182 MB / 0.8918 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005441/0.7142, allocations: 3.271 MB / 0.895 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.7167, allocations: 1.129 MB / 0.8961 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/0.7207, allocations: 1.238 MB / 0.8973 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.7237, allocations: 0.9401 MB / 0.8982 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000444/0.7241, allocations: 115.9 kB / 0.8983 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006096/0.7302, allocations: 2.26 MB / 0.9005 GB, free: 14.04 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.003313/0.7336, allocations: 2.091 MB / 0.9026 GB, free: 11.93 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.001694/0.7353, allocations: 1.343 MB / 0.9039 GB, free: 10.57 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009312/0.7362, allocations: 199.5 kB / 0.9041 GB, free: 10.38 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0003732/0.7366, allocations: 31.88 kB / 0.9041 GB, free: 10.35 MB / 0.67 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(abs(1.0 - zonFlo.rho_default / ((BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.zonFlo.Medium.density(zonFlo.sta_a1_inflow) + BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.zonFlo.Medium.density(zonFlo.sta_a2_inflow)) / 2.0)) < 0.2, "Wrong density. Densities need to match.", AssertionLevel.error)