Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 1.917e-05/1.918e-05, allocations: 2.5 kB / 0.5922 GB, free: 18.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003331/0.003358, allocations: 3.158 MB / 0.5953 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.004655, allocations: 1.032 MB / 0.5963 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.004871, allocations: 17.22 kB / 0.5963 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.005062, allocations: 71.2 kB / 0.5964 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.00522, allocations: 94.27 kB / 0.5965 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.005641, allocations: 251.1 kB / 0.5967 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.006035, allocations: 0.6246 MB / 0.5973 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.006368, allocations: 267.9 kB / 0.5976 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.006539, allocations: 211 kB / 0.5978 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.006693, allocations: 210.8 kB / 0.598 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.006752, allocations: 56 kB / 0.5981 GB, free: 13.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.625e-05/0.006803, allocations: 56 kB / 0.5981 GB, free: 13.02 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0002885/0.007096, allocations: 0.7834 MB / 0.5989 GB, free: 12.23 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001409/0.007244, allocations: 0.5194 MB / 0.5994 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.00731, allocations: 87.69 kB / 0.5995 GB, free: 11.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.819e-05/0.007383, allocations: 27.75 kB / 0.5995 GB, free: 11.59 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: 95 (95) * Number of variables: 95 (95) Notification: Performance of Bindings: time 0.001298/0.008685, allocations: 2.328 MB / 0.6018 GB, free: 9.141 MB / 446.1 MB Notification: Performance of FunctionAlias: time 9.856e-05/0.00879, allocations: 107.8 kB / 0.6019 GB, free: 9.035 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0006337/0.00943, allocations: 1.073 MB / 0.6029 GB, free: 7.934 MB / 446.1 MB Notification: Performance of simplify1: time 5.266e-05/0.009489, allocations: 87.88 kB / 0.603 GB, free: 7.848 MB / 446.1 MB Notification: Performance of Alias: time 0.001588/0.01108, allocations: 2.242 MB / 0.6052 GB, free: 5.344 MB / 446.1 MB Notification: Performance of simplify2: time 3.14e-05/0.01112, allocations: 40.03 kB / 0.6052 GB, free: 5.305 MB / 446.1 MB Notification: Performance of Events: time 0.0001569/0.01129, allocations: 155.2 kB / 0.6054 GB, free: 5.148 MB / 446.1 MB Notification: Performance of Detect States: time 0.0002235/0.01152, allocations: 262.4 kB / 0.6056 GB, free: 4.879 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002092/0.01173, allocations: 291.4 kB / 0.6059 GB, free: 4.57 MB / 446.1 MB Notification: Performance of Causalize: time 0.0009398/0.01268, allocations: 1.373 MB / 0.6072 GB, free: 3.184 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004247/0.01311, allocations: 0.6862 MB / 0.6079 GB, free: 2.469 MB / 446.1 MB Notification: Performance of Inline: time 0.0009487/0.01407, allocations: 1.389 MB / 0.6093 GB, free: 1.039 MB / 446.1 MB Notification: Performance of Partitioning: time 7.103e-05/0.01415, allocations: 91.61 kB / 0.6094 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of Cleanup: time 9.098e-05/0.01425, allocations: 151.6 kB / 0.6095 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of Causalize: time 0.004315/0.01857, allocations: 5.426 MB / 0.6148 GB, free: 11.5 MB / 462.1 MB Notification: Performance of Tearing: time 9.588e-06/0.01859, allocations: 0 / 0.6148 GB, free: 11.5 MB / 462.1 MB Notification: Performance of Initialization: time 5.81e-07/0.0186, allocations: 0 / 0.6148 GB, free: 11.5 MB / 462.1 MB Notification: Performance of Tearing: time 3.597e-06/0.01861, allocations: 0 / 0.6148 GB, free: 11.5 MB / 462.1 MB Notification: Performance of Categorize: time 1.603e-05/0.01863, allocations: 8.781 kB / 0.6148 GB, free: 11.49 MB / 462.1 MB Notification: Performance of Solve: time 0.0003963/0.01903, allocations: 247.4 kB / 0.615 GB, free: 11.25 MB / 462.1 MB Notification: Performance of Jacobian: time 0.0004041/0.01944, allocations: 483.7 kB / 0.6155 GB, free: 10.74 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: ....... 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.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: ........... 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.0001226/0.01957, allocations: 56.89 kB / 0.6156 GB, free: 10.7 MB / 462.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not con.switch2.u2