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.001059/0.001059, allocations: 106.2 kB / 16.42 MB, free: 6.469 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.001044/0.001044, allocations: 189.9 kB / 17.36 MB, free: 5.734 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.125/1.125, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001843/0.001843, allocations: 283.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8036/0.8036, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372e-05/1.373e-05, allocations: 5.375 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.3831/0.3831, allocations: 204.2 MB / 0.8814 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00819/0.3914, allocations: 6.372 MB / 0.8876 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000958/0.3923, allocations: 39.81 kB / 0.8876 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.394, allocations: 0.7187 MB / 0.8883 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005133/0.3991, allocations: 2.684 MB / 0.891 GB, free: 7.863 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.001359/0.4005, allocations: 0.7028 MB / 0.8916 GB, free: 7.164 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003132/0.4037, allocations: 3.271 MB / 0.8948 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.4048, allocations: 1.129 MB / 0.8959 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.4062, allocations: 1.226 MB / 0.8971 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.4076, allocations: 0.9374 MB / 0.8981 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.4077, allocations: 112 kB / 0.8982 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/0.4109, allocations: 2.252 MB / 0.9004 GB, free: 14.21 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.001383/0.4123, allocations: 2.098 MB / 0.9024 GB, free: 12.09 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.000754/0.4131, allocations: 1.326 MB / 0.9037 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.4133, allocations: 203.5 kB / 0.9039 GB, free: 10.55 MB / 0.67 GB Notification: Performance of FrontEnd: time 0.0001712/0.4135, allocations: 27.88 kB / 0.9039 GB, free: 10.53 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)