Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,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.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,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.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 110.4 kB / 16.42 MB, free: 6.453 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.001064/0.001064, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.159/1.159, allocations: 222.9 MB / 241.1 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.195/2.195, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.298e-05, allocations: 6.438 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.4708/0.4708, allocations: 61.2 MB / 1.114 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.4873, allocations: 12 MB / 1.126 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.4897, allocations: 60.16 kB / 1.126 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.4914, allocations: 0.6766 MB / 1.127 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005334/0.4968, allocations: 1.97 MB / 1.129 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.4999, allocations: 1.204 MB / 1.13 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004615/0.5045, allocations: 3.559 MB / 1.133 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.5061, allocations: 1.189 MB / 1.135 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.5092, allocations: 1.472 MB / 1.136 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.5104, allocations: 0.9088 MB / 1.137 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001779/0.5106, allocations: 113.5 kB / 1.137 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00299/0.5136, allocations: 1.469 MB / 1.138 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.001655/0.5152, allocations: 2.325 MB / 1.141 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 0.0009222/0.5162, allocations: 1.506 MB / 1.142 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.5165, allocations: 264.2 kB / 1.142 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.0003788/0.5169, allocations: 48.47 kB / 1.142 GB, free: 10.48 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: 192 (180) * Number of variables: 192 (189) Notification: Performance of Bindings: time 0.00533/0.5222, allocations: 6.534 MB / 1.149 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.0002272/0.5225, allocations: 226.5 kB / 1.149 GB, free: 5.805 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.002985/0.5255, allocations: 3.235 MB / 1.152 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of simplify1: time 0.0002325/0.5257, allocations: 214.5 kB / 1.152 GB, free: 3.652 MB / 0.8731 GB Notification: Performance of Alias: time 0.005565/0.5313, allocations: 5.285 MB / 1.158 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of simplify2: time 0.000173/0.5315, allocations: 151.3 kB / 1.158 GB, free: 460 kB / 0.8731 GB Notification: Performance of Events: time 0.0005603/0.532, allocations: 0.551 MB / 1.158 GB, free: 96 kB / 0.8731 GB Notification: Performance of Detect States: time 0.0005125/0.5325, allocations: 0.5756 MB / 1.159 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0007913/0.5333, allocations: 0.8685 MB / 1.16 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of Causalize: time 0.003243/0.5366, allocations: 3.205 MB / 1.163 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.001639/0.5382, allocations: 1.913 MB / 1.165 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of Inline: time 0.004023/0.5423, allocations: 4.35 MB / 1.169 GB, free: 9.82 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0002422/0.5425, allocations: 213.4 kB / 1.169 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0003498/0.5429, allocations: 418.3 kB / 1.17 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of Causalize: time 0.01152/0.5544, allocations: 11.53 MB / 1.181 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of Tearing: time 0.00169/0.5561, allocations: 1.854 MB / 1.183 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of Initialization: time 7.41e-07/0.5561, allocations: 0 / 1.183 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of Tearing: time 0.0007898/0.5569, allocations: 0.9232 MB / 1.183 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of Categorize: time 3.282e-05/0.557, allocations: 7.938 kB / 1.184 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of Solve: time 0.00108/0.5581, allocations: 0.6618 MB / 1.184 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of Jacobian: time 3.256e-06/0.5581, allocations: 0 / 1.184 GB, free: 1.211 MB / 0.8887 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 12 * 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: ................. 28 (28) {$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: ........... 97 (scalar:93, 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: ........... 181 (scalar:176, 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: ........... 181 (scalar:176, 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.56e-05/0.5581, allocations: 88.92 kB / 1.184 GB, free: 1.133 MB / 0.8887 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)