Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 104.3 kB / 16.42 MB, free: 6.477 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.001328/0.001328, allocations: 192.3 kB / 17.36 MB, free: 5.707 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.133/1.133, allocations: 222.9 MB / 241 MB, free: 15.07 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.89/1.89, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.557e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001284/0.001309, allocations: 0.6777 MB / 0.9521 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.002644, allocations: 1.167 MB / 0.9533 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.347e-05/0.002687, allocations: 0 / 0.9533 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.002718, allocations: 3.938 kB / 0.9533 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.92e-05/0.002782, allocations: 15.86 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.003233, allocations: 135.7 kB / 0.9534 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.003404, allocations: 147.7 kB / 0.9536 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.003482, allocations: 7.984 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.003566, allocations: 55.91 kB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.942e-05/0.003651, allocations: 51.84 kB / 0.9537 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.003679, allocations: 12 kB / 0.9537 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.034e-05/0.003744, allocations: 31.92 kB / 0.9537 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of combineBinaries: time 9.942e-05/0.003849, allocations: 115.1 kB / 0.9538 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.925e-05/0.003874, allocations: 47.25 kB / 0.9539 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.706e-05/0.003906, allocations: 8 kB / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.208e-06/0.003919, allocations: 0 / 0.9539 GB, free: 5.234 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (6) * Number of variables: 6 (6) Notification: Performance of Bindings: time 0.000442/0.004365, allocations: 456 kB / 0.9543 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 1.435e-05/0.004385, allocations: 11.94 kB / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0003805/0.00477, allocations: 415.9 kB / 0.9547 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of simplify1: time 1.153e-05/0.004789, allocations: 3.984 kB / 0.9547 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of Alias: time 0.0002908/0.005084, allocations: 216.7 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of simplify2: time 1.081e-05/0.005105, allocations: 15.98 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0002269/0.005336, allocations: 205.9 kB / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of Events: time 0.0002516/0.005595, allocations: 187.6 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of Partitioning: time 7.162e-05/0.005675, allocations: 56.03 kB / 0.9554 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002514/0.005933, allocations: 227.9 kB / 0.9556 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0002685/0.006209, allocations: 344.2 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of Inline: time 0.0005082/0.006723, allocations: 0.5716 MB / 0.9565 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.999e-05/0.006752, allocations: 24.11 kB / 0.9565 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of Cleanup: time 2.46e-05/0.006781, allocations: 27.89 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of Causalize: time 0.000614/0.007399, allocations: 0.5656 MB / 0.9571 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of Tearing: time 7.504e-06/0.007415, allocations: 0 / 0.9571 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of Initialization: time 3.71e-07/0.00742, allocations: 0 / 0.9571 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of Tearing: time 1.303e-06/0.007425, allocations: 0 / 0.9571 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of Categorize: time 4.989e-06/0.007433, allocations: 0 / 0.9571 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of Solve: time 4.687e-05/0.007485, allocations: 27.92 kB / 0.9571 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.514e-06/0.007493, allocations: 0 / 0.9571 GB, free: 1.648 MB / 0.7325 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: ......... 1 * 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: .................... 4 (4) {triggeredTrapezoid1.endValue, triggeredTrapezoid1.rate, triggeredTrapezoid1.T, booPul.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {$SEV_3, $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: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, 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: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, 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 3.434e-05/0.007531, allocations: 38.11 kB / 0.9571 GB, free: 1.617 MB / 0.7325 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not booPul.y