Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 105.9 kB / 16.42 MB, free: 5.551 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.001541/0.001541, allocations: 189.8 kB / 17.36 MB, free: 5.215 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.565/1.565, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.333/1.333, allocations: 251.7 MB / 0.51 GB, free: 400 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.631e-05, allocations: 5.938 kB / 0.7264 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004946/0.00498, allocations: 3.144 MB / 0.7294 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002463/0.007456, allocations: 1.017 MB / 0.7304 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006955/0.008163, allocations: 11.94 kB / 0.7304 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.008558, allocations: 79.12 kB / 0.7305 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.009019, allocations: 95.17 kB / 0.7306 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008099/0.009838, allocations: 238.7 kB / 0.7308 GB, free: 176 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009355/0.01078, allocations: 0.6129 MB / 0.7314 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004595/0.01125, allocations: 267.9 kB / 0.7317 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.01154, allocations: 203.1 kB / 0.7319 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.01177, allocations: 206.9 kB / 0.7321 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.869e-05/0.01185, allocations: 52 kB / 0.7321 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.536e-05/0.01192, allocations: 52 kB / 0.7322 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.0005244/0.01245, allocations: 0.7448 MB / 0.7329 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of replaceArrayConstructors: time 0.0002843/0.01274, allocations: 0.4886 MB / 0.7334 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/0.01283, allocations: 83.69 kB / 0.7334 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 0.0001382/0.01298, allocations: 27.75 kB / 0.7335 GB, free: 13.43 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 (91) * Number of variables: 91 (91) Notification: Performance of Bindings: time 0.00207/0.01505, allocations: 2.219 MB / 0.7356 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of FunctionAlias: time 0.0001478/0.01521, allocations: 107.8 kB / 0.7357 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of Early Inline: time 0.001044/0.01626, allocations: 1.03 MB / 0.7368 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of simplify1: time 9.022e-05/0.01636, allocations: 67.91 kB / 0.7368 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of Alias: time 0.002502/0.01887, allocations: 2.118 MB / 0.7389 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0001352/0.01901, allocations: 39.95 kB / 0.7389 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of Events: time 0.000256/0.01928, allocations: 151.2 kB / 0.7391 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of Detect States: time 0.0005984/0.0199, allocations: 260.3 kB / 0.7393 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0004026/0.02031, allocations: 279.5 kB / 0.7396 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of Causalize: time 0.001539/0.02186, allocations: 1.359 MB / 0.7409 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of After Index Reduction Inline: time 0.0006757/0.02254, allocations: 0.655 MB / 0.7415 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of Inline: time 0.00155/0.0241, allocations: 1.271 MB / 0.7428 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.0001252/0.02424, allocations: 95.53 kB / 0.7429 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of Cleanup: time 9.925e-05/0.02434, allocations: 47.95 kB / 0.7429 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of Causalize: time 0.002552/0.0269, allocations: 2.46 MB / 0.7453 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of Tearing: time 9.198e-06/0.02692, allocations: 0 / 0.7453 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of Initialization: time 7.72e-07/0.02693, allocations: 0 / 0.7453 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of Tearing: time 3.497e-06/0.02693, allocations: 0 / 0.7453 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of Categorize: time 1.597e-05/0.02695, allocations: 4 kB / 0.7453 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of Solve: time 0.0003647/0.02732, allocations: 214.1 kB / 0.7455 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of Jacobian: time 0.0004782/0.02781, allocations: 473.3 kB / 0.746 GB, free: 104 kB / 0.5762 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * 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: ............................. 2 (2) {con.con.I.y, cap.T} * Number of discrete states: .................... 3 (3) {con.offTimer.entryTime, con.onTimer.entryTime, con.offHys.entryTime} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 15 (15) {con.offHys.u, con.switch2.u2, con.greaterEqualThreshold.y, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 39 (scalar:39, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 76 (scalar:76, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 0.0001506/0.02797, allocations: 30.92 kB / 0.746 GB, free: 84 kB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.switch2.u2