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.001172/0.001172, allocations: 112.6 kB / 16.42 MB, free: 6.48 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.001294/0.001294, allocations: 187.2 kB / 17.35 MB, free: 5.703 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.07 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.8732/0.8732, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/2.907e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004256/0.004294, allocations: 3.127 MB / 0.5992 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.006063, allocations: 0.9617 MB / 0.6001 GB, free: 8.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.006345, allocations: 17 kB / 0.6001 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.006614, allocations: 71.25 kB / 0.6002 GB, free: 8.188 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.006811, allocations: 102 kB / 0.6003 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.007314, allocations: 240.5 kB / 0.6005 GB, free: 7.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00045/0.007773, allocations: 0.6242 MB / 0.6011 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.008147, allocations: 254.7 kB / 0.6014 GB, free: 7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.008348, allocations: 215.1 kB / 0.6016 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.008532, allocations: 204.3 kB / 0.6018 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.288e-05/0.008602, allocations: 52 kB / 0.6018 GB, free: 6.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.665e-05/0.008663, allocations: 52 kB / 0.6019 GB, free: 6.488 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0003252/0.008995, allocations: 0.7532 MB / 0.6026 GB, free: 5.727 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001411/0.009142, allocations: 0.4885 MB / 0.6031 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.21e-05/0.00921, allocations: 85.22 kB / 0.6032 GB, free: 5.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0001035/0.009319, allocations: 31.75 kB / 0.6032 GB, free: 5.117 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.001411/0.01074, allocations: 2.222 MB / 0.6054 GB, free: 2.828 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001107/0.01085, allocations: 111.5 kB / 0.6055 GB, free: 2.723 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0006755/0.01154, allocations: 1.018 MB / 0.6065 GB, free: 1.68 MB / 446.1 MB Notification: Performance of simplify1: time 5.631e-05/0.0116, allocations: 79.89 kB / 0.6065 GB, free: 1.602 MB / 446.1 MB Notification: Performance of Alias: time 0.002265/0.01387, allocations: 2.38 MB / 0.6089 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simplify2: time 5.025e-05/0.01393, allocations: 43.94 kB / 0.6089 GB, free: 14.92 MB / 462.1 MB Notification: Performance of Detect States: time 0.0002819/0.01422, allocations: 229.1 kB / 0.6091 GB, free: 14.68 MB / 462.1 MB Notification: Performance of Events: time 0.0002002/0.01443, allocations: 142 kB / 0.6093 GB, free: 14.54 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002868/0.01473, allocations: 267.7 kB / 0.6095 GB, free: 14.25 MB / 462.1 MB Notification: Performance of Causalize: time 0.001167/0.0159, allocations: 0.9535 MB / 0.6104 GB, free: 13.28 MB / 462.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005968/0.01651, allocations: 0.6587 MB / 0.6111 GB, free: 12.59 MB / 462.1 MB Notification: Performance of Inline: time 0.001295/0.01781, allocations: 1.27 MB / 0.6123 GB, free: 11.29 MB / 462.1 MB Notification: Performance of Partitioning: time 9.11e-05/0.01791, allocations: 87.61 kB / 0.6124 GB, free: 11.2 MB / 462.1 MB Notification: Performance of Cleanup: time 4.865e-05/0.01796, allocations: 47.95 kB / 0.6125 GB, free: 11.15 MB / 462.1 MB Notification: Performance of Causalize: time 0.002293/0.02026, allocations: 1.855 MB / 0.6143 GB, free: 9.277 MB / 462.1 MB Notification: Performance of Tearing: time 1.7e-05/0.02029, allocations: 0 / 0.6143 GB, free: 9.277 MB / 462.1 MB Notification: Performance of Initialization: time 3.3e-07/0.0203, allocations: 0 / 0.6143 GB, free: 9.277 MB / 462.1 MB Notification: Performance of Tearing: time 5.992e-06/0.02031, allocations: 4 kB / 0.6143 GB, free: 9.273 MB / 462.1 MB Notification: Performance of Categorize: time 1.332e-05/0.02033, allocations: 4 kB / 0.6143 GB, free: 9.27 MB / 462.1 MB Notification: Performance of Solve: time 0.0003405/0.02067, allocations: 214 kB / 0.6145 GB, free: 9.059 MB / 462.1 MB Notification: Performance of Jacobian: time 0.0005107/0.02119, allocations: 475.7 kB / 0.6149 GB, free: 8.559 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 0.0001241/0.02132, allocations: 30.83 kB / 0.615 GB, free: 8.531 MB / 462.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.switch2.u2