Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001085/0.001085, allocations: 106.2 kB / 16.42 MB, free: 6.48 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.001057/0.001056, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.122/1.122, 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 10.1.1-maint.10.0.x/package.mo): time 2.06/2.06, allocations: 437 MB / 0.7111 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/1.955e-05, allocations: 4.328 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003554/0.003583, allocations: 2.937 MB / 1.022 GB, free: 6.52 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.005432, allocations: 1.103 MB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.005762, allocations: 11.94 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.006019, allocations: 83.14 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.00625, allocations: 83.25 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007532/0.007022, allocations: 345.8 kB / 1.024 GB, free: 4.898 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007232/0.007754, allocations: 0.7419 MB / 1.024 GB, free: 4.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006246/0.008387, allocations: 0.5318 MB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.008698, allocations: 275.1 kB / 1.025 GB, free: 3.348 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.008989, allocations: 270.8 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.009101, allocations: 76 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.009228, allocations: 87.98 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0004851/0.00972, allocations: 0.8379 MB / 1.026 GB, free: 2.074 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 0.0002531/0.009979, allocations: 0.5232 MB / 1.027 GB, free: 1.543 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.01009, allocations: 87.69 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of FrontEnd: time 0.0001295/0.01023, allocations: 63.55 kB / 1.027 GB, free: 1.395 MB / 0.795 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.002124/0.01235, allocations: 2.546 MB / 1.029 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.0001872/0.01255, allocations: 155.7 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.001341/0.0139, allocations: 1.497 MB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simplify1: time 0.0001207/0.01402, allocations: 99.86 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of Alias: time 0.002925/0.01696, allocations: 2.972 MB / 1.034 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of simplify2: time 0.0001001/0.01707, allocations: 67.91 kB / 1.034 GB, free: 9.633 MB / 0.8106 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - preHeatCoil.toOff.t_dummy}).