Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 112.5 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.00107/0.00107, allocations: 187.7 kB / 17.36 MB, free: 5.754 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.182/1.182, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.235/2.235, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.348e-05, allocations: 2.281 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4439/0.444, allocations: 61.24 MB / 1.114 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.4592, allocations: 11.99 MB / 1.126 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.4613, allocations: 56.72 kB / 1.126 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.4629, allocations: 0.6844 MB / 1.127 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004856/0.4677, allocations: 1.966 MB / 1.129 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.4708, allocations: 1.211 MB / 1.13 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004427/0.4752, allocations: 3.56 MB / 1.133 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.4771, allocations: 1.22 MB / 1.135 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003302/0.4804, allocations: 1.451 MB / 1.136 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.4822, allocations: 0.9388 MB / 1.137 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.4824, allocations: 119.2 kB / 1.137 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.4852, allocations: 1.473 MB / 1.139 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.001605/0.4868, allocations: 2.375 MB / 1.141 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 0.0008412/0.4876, allocations: 1.524 MB / 1.142 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003148/0.4879, allocations: 261 kB / 1.143 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.0003549/0.4883, allocations: 57.7 kB / 1.143 GB, free: 10.65 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 (182) * Number of variables: 194 (191) Notification: Performance of Bindings: time 0.005039/0.4934, allocations: 6.328 MB / 1.149 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.0002413/0.4936, allocations: 241.1 kB / 1.149 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.003199/0.4968, allocations: 3.502 MB / 1.152 GB, free: 3.875 MB / 0.8731 GB Notification: Performance of simplify1: time 0.0002422/0.4971, allocations: 231.9 kB / 1.153 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of Alias: time 0.005405/0.5025, allocations: 5.343 MB / 1.158 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of simplify2: time 0.0001941/0.5027, allocations: 183.1 kB / 1.158 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of Events: time 0.0006445/0.5033, allocations: 0.6239 MB / 1.159 GB, free: 164 kB / 0.8731 GB Notification: Performance of Detect States: time 0.0005236/0.5039, allocations: 0.6264 MB / 1.159 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.000811/0.5047, allocations: 0.9 MB / 1.16 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of Causalize: time 0.003616/0.5083, allocations: 3.589 MB / 1.164 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.001827/0.5101, allocations: 2.119 MB / 1.166 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of Inline: time 0.004307/0.5145, allocations: 4.8 MB / 1.17 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0002345/0.5147, allocations: 221 kB / 1.171 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0003718/0.5151, allocations: 464.8 kB / 1.171 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of Causalize: time 0.01252/0.5276, allocations: 12.68 MB / 1.183 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of Tearing: time 0.001994/0.5296, allocations: 2.196 MB / 1.186 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of Initialization: time 8.31e-07/0.5296, allocations: 0 / 1.186 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of Tearing: time 0.0009393/0.5306, allocations: 1.112 MB / 1.187 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of Categorize: time 3.044e-05/0.5306, allocations: 7.938 kB / 1.187 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of Solve: time 0.001149/0.5318, allocations: 0.6778 MB / 1.187 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of Jacobian: time 5.721e-06/0.5318, allocations: 3.938 kB / 1.187 GB, free: 14.14 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 11 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 33 (33) {$SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 102 (scalar:98, array:4, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 195 (scalar:190, array:5, 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: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 195 (scalar:190, array:5, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 7.81e-05/0.5319, allocations: 86.48 kB / 1.187 GB, free: 14.06 MB / 0.9044 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_22)