Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001121/0.001121, allocations: 110.5 kB / 16.43 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.001067/0.001067, allocations: 179.1 kB / 17.35 MB, free: 5.617 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.155/1.155, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.213/2.213, allocations: 469.8 MB / 0.7432 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.056e-05, allocations: 4.109 kB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.4416/0.4416, allocations: 61.2 MB / 1.126 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.4564, allocations: 12.01 MB / 1.137 GB, free: 7.359 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.4583, allocations: 59.72 kB / 1.137 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.4599, allocations: 0.702 MB / 1.138 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004871/0.4648, allocations: 2.08 MB / 1.14 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.4677, allocations: 1.2 MB / 1.141 GB, free: 5.004 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00425/0.472, allocations: 3.551 MB / 1.145 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.4732, allocations: 0.927 MB / 1.146 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.4759, allocations: 1.455 MB / 1.147 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.477, allocations: 0.9135 MB / 1.148 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.4771, allocations: 118.4 kB / 1.148 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.4799, allocations: 1.464 MB / 1.149 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.00175/0.4817, allocations: 2.327 MB / 1.152 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.0009264/0.4826, allocations: 1.524 MB / 1.153 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.4829, allocations: 259.3 kB / 1.153 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.0002966/0.4832, allocations: 45.14 kB / 1.154 GB, free: 14.46 MB / 0.8887 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.004039/0.4873, allocations: 4.667 MB / 1.158 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.0002264/0.4875, allocations: 213.1 kB / 1.158 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.00241/0.4899, allocations: 2.358 MB / 1.161 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of simplify1: time 0.0003704/0.4903, allocations: 338.9 kB / 1.161 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of Alias: time 0.003761/0.4941, allocations: 3.233 MB / 1.164 GB, free: 7.371 MB / 0.8887 GB Notification: Performance of simplify2: time 0.0002476/0.4943, allocations: 242.6 kB / 1.164 GB, free: 7.238 MB / 0.8887 GB Notification: Performance of Detect States: time 0.0003261/0.4946, allocations: 382.5 kB / 1.165 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of Events: time 0.0004669/0.4951, allocations: 401.1 kB / 1.165 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.000587/0.4957, allocations: 0.6193 MB / 1.166 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of Causalize: time 0.002516/0.4982, allocations: 2.303 MB / 1.168 GB, free: 5.32 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.001234/0.4995, allocations: 1.316 MB / 1.169 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of Inline: time 0.003346/0.5028, allocations: 3.261 MB / 1.172 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0001229/0.503, allocations: 61.94 kB / 1.172 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0005815/0.5036, allocations: 0.7707 MB / 1.173 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of Causalize: time 0.008907/0.5125, allocations: 7.369 MB / 1.18 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of Tearing: time 0.002461/0.5149, allocations: 2.246 MB / 1.183 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of Initialization: time 8.92e-07/0.515, allocations: 0 / 1.183 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of Tearing: time 0.001167/0.5161, allocations: 1.082 MB / 1.184 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of Categorize: time 2.763e-05/0.5162, allocations: 12.33 kB / 1.184 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of Solve: time 0.0009139/0.5171, allocations: 0.5359 MB / 1.184 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of Jacobian: time 2.955e-06/0.5171, allocations: 0 / 1.184 GB, free: 11.97 MB / 0.9044 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 174 (scalar:169, 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: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 174 (scalar:169, 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: 1, nonlinear:0) Notification: Performance of backend: time 7.51e-05/0.5172, allocations: 90.97 kB / 1.184 GB, free: 11.9 MB / 0.9044 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)