Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001775/0.001775, allocations: 112.1 kB / 16.43 MB, free: 6.5 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.001431/0.001431, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.394/1.394, 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 9.1.3-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.653e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.004318/0.004352, allocations: 2.936 MB / 0.9543 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.006265, allocations: 1.107 MB / 0.9554 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.006502, allocations: 15.94 kB / 0.9554 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.006793, allocations: 75.14 kB / 0.9555 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.007002, allocations: 87.19 kB / 0.9555 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.007804, allocations: 343.5 kB / 0.9559 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007784/0.008593, allocations: 0.7419 MB / 0.9566 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006111/0.009213, allocations: 0.5124 MB / 0.9571 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.009488, allocations: 287 kB / 0.9574 GB, free: 1.621 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.009767, allocations: 266.8 kB / 0.9576 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.762e-05/0.009863, allocations: 80 kB / 0.9577 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.009978, allocations: 80 kB / 0.9578 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0005833/0.01057, allocations: 0.8379 MB / 0.9586 GB, free: 364 kB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 0.0003347/0.01091, allocations: 0.5195 MB / 0.9591 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 9.821e-05/0.01101, allocations: 95.62 kB / 0.9592 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0001158/0.01114, allocations: 51.67 kB / 0.9592 GB, free: 15.68 MB / 0.7481 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.002224/0.01337, allocations: 2.569 MB / 0.9618 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0001609/0.01353, allocations: 147.7 kB / 0.9619 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.001472/0.01501, allocations: 1.493 MB / 0.9634 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simplify1: time 0.0001076/0.01513, allocations: 111.8 kB / 0.9635 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of Alias: time 0.0034/0.01853, allocations: 2.975 MB / 0.9664 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of simplify2: time 7.121e-05/0.01862, allocations: 63.91 kB / 0.9664 GB, free: 7.898 MB / 0.7481 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - preHeatCoil.toOff.t_dummy}).