Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond.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.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|trimRespondLogic.uDevSta|trimRespondLogic.numOfReq|trimRespondLogic.y|trimRespondLogic1.uDevSta|trimRespondLogic1.numOfReq|trimRespondLogic1.y|trimRespondLogic2.uDevSta|trimRespondLogic2.numOfReq|trimRespondLogic2.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|trimRespondLogic.uDevSta|trimRespondLogic.numOfReq|trimRespondLogic.y|trimRespondLogic1.uDevSta|trimRespondLogic1.numOfReq|trimRespondLogic1.y|trimRespondLogic2.uDevSta|trimRespondLogic2.numOfReq|trimRespondLogic2.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 112.3 kB / 16.43 MB, free: 6.527 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.001053/0.001053, allocations: 183.2 kB / 17.36 MB, free: 5.738 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.105/1.105, allocations: 222.9 MB / 241 MB, free: 15.14 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.19/2.19, allocations: 469.8 MB / 0.7431 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.126e-05, allocations: 6.219 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond): time 0.004365/0.004386, allocations: 4.113 MB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.007108, allocations: 2.363 MB / 1.072 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.00743, allocations: 43.81 kB / 1.072 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.007779, allocations: 185.7 kB / 1.072 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.008077, allocations: 146.4 kB / 1.072 GB, free: 6.762 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001013/0.009096, allocations: 0.6604 MB / 1.073 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.01031, allocations: 1.677 MB / 1.075 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007025/0.01102, allocations: 0.5948 MB / 1.075 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004149/0.01144, allocations: 0.5526 MB / 1.076 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004441/0.01189, allocations: 0.6336 MB / 1.077 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.01208, allocations: 176 kB / 1.077 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/0.01227, allocations: 187.9 kB / 1.077 GB, free: 2.25 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0011/0.01338, allocations: 2.15 MB / 1.079 GB, free: 76 kB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.3772/0.3906, allocations: 1.36 MB / 1.08 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.391, allocations: 231 kB / 1.081 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0003219/0.3913, allocations: 96.64 kB / 1.081 GB, free: 14.94 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: 320 (320) * Number of variables: 320 (320) Notification: Performance of Bindings: time 0.003021/0.3943, allocations: 4.579 MB / 1.085 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0004356/0.3948, allocations: 0.5047 MB / 1.086 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.002666/0.3974, allocations: 3.266 MB / 1.089 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0005465/0.398, allocations: 0.4933 MB / 1.089 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Alias: time 0.005633/0.4036, allocations: 5.645 MB / 1.095 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0002982/0.4039, allocations: 291 kB / 1.095 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0006869/0.4046, allocations: 0.738 MB / 1.096 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of Events: time 0.0007265/0.4054, allocations: 0.6766 MB / 1.096 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0005906/0.406, allocations: 0.662 MB / 1.097 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002847/0.4088, allocations: 2.555 MB / 1.1 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001497/0.4103, allocations: 1.682 MB / 1.101 GB, free: 4.332 MB / 0.8419 GB Notification: Performance of Inline: time 0.003773/0.4141, allocations: 4.166 MB / 1.105 GB, free: 1.84 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001797/0.4143, allocations: 100.5 kB / 1.105 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0004323/0.4147, allocations: 0.6455 MB / 1.106 GB, free: 1.395 MB / 0.8419 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_15 = false ($RES_SIM_17); [SCAL] (1) swi.u2 = $PRE.swi.u2 ($RES_SRT_549); Notification: Performance of Causalize: time 0.0105/0.4253, allocations: 8.591 MB / 1.114 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of Tearing: time 1.958e-05/0.4253, allocations: 5 kB / 1.114 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of Initialization: time 6.01e-07/0.4253, allocations: 4 kB / 1.114 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of Tearing: time 2.5e-05/0.4253, allocations: 11.55 kB / 1.114 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of Categorize: time 2.66e-05/0.4254, allocations: 4.594 kB / 1.114 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of Solve: time 0.0009905/0.4263, allocations: 0.5731 MB / 1.115 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of Jacobian: time 2.845e-06/0.4264, allocations: 1.094 kB / 1.115 GB, free: 14.22 MB / 0.8575 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 15 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 16 (16) {swi.u2, trimRespondLogic2.sampler.y, trimRespondLogic2.sampler.firstTrigger, trimRespondLogic2.uniDel.y, trimRespondLogic2.swi.u2, trimRespondLogic2.tim.t_next, trimRespondLogic1.sampler.y, trimRespondLogic1.sampler.firstTrigger, trimRespondLogic1.uniDel.y, trimRespondLogic1.swi.u2, trimRespondLogic1.tim.t_next, trimRespondLogic.sampler.y, trimRespondLogic.sampler.firstTrigger, trimRespondLogic.uniDel.y, trimRespondLogic.swi.u2, trimRespondLogic.tim.t_next} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 66 (66) {trimRespondLogic.numOfReq, trimRespondLogic.uniDel.sampleTrigger, trimRespondLogic.swi3.u2, trimRespondLogic.sampler.sampleTrigger, trimRespondLogic.and2.u2, trimRespondLogic.and2.y, trimRespondLogic.assMes.u, trimRespondLogic.assMes2.u, trimRespondLogic1.uniDel.sampleTrigger, trimRespondLogic1.swi3.u2, trimRespondLogic1.sampler.sampleTrigger, trimRespondLogic1.and2.u2, trimRespondLogic1.and2.y, trimRespondLogic1.assMes.u, trimRespondLogic1.assMes2.u, trimRespondLogic2.uniDel.sampleTrigger, trimRespondLogic2.swi3.u2, trimRespondLogic2.sampler.sampleTrigger, trimRespondLogic2.and2.u2, trimRespondLogic2.and2.y, trimRespondLogic2.assMes.u, trimRespondLogic2.assMes2.u, reaToInt2.y, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $TEV_26, $TEV_25, $TEV_24, $TEV_23, $TEV_22, $TEV_21, $TEV_20, $TEV_19, $TEV_18, $TEV_17, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 134 (scalar:134, array:0, record:0) * Number of multi strong components: ............ 16 (algorithm:0, when:16, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 301 (scalar:301, array:0, record:0) * Number of multi strong components: ............ 10 (algorithm:10, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.813e-05/0.4265, allocations: 106.7 kB / 1.115 GB, free: 14.14 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.k