Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|preHeatCoil.TAirSup|preHeatCoil.TSupSetHea|preHeatCoil.TMix|preHeatCoil.yPum|preHeatCoil.yVal",fileNamePrefix="Buildings_11_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 114 kB / 16.43 MB, free: 6.523 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.001074/0.001074, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.134/1.134, allocations: 222.9 MB / 241 MB, free: 15.15 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.208/2.208, allocations: 469.8 MB / 0.7431 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.317e-05, allocations: 2.5 kB / 1.066 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.00327/0.003293, allocations: 2.945 MB / 1.069 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.004856, allocations: 1.107 MB / 1.07 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.005046, allocations: 15.94 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.005261, allocations: 75.14 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.005427, allocations: 91.17 kB / 1.07 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006223/0.006067, allocations: 333.5 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.006677, allocations: 0.7418 MB / 1.071 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004225/0.007113, allocations: 412.8 kB / 1.071 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.007351, allocations: 279 kB / 1.072 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.007577, allocations: 266.8 kB / 1.072 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.422e-05/0.007667, allocations: 72 kB / 1.072 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.00778, allocations: 91.94 kB / 1.072 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0004479/0.008234, allocations: 0.8417 MB / 1.073 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0002189/0.008459, allocations: 0.5232 MB / 1.073 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.001e-05/0.008544, allocations: 87.69 kB / 1.073 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.954e-05/0.008638, allocations: 59.61 kB / 1.073 GB, free: 5.719 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 (117) * Number of variables: 113 (113) Notification: Performance of Bindings: time 0.00145/0.01009, allocations: 1.796 MB / 1.075 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001371/0.01024, allocations: 143.7 kB / 1.075 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0008847/0.01113, allocations: 1.005 MB / 1.076 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of simplify1: time 0.000196/0.01133, allocations: 202 kB / 1.077 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of Alias: time 0.001981/0.01332, allocations: 1.864 MB / 1.078 GB, free: 268 kB / 0.8419 GB Notification: Performance of simplify2: time 0.0001207/0.01345, allocations: 126.6 kB / 1.078 GB, free: 112 kB / 0.8419 GB Error: Internal error NBDetectStates.preFromArgs failed because of unexpected expression pre(time - preHeatCoil.toOff.t_dummy).