Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing.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.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|seqEveHea.u1Hea|seqEveHea.u1PumHeaWatPri_actual|seqEveHea.u1PumHeaWatSec_actual|seqEveHea.y1|seqEveHea.y1ValHeaWatInlIso|seqEveHea.y1PumHeaWatPri|seqEveHeaCoo.u1Hea|seqEveHeaCoo.u1Coo|seqEveHeaCoo.u1PumHeaWatPri_actual|seqEveHeaCoo.y1|seqEveHeaCoo.y1ValHeaWatInlIso|seqEveHeaCoo.y1ValHeaWatOutIso|seqEveHeaCoo.y1ValChiWatInlIso|seqEveHeaCoo.y1ValChiWatOutIso|seqEveHeaCoo.y1PumHeaWatPri",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|seqEveHea.u1Hea|seqEveHea.u1PumHeaWatPri_actual|seqEveHea.u1PumHeaWatSec_actual|seqEveHea.y1|seqEveHea.y1ValHeaWatInlIso|seqEveHea.y1PumHeaWatPri|seqEveHeaCoo.u1Hea|seqEveHeaCoo.u1Coo|seqEveHeaCoo.u1PumHeaWatPri_actual|seqEveHeaCoo.y1|seqEveHeaCoo.y1ValHeaWatInlIso|seqEveHeaCoo.y1ValHeaWatOutIso|seqEveHeaCoo.y1ValChiWatInlIso|seqEveHeaCoo.y1ValChiWatOutIso|seqEveHeaCoo.y1PumHeaWatPri",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 114.5 kB / 16.42 MB, free: 6.352 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.001121/0.001121, allocations: 179.7 kB / 17.34 MB, free: 5.809 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.14/1.14, allocations: 222.9 MB / 241 MB, free: 15.08 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.243/2.243, allocations: 469.8 MB / 0.7431 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.707e-05, allocations: 6.219 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/StagingRotation/EventSequencing.mo:19:3-23:32:writable] Warning: Parameter seqEveHea.have_pumChiWatPri has no value, and is fixed during initialization (fixed=true), using available start value (start=false) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Templates/Plants/Controls/StagingRotation/EventSequencing.mo:28:3-31:32:writable] Warning: Parameter seqEveHea.have_pumChiWatSec has no value, and is fixed during initialization (fixed=true), using available start value (start=false) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.EventSequencing): time 0.003263/0.0033, allocations: 2.353 MB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.005993, allocations: 2.005 MB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.006417, allocations: 31.81 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006941/0.007117, allocations: 329.9 kB / 1.07 GB, free: 8.895 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.007385, allocations: 123.1 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000971/0.008364, allocations: 470.7 kB / 1.071 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.009412, allocations: 1.114 MB / 1.072 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005825/0.01, allocations: 364.4 kB / 1.072 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.01038, allocations: 362.8 kB / 1.073 GB, free: 6.461 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.01075, allocations: 382.2 kB / 1.073 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.01089, allocations: 88 kB / 1.073 GB, free: 6 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.01111, allocations: 128 kB / 1.073 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.000722/0.01184, allocations: 1.181 MB / 1.074 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0003974/0.01225, allocations: 0.7463 MB / 1.075 GB, free: 3.922 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.0124, allocations: 123.6 kB / 1.075 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0001119/0.01252, allocations: 47.56 kB / 1.075 GB, free: 3.754 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: 175 (165) * Number of variables: 175 (151) Notification: Performance of Bindings: time 0.002133/0.01466, allocations: 2.165 MB / 1.077 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0001594/0.01483, allocations: 127.8 kB / 1.078 GB, free: 1.312 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.3957/0.4105, allocations: 1.876 MB / 1.079 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0003786/0.4109, allocations: 248 kB / 1.08 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of Alias: time 0.002498/0.4135, allocations: 2.377 MB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001581/0.4136, allocations: 166.9 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004881/0.4141, allocations: 0.5431 MB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of Events: time 0.0005807/0.4147, allocations: 0.5122 MB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0005109/0.4152, allocations: 0.525 MB / 1.084 GB, free: 14.34 MB / 0.8419 GB Error: Internal error NBResolveSingularities.noIndexReduction failed. (4|4) Unmatched Variables *************************** [DISC] (2) Boolean[2] $SEV_18[$i1] slice: {0} [DISC] (3) Boolean[3] $SEV_28[$i1] slice: {0} [DISC] (3) Boolean[3] $SEV_16[$i1] slice: {0} [DISC] (2) Boolean[2] $SEV_30[$i1] slice: {0} (4|4) Unmatched Equations *************************** [FOR-] (3) ($RES_EVT_235) [----] for $i1 in 2:4 loop [----] [SCAL] (1) $SEV_28[$i1] = seqEveHea.cooValPum.u[$i1] and seqEveHea.cooValPum.uTemp[$i1 - 1] ($RES_EVT_236) [----] end for; slice: {2} [FOR-] (2) ($RES_EVT_238) [----] for $i1 in 2:3 loop [----] [SCAL] (1) $SEV_30[$i1] = seqEveHea.heaValPum.u[$i1] and seqEveHea.heaValPum.uTemp[$i1 - 1] ($RES_EVT_239) [----] end for; slice: {1} [FOR-] (2) ($RES_SIM_45) [----] for $i1 in 2:3 loop [----] [SCAL] (1) seqEveHeaCoo.heaValPum.uTemp[$i1] = $SEV_18[$i1] ($RES_SIM_46) [----] end for; slice: {1} [SCAL] (1) $TEV_11 = sample(2, zerOrdHol.t0, zerOrdHol.samplePeriod) ($RES_EVT_201)