Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage.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.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiStaCon.on|chiStaCon.plr.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiStaCon.on|chiStaCon.plr.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 108.9 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.001418/0.001418, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.18 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.13/2.13, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.6e-05/3.6e-05, allocations: 4.391 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.008755/0.0088, allocations: 5.631 MB / 0.957 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002518/0.01135, allocations: 1.438 MB / 0.9584 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.01166, allocations: 11.94 kB / 0.9584 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008214/0.01249, allocations: 225.7 kB / 0.9586 GB, free: 368 kB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.01314, allocations: 222.8 kB / 0.9588 GB, free: 144 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009543/0.0141, allocations: 415.1 kB / 0.9592 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.01515, allocations: 0.8269 MB / 0.96 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006835/0.01584, allocations: 0.5529 MB / 0.9605 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004024/0.01625, allocations: 347 kB / 0.9609 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.01661, allocations: 330.6 kB / 0.9612 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.01673, allocations: 84 kB / 0.9613 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.01701, allocations: 155.9 kB / 0.9614 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.0006274/0.01765, allocations: 0.9156 MB / 0.9623 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0002987/0.01795, allocations: 0.5387 MB / 0.9628 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.01806, allocations: 95.69 kB / 0.9629 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0001716/0.01824, allocations: 67.55 kB / 0.963 GB, free: 11.82 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: 138 (134) * Number of variables: 130 (125) Notification: Performance of Bindings: time 0.002516/0.02077, allocations: 2.667 MB / 0.9656 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0002337/0.02101, allocations: 201.7 kB / 0.9658 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.001923/0.02294, allocations: 1.957 MB / 0.9677 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of simplify1: time 0.0001378/0.02309, allocations: 115.8 kB / 0.9678 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of Alias: time 0.003475/0.02657, allocations: 2.898 MB / 0.9706 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of simplify2: time 8.584e-05/0.02668, allocations: 87.89 kB / 0.9707 GB, free: 3.516 MB / 0.7481 GB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, time - chiStaCon.offToOne.t_dummy}).