Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.Validation.TrimAndRespond") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, 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.001305/0.001305, 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.15/1.15, allocations: 222.9 MB / 241.1 MB, free: 15.08 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 1.906/1.906, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.511e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond): time 0.004199/0.004224, allocations: 4.122 MB / 0.9555 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002855/0.00709, allocations: 2.344 MB / 0.9578 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003764/0.007477, allocations: 35.88 kB / 0.9578 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.007846, allocations: 189.7 kB / 0.958 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.008172, allocations: 154.3 kB / 0.9582 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.009196, allocations: 0.643 MB / 0.9588 GB, free: 156 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.01038, allocations: 1.669 MB / 0.9604 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009157/0.0113, allocations: 0.9148 MB / 0.9613 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.01173, allocations: 0.5487 MB / 0.9618 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.01217, allocations: 0.6374 MB / 0.9625 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.01234, allocations: 176 kB / 0.9626 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.01252, allocations: 180 kB / 0.9628 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001054/0.01359, allocations: 2.146 MB / 0.9649 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0005544/0.01415, allocations: 1.354 MB / 0.9662 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.01433, allocations: 239.1 kB / 0.9664 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of FrontEnd: time 0.0001434/0.01448, allocations: 98.94 kB / 0.9665 GB, free: 8.109 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.004497/0.01898, allocations: 6.36 MB / 0.9728 GB, free: 1.547 MB / 0.7481 GB Notification: Performance of FunctionAlias: time 0.0006934/0.01968, allocations: 0.8914 MB / 0.9736 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of Early Inline: time 0.003583/0.02327, allocations: 4.48 MB / 0.978 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of simplify1: time 0.0002363/0.02352, allocations: 275.6 kB / 0.9783 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of Alias: time 0.008645/0.03217, allocations: 8.574 MB / 0.9866 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of simplify2: time 0.0002086/0.03241, allocations: 159.8 kB / 0.9868 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of Detect States: time 0.001056/0.03347, allocations: 1.125 MB / 0.9879 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of Events: time 0.0008062/0.03428, allocations: 0.705 MB / 0.9886 GB, free: 316 kB / 0.7637 GB Notification: Performance of Partitioning: time 0.0009094/0.0352, allocations: 0.9465 MB / 0.9895 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of Causalize: time 0.003483/0.03869, allocations: 3.476 MB / 0.9929 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of After Index Reduction Inline: time 0.001998/0.0407, allocations: 2.355 MB / 0.9952 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of Inline: time 0.004981/0.04569, allocations: 5.695 MB / 1.001 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of Partitioning: time 0.0003099/0.04601, allocations: 301.3 kB / 1.001 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of Cleanup: time 0.0001516/0.04617, allocations: 191.7 kB / 1.001 GB, free: 2.918 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.01361/0.05978, allocations: 13.24 MB / 1.014 GB, free: 5.297 MB / 0.795 GB Notification: Performance of Tearing: time 2.033e-05/0.05982, allocations: 0 / 1.014 GB, free: 5.297 MB / 0.795 GB Notification: Performance of Initialization: time 6.41e-07/0.05983, allocations: 0 / 1.014 GB, free: 5.297 MB / 0.795 GB Notification: Performance of Tearing: time 1.389e-05/0.05985, allocations: 7.938 kB / 1.014 GB, free: 5.289 MB / 0.795 GB Notification: Performance of Categorize: time 2.863e-05/0.05988, allocations: 8 kB / 1.014 GB, free: 5.281 MB / 0.795 GB Notification: Performance of Solve: time 0.0009934/0.06088, allocations: 0.7505 MB / 1.015 GB, free: 4.508 MB / 0.795 GB Notification: Performance of Jacobian: time 2.665e-06/0.06089, allocations: 4 kB / 1.015 GB, free: 4.504 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 8.819e-05/0.06098, allocations: 104.8 kB / 1.015 GB, free: 4.41 MB / 0.795 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.k