Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001178/0.001178, allocations: 109.1 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.001242/0.001242, allocations: 187.2 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.229/1.229, 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 11.0.1-master/package.mo): time 2.279/2.279, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.725e-05, allocations: 2.281 kB / 1.055 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001438/0.001466, allocations: 0.7856 MB / 1.055 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.002872, allocations: 1.244 MB / 1.057 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.002938, allocations: 4 kB / 1.057 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.599e-05/0.00298, allocations: 11.86 kB / 1.057 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.554e-05/0.003057, allocations: 15.8 kB / 1.057 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.003683, allocations: 262 kB / 1.057 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000296/0.003987, allocations: 279.6 kB / 1.057 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.004122, allocations: 53.11 kB / 1.057 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.004263, allocations: 103.8 kB / 1.057 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.004393, allocations: 103.7 kB / 1.057 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.194e-05/0.00444, allocations: 24 kB / 1.057 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.26e-05/0.004528, allocations: 39.92 kB / 1.057 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001632/0.004698, allocations: 245.8 kB / 1.058 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 4.765e-05/0.004752, allocations: 110.3 kB / 1.058 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.004799, allocations: 27.94 kB / 1.058 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.242e-05/0.004826, allocations: 7.938 kB / 1.058 GB, free: 4.461 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: 26 (26) * Number of variables: 26 (26) Notification: Performance of Bindings: time 0.0006889/0.005519, allocations: 0.7467 MB / 1.059 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.649e-05/0.005541, allocations: 11.94 kB / 1.059 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0007979/0.006344, allocations: 0.7849 MB / 1.059 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simplify1: time 2.117e-05/0.006373, allocations: 19.97 kB / 1.059 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of Alias: time 0.000796/0.007174, allocations: 0.7088 MB / 1.06 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of simplify2: time 1.381e-05/0.007197, allocations: 11.97 kB / 1.06 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of Events: time 0.0004174/0.00762, allocations: 355.2 kB / 1.06 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of Detect States: time 0.000365/0.007995, allocations: 372.9 kB / 1.061 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of Partitioning: time 9.835e-05/0.008102, allocations: 80.08 kB / 1.061 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of Causalize: time 0.000314/0.008422, allocations: 279.8 kB / 1.061 GB, free: 0.8867 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0004429/0.008873, allocations: 0.539 MB / 1.062 GB, free: 328 kB / 0.8262 GB Notification: Performance of Inline: time 0.0008466/0.009726, allocations: 0.8877 MB / 1.063 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.32e-05/0.009768, allocations: 36.09 kB / 1.063 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.737e-05/0.009811, allocations: 39.94 kB / 1.063 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0009128/0.01073, allocations: 0.81 MB / 1.063 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of Tearing: time 7.294e-06/0.01074, allocations: 0 / 1.063 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of Initialization: time 5.11e-07/0.01075, allocations: 0 / 1.063 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of Tearing: time 1.483e-06/0.01076, allocations: 0 / 1.063 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of Categorize: time 7.144e-06/0.01077, allocations: 4 kB / 1.063 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of Solve: time 6.825e-05/0.01084, allocations: 49.58 kB / 1.063 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.645e-06/0.01085, allocations: 0 / 1.063 GB, free: 14.45 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: ......... 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: .................... 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: ................. 4 (4) {$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: ........... 4 (scalar:4, 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: ........... 18 (scalar:18, 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 4.564e-05/0.0109, allocations: 23 kB / 1.063 GB, free: 14.43 MB / 0.8419 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not swiCleInp.clr