Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Logical.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Logical") translateModel(ModelicaTest.Blocks.Logical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Logical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 108.2 kB / 16.42 MB, free: 6.512 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.001096/0.001096, allocations: 187.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.181/1.181, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1648/0.1648, allocations: 39.97 MB / 310.6 MB, free: 4.023 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.784e-05/1.785e-05, allocations: 6.016 kB / 436.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Logical): time 0.002777/0.002803, allocations: 2.729 MB / 439.1 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.004346, allocations: 1.302 MB / 440.4 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.004503, allocations: 7.938 kB / 440.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006509/0.00516, allocations: 334.8 kB / 440.8 MB, free: 7.387 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.005535, allocations: 234.9 kB / 441 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00058/0.006124, allocations: 381.3 kB / 441.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.006529, allocations: 0.6947 MB / 442.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.006799, allocations: 235.5 kB / 442.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.007012, allocations: 275 kB / 442.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.007203, allocations: 298.7 kB / 442.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.007265, allocations: 52 kB / 442.9 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.007418, allocations: 111.9 kB / 443 MB, free: 5.137 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003155/0.007741, allocations: 0.8613 MB / 443.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001395/0.007886, allocations: 0.5387 MB / 444.4 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.977e-05/0.007961, allocations: 79.69 kB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.931e-05/0.008017, allocations: 31.75 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 (100) * Number of variables: 100 (100) Notification: Performance of Bindings: time 0.001349/0.00937, allocations: 2.175 MB / 446.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.957e-05/0.009467, allocations: 87.86 kB / 446.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0006875/0.01016, allocations: 1.12 MB / 447.9 MB, free: 88 kB / 318.1 MB Notification: Performance of simplify1: time 8.657e-05/0.01025, allocations: 95.84 kB / 448 MB, free: 15.99 MB / 334.1 MB Notification: Performance of Alias: time 0.001813/0.01207, allocations: 1.796 MB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simplify2: time 6.037e-05/0.01215, allocations: 67.89 kB / 449.9 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Events: time 0.0004091/0.01256, allocations: 358.7 kB / 450.2 MB, free: 13.61 MB / 334.1 MB Notification: Performance of Detect States: time 0.0004694/0.01304, allocations: 496.9 kB / 450.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004443/0.01349, allocations: 451.5 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of Causalize: time 0.002219/0.01572, allocations: 2.362 MB / 453.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.000942/0.01667, allocations: 1.094 MB / 454.6 MB, free: 9.18 MB / 334.1 MB Notification: Performance of Inline: time 0.001808/0.01849, allocations: 1.881 MB / 456.5 MB, free: 7.273 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001129/0.01862, allocations: 95.61 kB / 456.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of Cleanup: time 8.336e-05/0.01871, allocations: 91.77 kB / 456.7 MB, free: 7.086 MB / 334.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) pre(not fallingEdge.not_u) = edge1.pre_u_start ($RES_SIM_11) slice: {}; [SCAL] (1) pre(not (not fallingEdge.not_u)) = pre1.pre_u_start ($RES_SIM_12) slice: {}; [SCAL] (1) $SEV_19 = or1.u1 or and1.u2 ($RES_EVT_150) slice: {}; [SCAL] (1) $SEV_15 = greaterEqualThreshold.u > greaterThreshold.threshold ($RES_EVT_146) slice: {}; Notification: Performance of Causalize: time 0.005203/0.02392, allocations: 5.768 MB / 462.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of Tearing: time 9.608e-06/0.02394, allocations: 4 kB / 462.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Initialization: time 7.62e-07/0.02395, allocations: 3.938 kB / 462.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of Tearing: time 3.046e-06/0.02396, allocations: 0 / 462.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of Categorize: time 1.308e-05/0.02398, allocations: 4 kB / 462.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of Solve: time 0.0007903/0.02477, allocations: 0.8331 MB / 463.3 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of Jacobian: time 2.665e-06/0.02478, allocations: 0 / 463.3 MB, free: 0.5977 MB / 334.1 MB 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: ......... 4 * 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: .................... 8 (8) {timer.entryTime, triggeredTrapezoid.rate, triggeredTrapezoid.T, triggeredTrapezoid.endValue, table2.combiTimeTable.nextTimeEvent, table2.combiTimeTable.nextTimeEventScaled, table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 66 (66) {and1.u1, and1.u2, or1.u1, xor.y, nor.y, edge1.y, fallingEdge.y, fallingEdge.not_u, change1.y, greaterEqualThreshold.y, lessThreshold.y, lessEqualThreshold.y, greater.y, greaterEqual.y, less.y, lessEqual.y, zeroCrossing.y, zeroCrossing.disable, zeroCrossing.u_pos, logicalSwitch.u1, logicalSwitch.u2, logicalSwitch.y, hysteresis.y, onOffController.y, rSFlipFlop.nor.u2, rSFlipFlop.nor.y, rSFlipFlop.nor1.u1, $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, $SEV_2, $SEV_1, $SEV_0, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 76 (scalar:76, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, 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: ........... 107 (scalar:103, array:2, record:2) * Number of multi strong components: ............ 7 (algorithm:7, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 6.369e-05/0.02485, allocations: 76.59 kB / 463.3 MB, free: 0.543 MB / 334.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not and1.u2