Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.00115/0.00115, allocations: 106.4 kB / 16.42 MB, free: 6.504 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.00114/0.00114, allocations: 187.2 kB / 17.36 MB, free: 5.719 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.183/1.183, 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 9.1.3-maint.9.1.x/package.mo): time 2.037/2.037, allocations: 390.2 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.397e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond): time 0.004358/0.004382, allocations: 4.111 MB / 0.9555 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.007387, allocations: 2.348 MB / 0.9578 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003759/0.007773, allocations: 35.88 kB / 0.9578 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.008149, allocations: 189.7 kB / 0.958 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.008492, allocations: 162.3 kB / 0.9581 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.009547, allocations: 0.6394 MB / 0.9588 GB, free: 152 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.01079, allocations: 1.669 MB / 0.9604 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009643/0.01177, allocations: 0.907 MB / 0.9613 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.01224, allocations: 0.5487 MB / 0.9618 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.01272, allocations: 0.6297 MB / 0.9624 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.0129, allocations: 176 kB / 0.9626 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.0131, allocations: 192 kB / 0.9628 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001175/0.01428, allocations: 2.138 MB / 0.9649 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0006662/0.01495, allocations: 1.354 MB / 0.9662 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.01519, allocations: 239.1 kB / 0.9664 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0001925/0.01539, allocations: 94.94 kB / 0.9665 GB, free: 8.121 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: 320 (320) * Number of variables: 320 (320) Notification: Performance of Bindings: time 0.004797/0.02019, allocations: 6.367 MB / 0.9727 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0007501/0.02095, allocations: 0.8914 MB / 0.9736 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.003888/0.02484, allocations: 4.48 MB / 0.978 GB, free: 12.11 MB / 0.7637 GB Notification: Performance of simplify1: time 0.000251/0.0251, allocations: 283.5 kB / 0.9782 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of Alias: time 0.008408/0.03352, allocations: 8.566 MB / 0.9866 GB, free: 2.344 MB / 0.7637 GB Notification: Performance of simplify2: time 0.0001634/0.0337, allocations: 159.8 kB / 0.9868 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of Detect States: time 0.0009291/0.03463, allocations: 1.128 MB / 0.9879 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of Events: time 0.0008103/0.03545, allocations: 0.7132 MB / 0.9886 GB, free: 308 kB / 0.7637 GB Notification: Performance of Partitioning: time 0.0008747/0.03634, allocations: 0.9388 MB / 0.9895 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of Causalize: time 0.003473/0.03982, allocations: 3.487 MB / 0.9929 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of After Index Reduction Inline: time 0.002024/0.04185, allocations: 2.347 MB / 0.9952 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of Inline: time 0.00504/0.0469, allocations: 5.691 MB / 1.001 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.0003143/0.04723, allocations: 305.3 kB / 1.001 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of Cleanup: time 0.0001803/0.04742, allocations: 195.7 kB / 1.001 GB, free: 2.91 MB / 0.7794 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) slice: {}; [SCAL] (1) swi.u2 = $PRE.swi.u2 ($RES_SRT_549) slice: {}; Notification: Performance of Causalize: time 0.0145/0.06193, allocations: 13.22 MB / 1.014 GB, free: 5.309 MB / 0.795 GB Notification: Performance of Tearing: time 2.19e-05/0.06198, allocations: 0 / 1.014 GB, free: 5.309 MB / 0.795 GB Notification: Performance of Initialization: time 1.012e-06/0.06199, allocations: 0 / 1.014 GB, free: 5.309 MB / 0.795 GB Notification: Performance of Tearing: time 2.013e-05/0.06201, allocations: 15.92 kB / 1.014 GB, free: 5.293 MB / 0.795 GB Notification: Performance of Categorize: time 3.138e-05/0.06205, allocations: 4 kB / 1.014 GB, free: 5.289 MB / 0.795 GB Notification: Performance of Solve: time 0.001106/0.06316, allocations: 0.7544 MB / 1.015 GB, free: 4.512 MB / 0.795 GB Notification: Performance of Jacobian: time 2.986e-06/0.06317, allocations: 0 / 1.015 GB, free: 4.512 MB / 0.795 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.tim.t_next, trimRespondLogic.swi.u2} * 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.483e-05/0.06327, allocations: 95.61 kB / 1.015 GB, free: 4.422 MB / 0.795 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.k