Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001349/0.001349, allocations: 110.3 kB / 16.42 MB, free: 6.484 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.001384/0.001384, allocations: 187.2 kB / 17.35 MB, free: 5.703 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.37/1.37, 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 10.1.1-maint.10.0.x/package.mo): time 2.396/2.396, allocations: 437 MB / 0.7111 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/2.979e-05, allocations: 2.281 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Generic.Validation.TrimAndRespond): time 0.005862/0.00591, allocations: 4.111 MB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004526/0.01047, allocations: 2.372 MB / 1.025 GB, free: 2.973 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.01165, allocations: 31.88 kB / 1.025 GB, free: 2.941 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007327/0.0124, allocations: 189.7 kB / 1.026 GB, free: 2.754 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008593/0.01327, allocations: 154.3 kB / 1.026 GB, free: 2.602 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.01527, allocations: 0.6506 MB / 1.026 GB, free: 1.953 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0023/0.01758, allocations: 1.681 MB / 1.028 GB, free: 276 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.0192, allocations: 0.9109 MB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009704/0.02018, allocations: 0.5526 MB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/0.02109, allocations: 0.6335 MB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000446/0.02155, allocations: 180 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.02198, allocations: 192 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.00186/0.02385, allocations: 2.15 MB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 0.0009907/0.02485, allocations: 1.362 MB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006292/0.02549, allocations: 235.2 kB / 1.034 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of FrontEnd: time 0.0005243/0.02603, allocations: 94.94 kB / 1.034 GB, free: 9.887 MB / 0.8106 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.007071/0.03311, allocations: 6.356 MB / 1.04 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 0.001151/0.03427, allocations: 0.9032 MB / 1.041 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of Early Inline: time 0.005507/0.0398, allocations: 4.492 MB / 1.046 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simplify1: time 0.0004919/0.04031, allocations: 279.6 kB / 1.046 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of Alias: time 0.01074/0.05107, allocations: 8.578 MB / 1.054 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simplify2: time 0.0003216/0.05142, allocations: 167.8 kB / 1.055 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of Detect States: time 0.001287/0.05272, allocations: 1.134 MB / 1.056 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of Events: time 0.00107/0.05381, allocations: 0.7097 MB / 1.056 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.001158/0.05498, allocations: 0.9466 MB / 1.057 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of Causalize: time 0.004434/0.05942, allocations: 3.515 MB / 1.061 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.002702/0.06218, allocations: 2.366 MB / 1.063 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of Inline: time 0.007227/0.06942, allocations: 5.709 MB / 1.069 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0004434/0.06989, allocations: 305.3 kB / 1.069 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0002761/0.07018, allocations: 199.6 kB / 1.069 GB, free: 4.574 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) slice: {}; [SCAL] (1) swi.u2 = $PRE.swi.u2 ($RES_SRT_549) slice: {}; Notification: Performance of Causalize: time 0.6017/0.6719, allocations: 13.31 MB / 1.082 GB, free: 42.78 MB / 0.8419 GB Notification: Performance of Tearing: time 2.938e-05/0.672, allocations: 1.094 kB / 1.082 GB, free: 42.78 MB / 0.8419 GB Notification: Performance of Initialization: time 1.103e-06/0.672, allocations: 1.062 kB / 1.082 GB, free: 42.78 MB / 0.8419 GB Notification: Performance of Tearing: time 2.125e-05/0.672, allocations: 5.844 kB / 1.082 GB, free: 42.78 MB / 0.8419 GB Notification: Performance of Categorize: time 5.6e-05/0.6721, allocations: 7.703 kB / 1.082 GB, free: 42.78 MB / 0.8419 GB Notification: Performance of Solve: time 0.001664/0.6737, allocations: 0.7478 MB / 1.083 GB, free: 42.68 MB / 0.8419 GB Notification: Performance of Jacobian: time 4.248e-06/0.6737, allocations: 0 / 1.083 GB, free: 42.68 MB / 0.8419 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 0.0001341/0.6739, allocations: 97.16 kB / 1.083 GB, free: 42.66 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.k