Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009914/0.0009915, allocations: 110.5 kB / 16.42 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.001112/0.001112, allocations: 186.1 kB / 17.36 MB, free: 5.621 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8425/0.8425, allocations: 143 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/1.937e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003528/0.003556, allocations: 3.139 MB / 0.5992 GB, free: 9.254 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.005041, allocations: 0.9583 MB / 0.6001 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.005273, allocations: 11.94 kB / 0.6001 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002287/0.005509, allocations: 76.53 kB / 0.6002 GB, free: 8.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.005686, allocations: 100.5 kB / 0.6003 GB, free: 8.109 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.006141, allocations: 239.7 kB / 0.6005 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004331/0.006582, allocations: 0.6163 MB / 0.6011 GB, free: 7.266 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003468/0.006936, allocations: 262.6 kB / 0.6014 GB, free: 7.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.00712, allocations: 215 kB / 0.6016 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.007283, allocations: 202.9 kB / 0.6018 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.007339, allocations: 52.59 kB / 0.6018 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.648e-05/0.007392, allocations: 53.06 kB / 0.6019 GB, free: 6.508 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0002864/0.007683, allocations: 0.7487 MB / 0.6026 GB, free: 5.75 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001239/0.007813, allocations: 0.4886 MB / 0.6031 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.007875, allocations: 84.72 kB / 0.6032 GB, free: 5.172 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.632e-05/0.007956, allocations: 31.73 kB / 0.6032 GB, free: 5.141 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.001288/0.00925, allocations: 2.229 MB / 0.6054 GB, free: 2.844 MB / 446.1 MB Notification: Performance of FunctionAlias: time 9.759e-05/0.009354, allocations: 102.3 kB / 0.6055 GB, free: 2.746 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0006419/0.01, allocations: 1.026 MB / 0.6065 GB, free: 1.691 MB / 446.1 MB Notification: Performance of simplify1: time 5.216e-05/0.01006, allocations: 75.89 kB / 0.6065 GB, free: 1.617 MB / 446.1 MB Notification: Performance of Alias: time 0.002138/0.0122, allocations: 2.378 MB / 0.6089 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simplify2: time 4.155e-05/0.01226, allocations: 43.94 kB / 0.6089 GB, free: 14.94 MB / 462.1 MB Notification: Performance of Events: time 0.0001917/0.01246, allocations: 154.1 kB / 0.609 GB, free: 14.79 MB / 462.1 MB Notification: Performance of Detect States: time 0.0002917/0.01276, allocations: 265.1 kB / 0.6093 GB, free: 14.51 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002783/0.01304, allocations: 275.6 kB / 0.6096 GB, free: 14.22 MB / 462.1 MB Notification: Performance of Causalize: time 0.001036/0.01409, allocations: 0.9458 MB / 0.6105 GB, free: 13.25 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005699/0.01467, allocations: 0.6626 MB / 0.6111 GB, free: 12.56 MB / 462.1 MB Notification: Performance of Inline: time 0.001176/0.01585, allocations: 1.261 MB / 0.6124 GB, free: 11.27 MB / 462.1 MB Notification: Performance of Partitioning: time 9.175e-05/0.01595, allocations: 87.61 kB / 0.6124 GB, free: 11.18 MB / 462.1 MB Notification: Performance of Cleanup: time 4.668e-05/0.016, allocations: 51.94 kB / 0.6125 GB, free: 11.12 MB / 462.1 MB Notification: Performance of Causalize: time 0.002027/0.01804, allocations: 1.848 MB / 0.6143 GB, free: 9.262 MB / 462.1 MB Notification: Performance of Tearing: time 1.378e-05/0.01806, allocations: 8 kB / 0.6143 GB, free: 9.254 MB / 462.1 MB Notification: Performance of Initialization: time 3.91e-07/0.01807, allocations: 0 / 0.6143 GB, free: 9.254 MB / 462.1 MB Notification: Performance of Tearing: time 2.545e-06/0.01807, allocations: 0 / 0.6143 GB, free: 9.254 MB / 462.1 MB Notification: Performance of Categorize: time 9.468e-06/0.01809, allocations: 4 kB / 0.6143 GB, free: 9.25 MB / 462.1 MB Notification: Performance of Solve: time 0.0002922/0.01839, allocations: 210 kB / 0.6145 GB, free: 9.043 MB / 462.1 MB Notification: Performance of Jacobian: time 0.0004086/0.0188, allocations: 479.8 kB / 0.615 GB, free: 8.539 MB / 462.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 8.933e-05/0.0189, allocations: 34.53 kB / 0.615 GB, free: 8.508 MB / 462.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.switch2.u2