Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Latch.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.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falCleTruIni.u|falCleTruIni.clr|falCleTruIni.y|falCleFalIni.u|falCleFalIni.clr|falCleFalIni.y|truCleTruIni.u|truCleTruIni.clr|truCleTruIni.y|truCleFalIni.u|truCleFalIni.clr|truCleFalIni.y|swiCleInp.u|swiCleInp.clr|swiCleInp.y|swiCleInp1.u|swiCleInp1.clr|swiCleInp1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 112 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.001051/0.001051, allocations: 188.2 kB / 17.35 MB, free: 5.754 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.131/1.131, allocations: 222.9 MB / 241 MB, free: 15.16 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.917/1.917, allocations: 390.2 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.291e-05/1.294e-05, allocations: 10.16 kB / 0.9515 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001344/0.001367, allocations: 0.7822 MB / 0.9522 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.002926, allocations: 1.335 MB / 0.9536 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.746e-05/0.003004, allocations: 4 kB / 0.9536 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.003045, allocations: 11.86 kB / 0.9536 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.003123, allocations: 15.81 kB / 0.9536 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.003801, allocations: 303.3 kB / 0.9539 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.004149, allocations: 387.5 kB / 0.9542 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.004286, allocations: 49.11 kB / 0.9543 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.004442, allocations: 151.8 kB / 0.9544 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.004612, allocations: 151.5 kB / 0.9546 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.216e-05/0.00467, allocations: 36 kB / 0.9546 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.397e-05/0.004759, allocations: 51.98 kB / 0.9547 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0002204/0.004986, allocations: 309.8 kB / 0.955 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 5.098e-05/0.005042, allocations: 110.3 kB / 0.9551 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.005099, allocations: 31.94 kB / 0.9551 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.731e-05/0.005121, allocations: 3.938 kB / 0.9551 GB, free: 4.012 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: 26 (26) * Number of variables: 26 (26) Notification: Performance of Bindings: time 0.0008645/0.005991, allocations: 0.9506 MB / 0.956 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 2.337e-05/0.006019, allocations: 15.98 kB / 0.956 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0009978/0.007022, allocations: 1.133 MB / 0.9571 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of simplify1: time 4.793e-05/0.007078, allocations: 47.91 kB / 0.9572 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of Alias: time 0.0009181/0.008001, allocations: 0.8336 MB / 0.958 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of simplify2: time 4.218e-05/0.008053, allocations: 43.84 kB / 0.958 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of Detect States: time 0.000445/0.00851, allocations: 491.6 kB / 0.9585 GB, free: 300 kB / 0.7325 GB Notification: Performance of Events: time 0.0007249/0.009242, allocations: 0.5783 MB / 0.9591 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0002457/0.009497, allocations: 255.6 kB / 0.9593 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of Causalize: time 0.0009359/0.01044, allocations: 0.8752 MB / 0.9602 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of After Index Reduction Inline: time 0.0009264/0.01138, allocations: 1.114 MB / 0.9613 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of Inline: time 0.001374/0.01276, allocations: 1.611 MB / 0.9628 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of Partitioning: time 5.011e-05/0.01281, allocations: 53 kB / 0.9629 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of Cleanup: time 6.004e-05/0.01288, allocations: 83.84 kB / 0.963 GB, free: 11.61 MB / 0.7481 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $TEV_24 = false ($RES_SIM_5) slice: {}; [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) $TEV_28 = false ($RES_SIM_14) slice: {}; [SCAL] (1) $TEV_25 = false ($RES_SIM_15) slice: {}; [SCAL] (1) $TEV_30 = false ($RES_SIM_17) slice: {}; [SCAL] (1) $TEV_25 = false ($RES_SIM_18) slice: {}; [SCAL] (1) swiCleInp.clr = $PRE.swiCleInp.clr ($RES_SRT_85) slice: {}; [SCAL] (1) falCleTruIni.u = $PRE.falCleTruIni.u ($RES_SRT_84) slice: {}; Notification: Performance of Causalize: time 0.002057/0.01494, allocations: 2.012 MB / 0.9649 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of Tearing: time 1.185e-05/0.01496, allocations: 3.938 kB / 0.9649 GB, free: 9.555 MB / 0.7481 GB Notification: Performance of Initialization: time 3.81e-07/0.01497, allocations: 3.938 kB / 0.9649 GB, free: 9.551 MB / 0.7481 GB Notification: Performance of Tearing: time 4.579e-06/0.01498, allocations: 4 kB / 0.9649 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of Categorize: time 7.093e-06/0.01499, allocations: 0 / 0.9649 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of Solve: time 0.000173/0.01517, allocations: 130 kB / 0.9651 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of Jacobian: time 2.334e-06/0.01518, allocations: 4 kB / 0.9651 GB, free: 9.414 MB / 0.7481 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: ......... 3 * 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) {falCleTruIni.u, swiCleInp.clr, swiCleInp1.y, swiCleInp.y, truCleFalIni.y, falCleFalIni.y, truCleTruIni.y, falCleTruIni.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 32 (32) {$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, $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: ........... 32 (scalar:32, 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: ........... 48 (scalar:48, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:8, 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.813e-05/0.01522, allocations: 40.97 kB / 0.9651 GB, free: 9.379 MB / 0.7481 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not swiCleInp.clr