Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(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_latest_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_latest_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.001224/0.001224, allocations: 111.3 kB / 16.42 MB, free: 6.473 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.001087/0.001087, allocations: 188.2 kB / 17.36 MB, free: 5.723 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.154/1.154, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.246/2.246, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.771e-05, allocations: 2.281 kB / 1.07 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.ModularReversible.Examples.CarnotWithLosses): time 0.4806/0.4806, allocations: 82.68 MB / 1.151 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02636/0.507, allocations: 18.32 MB / 1.169 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005378/0.5124, allocations: 99.88 kB / 1.169 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004402/0.5169, allocations: 1.44 MB / 1.17 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.5272, allocations: 3.442 MB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006492/0.5338, allocations: 2.466 MB / 1.176 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01118/0.5449, allocations: 8.302 MB / 1.184 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006752/0.5517, allocations: 4.586 MB / 1.189 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006527/0.5583, allocations: 3.01 MB / 1.192 GB, free: 15.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004002/0.5623, allocations: 2.332 MB / 1.194 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002218/0.5645, allocations: 0.5412 MB / 1.194 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007794/0.5723, allocations: 2.72 MB / 1.197 GB, free: 12.87 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.007604/0.5799, allocations: 6.6 MB / 1.203 GB, free: 7.969 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.003584/0.5835, allocations: 4.159 MB / 1.207 GB, free: 4.918 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001825/0.5854, allocations: 0.7408 MB / 1.208 GB, free: 4.473 MB / 0.92 GB Notification: Performance of FrontEnd: time 0.001414/0.5868, allocations: 168.8 kB / 1.208 GB, free: 4.328 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