Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.refCyc.sigBus.TConInMea|chi.refCyc.sigBus.TConOutMea|chi.refCyc.sigBus.TEvaOutMea|chi.refCyc.sigBus.TEvaInMea|chi.QCon_flow|chi.QEva_flow|chi.P|chi.refCyc.sigBus.ySet|chi.refCyc.sigBus.yMea",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses") translateModel(Buildings.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.refCyc.sigBus.TConInMea|chi.refCyc.sigBus.TConOutMea|chi.refCyc.sigBus.TEvaOutMea|chi.refCyc.sigBus.TEvaInMea|chi.QCon_flow|chi.QEva_flow|chi.P|chi.refCyc.sigBus.ySet|chi.refCyc.sigBus.yMea",fileNamePrefix="Buildings_11_Buildings.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses") 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: 111.1 kB / 16.43 MB, free: 6.422 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.001081/0.001081, allocations: 186.1 kB / 17.36 MB, free: 5.684 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.136/1.136, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.212/2.212, allocations: 469.8 MB / 0.7431 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.178e-05, allocations: 4.188 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses): time 0.4502/0.4502, allocations: 82.69 MB / 1.147 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02353/0.4737, allocations: 18.32 MB / 1.164 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0036/0.4774, allocations: 99.72 kB / 1.165 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003588/0.481, allocations: 1.453 MB / 1.166 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00807/0.4891, allocations: 3.449 MB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005342/0.4944, allocations: 2.473 MB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009304/0.5037, allocations: 8.262 MB / 1.18 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004479/0.5082, allocations: 3.297 MB / 1.183 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005005/0.5133, allocations: 3.009 MB / 1.186 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003306/0.5166, allocations: 2.332 MB / 1.188 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008076/0.5174, allocations: 0.5418 MB / 1.189 GB, free: 3.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005347/0.5227, allocations: 2.715 MB / 1.191 GB, free: 2.582 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.004397/0.5272, allocations: 6.596 MB / 1.198 GB, free: 13.68 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.002376/0.5295, allocations: 4.171 MB / 1.202 GB, free: 10.62 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0009781/0.5305, allocations: 0.7352 MB / 1.203 GB, free: 10.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.0009954/0.5315, allocations: 172.8 kB / 1.203 GB, free: 10.09 MB / 0.92 GB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if chi.safCtr.onOffCtr.onOffFuzLog.isAblToTurOn then chi.safCtr.onOffCtr.onOffFuzLog.devTurOff = 0; chi.safCtr.onOffCtr.onOffFuzLog.devRunMin = 0; chi.safCtr.onOffCtr.onOffFuzLog.devNorOpe = 1; elseif true then chi.safCtr.onOffCtr.onOffFuzLog.devTurOff = 1; chi.safCtr.onOffCtr.onOffFuzLog.devRunMin = 0; chi.safCtr.onOffCtr.onOffFuzLog.devNorOpe = 0; end if