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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001121/0.001121, allocations: 111.8 kB / 16.42 MB, free: 6.508 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.001079/0.001079, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.138/1.138, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.201/2.201, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.681e-05, allocations: 4.109 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay): time 0.001774/0.001802, allocations: 1.184 MB / 1.056 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.003522, allocations: 1.634 MB / 1.057 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.003657, allocations: 7.938 kB / 1.057 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.048e-05/0.003723, allocations: 27.61 kB / 1.057 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.003851, allocations: 51.44 kB / 1.057 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008041/0.004667, allocations: 446.4 kB / 1.058 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006294/0.005304, allocations: 0.7919 MB / 1.059 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.005471, allocations: 85.33 kB / 1.059 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.005786, allocations: 315.4 kB / 1.059 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003069/0.006099, allocations: 326.9 kB / 1.059 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.006218, allocations: 75.94 kB / 1.059 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.00636, allocations: 91.98 kB / 1.06 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0004359/0.006802, allocations: 0.7282 MB / 1.06 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001568/0.006966, allocations: 335 kB / 1.061 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.007084, allocations: 91.81 kB / 1.061 GB, free: 1.566 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.955e-05/0.007118, allocations: 15.88 kB / 1.061 GB, free: 1.551 MB / 0.8262 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.001717/0.00884, allocations: 2.213 MB / 1.063 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.664e-05/0.008895, allocations: 51.89 kB / 1.063 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.002139/0.01104, allocations: 2.544 MB / 1.065 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001115/0.01116, allocations: 115.8 kB / 1.065 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of Alias: time 0.001466/0.01263, allocations: 1.42 MB / 1.067 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simplify2: time 0.000115/0.01276, allocations: 115.8 kB / 1.067 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of Events: time 0.0007607/0.01352, allocations: 0.664 MB / 1.068 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0009886/0.01452, allocations: 1.126 MB / 1.069 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0005099/0.01504, allocations: 0.5247 MB / 1.069 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of Causalize: time 0.001689/0.01673, allocations: 1.597 MB / 1.071 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001822/0.01857, allocations: 2.251 MB / 1.073 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of Inline: time 0.002741/0.02132, allocations: 3.46 MB / 1.076 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001054/0.02143, allocations: 104.7 kB / 1.076 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0001592/0.0216, allocations: 239.5 kB / 1.077 GB, free: 0.8203 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) pre(not not2.u) = false ($RES_SIM_3) slice: {}; [SCAL] (1) pre(not not2.u) = false ($RES_SIM_9) slice: {}; [SCAL] (1) pre(not not2.u) = false ($RES_SIM_12) slice: {}; [SCAL] (1) pre(not not2.u) = false ($RES_SIM_15) slice: {}; [SCAL] (1) $TEV_26 = false ($RES_SIM_18) slice: {}; [SCAL] (1) $TEV_26 = false ($RES_SIM_21) slice: {}; [SCAL] (1) $TEV_26 = false ($RES_SIM_24) slice: {}; [SCAL] (1) pre(not not1.u) = false ($RES_SIM_27) slice: {}; [SCAL] (1) pre(not not1.u) = false ($RES_SIM_33) slice: {}; [SCAL] (1) pre(not not1.u) = false ($RES_SIM_36) slice: {}; [SCAL] (1) pre(not not1.u) = false ($RES_SIM_39) slice: {}; [SCAL] (1) $TEV_35 = false ($RES_SIM_42) slice: {}; [SCAL] (1) $TEV_35 = false ($RES_SIM_45) slice: {}; [SCAL] (1) $TEV_35 = 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.3733/0.3949, allocations: 3.653 MB / 1.08 GB, free: 24.96 MB / 0.8419 GB Notification: Performance of Tearing: time 1.213e-05/0.3949, allocations: 0 / 1.08 GB, free: 24.96 MB / 0.8419 GB Notification: Performance of Initialization: time 2.825e-06/0.3949, allocations: 0 / 1.08 GB, free: 24.96 MB / 0.8419 GB Notification: Performance of Tearing: time 4.609e-06/0.3949, allocations: 4.453 kB / 1.08 GB, free: 24.96 MB / 0.8419 GB Notification: Performance of Categorize: time 1.6e-05/0.3949, allocations: 7.062 kB / 1.08 GB, free: 24.96 MB / 0.8419 GB Notification: Performance of Solve: time 0.0003203/0.3953, allocations: 240.2 kB / 1.081 GB, free: 24.93 MB / 0.8419 GB Notification: Performance of Jacobian: time 4.258e-06/0.3953, allocations: 1.312 kB / 1.081 GB, free: 24.93 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 6.426e-05/0.3953, allocations: 61.45 kB / 1.081 GB, free: 24.91 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not (not not1.u)