Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001178/0.001178, allocations: 108.1 kB / 16.38 MB, free: 6.035 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.00119/0.00119, allocations: 194.8 kB / 17.32 MB, free: 5.633 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.339/1.339, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.016e-05, allocations: 10.02 kB / 0.6728 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004398/0.004444, allocations: 3.156 MB / 0.6759 GB, free: 2.742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.006083, allocations: 1.01 MB / 0.6769 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.006306, allocations: 11.94 kB / 0.6769 GB, free: 1.711 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.006529, allocations: 67.27 kB / 0.677 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.006716, allocations: 103.1 kB / 0.6771 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.007237, allocations: 239 kB / 0.6773 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005321/0.007778, allocations: 0.6168 MB / 0.6779 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.008221, allocations: 259.9 kB / 0.6782 GB, free: 448 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.008486, allocations: 203.1 kB / 0.6784 GB, free: 244 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.008702, allocations: 210.8 kB / 0.6786 GB, free: 32 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.376e-05/0.008782, allocations: 52.05 kB / 0.6786 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.23e-05/0.008851, allocations: 52 kB / 0.6787 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.0004854/0.009341, allocations: 0.7486 MB / 0.6794 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.0002647/0.009612, allocations: 0.4886 MB / 0.6799 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.877e-05/0.009707, allocations: 83.69 kB / 0.6799 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.292e-05/0.009805, allocations: 23.81 kB / 0.68 GB, free: 14.57 MB / 0.5606 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.001908/0.01172, allocations: 2.234 MB / 0.6821 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.0001136/0.01184, allocations: 95.88 kB / 0.6822 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0009565/0.0128, allocations: 1.026 MB / 0.6832 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simplify1: time 7.47e-05/0.01289, allocations: 75.88 kB / 0.6833 GB, free: 11 MB / 0.5606 GB Notification: Performance of Alias: time 0.00258/0.01547, allocations: 2.102 MB / 0.6854 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of simplify2: time 4.661e-05/0.01553, allocations: 51.92 kB / 0.6854 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of Events: time 0.0002013/0.01574, allocations: 143 kB / 0.6856 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0003919/0.01614, allocations: 267.5 kB / 0.6858 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0003518/0.0165, allocations: 280.3 kB / 0.6861 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of Causalize: time 0.00147/0.01798, allocations: 1.344 MB / 0.6874 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0005652/0.01856, allocations: 0.6508 MB / 0.688 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of Inline: time 0.001459/0.02002, allocations: 1.268 MB / 0.6893 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of Partitioning: time 9.063e-05/0.02012, allocations: 87.61 kB / 0.6893 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of Cleanup: time 7.431e-05/0.02021, allocations: 47.95 kB / 0.6894 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of Causalize: time 0.002499/0.02271, allocations: 2.608 MB / 0.6919 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of Tearing: time 6.692e-06/0.02273, allocations: 0 / 0.6919 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of Initialization: time 4.81e-07/0.02273, allocations: 0 / 0.6919 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of Tearing: time 2.104e-06/0.02274, allocations: 0 / 0.6919 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of Categorize: time 1.57e-05/0.02276, allocations: 8 kB / 0.6919 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of Solve: time 0.0003609/0.02314, allocations: 218 kB / 0.6922 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of Jacobian: time 0.0004204/0.02357, allocations: 479.7 kB / 0.6926 GB, free: 1.109 MB / 0.5606 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: ........... 81 (scalar:81, 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.0001315/0.02371, allocations: 34.05 kB / 0.6926 GB, free: 1.09 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.switch2.u2