Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001209/0.001209, allocations: 105.8 kB / 16.42 MB, free: 6.5 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.001122/0.001122, allocations: 192.9 kB / 17.35 MB, free: 5.754 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.281/1.281, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4479/0.4479, allocations: 95.48 MB / 366.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.392e-05, allocations: 9.734 kB / 0.5042 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00375/0.003772, allocations: 3.12 MB / 0.5072 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.005341, allocations: 1.029 MB / 0.5083 GB, free: 7.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.005561, allocations: 11.94 kB / 0.5083 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.005765, allocations: 75.19 kB / 0.5083 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.005951, allocations: 95.11 kB / 0.5084 GB, free: 7.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.00644, allocations: 251.6 kB / 0.5087 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005007/0.006951, allocations: 0.6168 MB / 0.5093 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.007331, allocations: 283.8 kB / 0.5095 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.00754, allocations: 203.1 kB / 0.5097 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.007749, allocations: 218.8 kB / 0.5099 GB, free: 6.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.127e-05/0.007817, allocations: 56 kB / 0.51 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.83e-05/0.00788, allocations: 56 kB / 0.51 GB, free: 5.902 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0004661/0.008351, allocations: 0.7756 MB / 0.5108 GB, free: 5.117 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002636/0.008621, allocations: 0.5195 MB / 0.5113 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.168e-05/0.008699, allocations: 87.69 kB / 0.5114 GB, free: 4.504 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.319e-05/0.008778, allocations: 31.75 kB / 0.5114 GB, free: 4.473 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 (95) * Number of variables: 95 (95) Notification: Performance of Bindings: time 0.0018/0.01058, allocations: 2.305 MB / 0.5137 GB, free: 2.051 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.0001142/0.0107, allocations: 111.7 kB / 0.5138 GB, free: 1.941 MB / 398.1 MB Notification: Performance of Early Inline: time 0.0008924/0.0116, allocations: 1.077 MB / 0.5148 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simplify1: time 9.232e-05/0.0117, allocations: 83.88 kB / 0.5149 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Alias: time 0.1992/0.211, allocations: 2.228 MB / 0.5171 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simplify2: time 7.131e-05/0.2111, allocations: 48.42 kB / 0.5171 GB, free: 14.88 MB / 398.1 MB Notification: Performance of Events: time 0.0001919/0.2113, allocations: 153.9 kB / 0.5173 GB, free: 14.86 MB / 398.1 MB Notification: Performance of Detect States: time 0.0002734/0.2115, allocations: 260.4 kB / 0.5175 GB, free: 14.83 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0002539/0.2118, allocations: 282.2 kB / 0.5178 GB, free: 14.76 MB / 398.1 MB Notification: Performance of Causalize: time 0.001185/0.213, allocations: 1.389 MB / 0.5192 GB, free: 14.57 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.000503/0.2135, allocations: 0.6804 MB / 0.5198 GB, free: 14.49 MB / 398.1 MB Notification: Performance of Inline: time 0.001178/0.2147, allocations: 1.384 MB / 0.5212 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Partitioning: time 7.993e-05/0.2148, allocations: 92.08 kB / 0.5213 GB, free: 13.87 MB / 398.1 MB Notification: Performance of Cleanup: time 0.0001165/0.2149, allocations: 153 kB / 0.5214 GB, free: 13.77 MB / 398.1 MB Notification: Performance of Causalize: time 0.004258/0.2192, allocations: 5.435 MB / 0.5267 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Tearing: time 1.309e-05/0.2192, allocations: 3.25 kB / 0.5267 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Initialization: time 9.42e-07/0.2192, allocations: 0.5938 kB / 0.5267 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Tearing: time 4.338e-06/0.2192, allocations: 0.5 kB / 0.5267 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Categorize: time 1.422e-05/0.2192, allocations: 1.875 kB / 0.5267 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Solve: time 0.0004485/0.2197, allocations: 261.5 kB / 0.527 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Jacobian: time 0.0004143/0.2201, allocations: 481 kB / 0.5274 GB, free: 10.79 MB / 398.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: ....... 1 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.switch2.u2, con.greaterEqualThreshold.y, con.offHys.u, $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: ........... 83 (scalar:83, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 83 (scalar:83, 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.0001253/0.2202, allocations: 57.02 kB / 0.5275 GB, free: 10.77 MB / 398.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.switch2.u2