Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.TrueDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onDelay0.u|onDelay0.y|onDelay1.y|onDelay2.y|onDelay3.y|onDelay4.y|onDelay5.y|onDelay6.y|onDelay7.y|onDelay00.u|onDelay00.y|onDelay11.y|onDelay22.y|onDelay33.y|onDelay44.y|onDelay55.y|onDelay66.y|onDelay77.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onDelay0.u|onDelay0.y|onDelay1.y|onDelay2.y|onDelay3.y|onDelay4.y|onDelay5.y|onDelay6.y|onDelay7.y|onDelay00.u|onDelay00.y|onDelay11.y|onDelay22.y|onDelay33.y|onDelay44.y|onDelay55.y|onDelay66.y|onDelay77.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001092, allocations: 107.2 kB / 16.42 MB, free: 6.48 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.001054/0.001054, allocations: 190 kB / 17.36 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.142/1.142, 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 12.0.0-master/package.mo): time 2.254/2.254, allocations: 472.6 MB / 0.7459 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.476e-05, allocations: 2.281 kB / 1.07 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.001778/0.001803, allocations: 1.177 MB / 1.071 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.003648, allocations: 1.626 MB / 1.073 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.003821, allocations: 3.938 kB / 1.073 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.346e-05/0.003892, allocations: 35.55 kB / 1.073 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.004042, allocations: 55.42 kB / 1.073 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000854/0.004916, allocations: 436.6 kB / 1.073 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0006281/0.005552, allocations: 0.7958 MB / 1.074 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.005726, allocations: 85.31 kB / 1.074 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002874/0.00602, allocations: 307.4 kB / 1.074 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.006305, allocations: 338.9 kB / 1.075 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.006414, allocations: 72 kB / 1.075 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.006555, allocations: 91.97 kB / 1.075 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0004362/0.006997, allocations: 0.732 MB / 1.076 GB, free: 3.918 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001593/0.007162, allocations: 331 kB / 1.076 GB, free: 3.59 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.00728, allocations: 95.81 kB / 1.076 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.022e-05/0.007325, allocations: 15.88 kB / 1.076 GB, free: 3.48 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: 54 (54) * Number of variables: 54 (54) Notification: Performance of Bindings: time 0.001753/0.009083, allocations: 2.209 MB / 1.078 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.415e-05/0.009132, allocations: 47.89 kB / 1.078 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.3823/0.3915, allocations: 2.546 MB / 1.081 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001244/0.3916, allocations: 115.3 kB / 1.081 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of Alias: time 0.001392/0.393, allocations: 1.414 MB / 1.082 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simplify2: time 9.008e-05/0.3931, allocations: 107 kB / 1.082 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0008525/0.394, allocations: 1.076 MB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of Events: time 0.0006668/0.3947, allocations: 0.6336 MB / 1.084 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0004593/0.3951, allocations: 0.5257 MB / 1.085 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001602/0.3967, allocations: 1.596 MB / 1.086 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001865/0.3986, allocations: 2.246 MB / 1.088 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of Inline: time 0.002774/0.4014, allocations: 3.456 MB / 1.092 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.655e-05/0.4015, allocations: 99.45 kB / 1.092 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001997/0.4017, allocations: 245.4 kB / 1.092 GB, free: 10.2 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_25 = false ($RES_SIM_6) slice: {}; [SCAL] (1) not $TEV_25 = false ($RES_SIM_9) slice: {}; [SCAL] (1) not $TEV_25 = false ($RES_SIM_12) slice: {}; [SCAL] (1) not $TEV_25 = false ($RES_SIM_15) slice: {}; [SCAL] (1) $TEV_25 = false ($RES_SIM_18) slice: {}; [SCAL] (1) $TEV_25 = false ($RES_SIM_21) slice: {}; [SCAL] (1) $TEV_25 = false ($RES_SIM_24) slice: {}; [SCAL] (1) $TEV_34 = false ($RES_SIM_30) slice: {}; [SCAL] (1) not $TEV_34 = false ($RES_SIM_33) slice: {}; [SCAL] (1) not $TEV_34 = false ($RES_SIM_36) slice: {}; [SCAL] (1) not $TEV_34 = false ($RES_SIM_39) slice: {}; [SCAL] (1) $TEV_34 = false ($RES_SIM_42) slice: {}; [SCAL] (1) $TEV_34 = false ($RES_SIM_45) slice: {}; [SCAL] (1) $TEV_34 = false ($RES_SIM_48) slice: {}; [SCAL] (1) not1.u = $PRE.not1.u ($RES_SRT_143) slice: {}; [SCAL] (1) not2.u = $PRE.not2.u ($RES_SRT_142) slice: {}; Notification: Performance of Causalize: time 0.003852/0.4056, allocations: 3.648 MB / 1.096 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of Tearing: time 1.409e-05/0.4056, allocations: 9.203 kB / 1.096 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of Initialization: time 5.21e-07/0.4056, allocations: 0 / 1.096 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of Tearing: time 6.813e-06/0.4056, allocations: 0.875 kB / 1.096 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of Categorize: time 1.257e-05/0.4056, allocations: 6.375 kB / 1.096 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of Solve: time 0.0003408/0.406, allocations: 241.3 kB / 1.096 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.825e-06/0.406, allocations: 0 / 1.096 GB, free: 8.793 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: ......... 2 * 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: .................... 34 (34) {not2.u, not1.u, onDelay77.y, onDelay77.t_next, onDelay33.t_next, onDelay33.y, onDelay66.y, onDelay66.t_next, onDelay55.t_next, onDelay55.y, onDelay44.y, onDelay44.t_next, onDelay22.t_next, onDelay22.y, onDelay11.y, onDelay11.t_next, onDelay00.y, onDelay00.t_next, onDelay7.y, onDelay7.t_next, onDelay3.t_next, onDelay3.y, onDelay6.t_next, onDelay6.y, onDelay5.t_next, onDelay5.y, onDelay4.y, onDelay4.t_next, onDelay2.t_next, onDelay2.y, onDelay1.t_next, onDelay1.y, onDelay0.y, onDelay0.t_next} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 38 (38) {$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, $TEV_45, $TEV_44, $TEV_43, $TEV_42, $TEV_41, $TEV_40, $TEV_39, $TEV_38, $TEV_37, $TEV_36, $TEV_35, $TEV_34, $TEV_33, $TEV_32, $TEV_31, $TEV_30, $TEV_29, $TEV_28, $TEV_27, $TEV_26, $TEV_25, $TEV_24} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 38 (scalar:38, array:0, record:0) * Number of multi strong components: ............ 34 (algorithm:0, when:34, 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: ........... 88 (scalar:88, array:0, record:0) * Number of multi strong components: ............ 34 (algorithm:34, 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 5.601e-05/0.406, allocations: 67.89 kB / 1.096 GB, free: 8.766 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not not1.u)