Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.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.002204/0.002204, allocations: 115.8 kB / 17.1 MB, free: 5.977 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.002938/0.002939, allocations: 195 kB / 18.03 MB, free: 5.062 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.57/1.57, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.865/0.865, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/2.962e-05, allocations: 3.047 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005097/0.005137, allocations: 3.13 MB / 0.5613 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.007361, allocations: 0.964 MB / 0.5623 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.007708, allocations: 14.97 kB / 0.5623 GB, free: 29.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.008019, allocations: 71.47 kB / 0.5623 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.008247, allocations: 102 kB / 0.5624 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.008907, allocations: 244.5 kB / 0.5627 GB, free: 29.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000732/0.009648, allocations: 0.6144 MB / 0.5633 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005039/0.01016, allocations: 255.7 kB / 0.5635 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.01047, allocations: 210.1 kB / 0.5637 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.01074, allocations: 209.8 kB / 0.5639 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.01085, allocations: 52.12 kB / 0.564 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.01095, allocations: 52.28 kB / 0.564 GB, free: 28.5 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0006536/0.01161, allocations: 0.7436 MB / 0.5647 GB, free: 27.97 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003227/0.01194, allocations: 0.49 MB / 0.5652 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.01205, allocations: 86.03 kB / 0.5653 GB, free: 27.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0001727/0.01223, allocations: 32.72 kB / 0.5653 GB, free: 27.54 MB / 446.1 MB 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.002263/0.01449, allocations: 2.234 MB / 0.5675 GB, free: 25.95 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001601/0.01466, allocations: 97.39 kB / 0.5676 GB, free: 25.88 MB / 446.1 MB Notification: Performance of Early Inline: time 0.001081/0.01575, allocations: 1.021 MB / 0.5686 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simplify1: time 0.0001123/0.01587, allocations: 75.39 kB / 0.5687 GB, free: 25.16 MB / 446.1 MB Notification: Performance of Alias: time 0.003256/0.01913, allocations: 2.384 MB / 0.571 GB, free: 23.69 MB / 446.1 MB Notification: Performance of simplify2: time 7.01e-05/0.01921, allocations: 43.2 kB / 0.571 GB, free: 23.68 MB / 446.1 MB Notification: Performance of Events: time 0.0002532/0.01948, allocations: 144.6 kB / 0.5712 GB, free: 23.59 MB / 446.1 MB Notification: Performance of Detect States: time 0.0003855/0.01987, allocations: 269.2 kB / 0.5714 GB, free: 23.4 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0003715/0.02025, allocations: 277.4 kB / 0.5717 GB, free: 23.23 MB / 446.1 MB Notification: Performance of Causalize: time 0.00126/0.02152, allocations: 0.9445 MB / 0.5726 GB, free: 22.86 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006493/0.02218, allocations: 0.6517 MB / 0.5733 GB, free: 22.43 MB / 446.1 MB Notification: Performance of Inline: time 0.001391/0.02358, allocations: 1.277 MB / 0.5745 GB, free: 21.62 MB / 446.1 MB Notification: Performance of Partitioning: time 9.234e-05/0.02368, allocations: 90.72 kB / 0.5746 GB, free: 21.56 MB / 446.1 MB Notification: Performance of Cleanup: time 5.507e-05/0.02375, allocations: 49.23 kB / 0.5746 GB, free: 21.53 MB / 446.1 MB Notification: Performance of Causalize: time 0.002419/0.02617, allocations: 1.844 MB / 0.5764 GB, free: 20.83 MB / 446.1 MB Notification: Performance of Tearing: time 1.563e-05/0.0262, allocations: 0 / 0.5764 GB, free: 20.83 MB / 446.1 MB Notification: Performance of Initialization: time 2.274e-06/0.02621, allocations: 1.25 kB / 0.5764 GB, free: 20.83 MB / 446.1 MB Notification: Performance of Tearing: time 4.289e-06/0.02622, allocations: 3.938 kB / 0.5764 GB, free: 20.83 MB / 446.1 MB Notification: Performance of Categorize: time 1.73e-05/0.02624, allocations: 6.391 kB / 0.5765 GB, free: 20.82 MB / 446.1 MB Notification: Performance of Solve: time 0.0003817/0.02663, allocations: 216 kB / 0.5767 GB, free: 20.75 MB / 446.1 MB Notification: Performance of Jacobian: time 0.0004443/0.02708, allocations: 473.4 kB / 0.5771 GB, free: 20.43 MB / 446.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: ............... 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.0001447/0.02723, allocations: 45.95 kB / 0.5772 GB, free: 20.39 MB / 446.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.switch2.u2