Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 114.7 kB / 16.43 MB, free: 6.504 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.001169/0.001169, allocations: 179.2 kB / 17.35 MB, free: 5.711 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.191/1.191, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.302/2.302, allocations: 469.8 MB / 0.7432 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/2.919e-05, allocations: 2.281 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.5074/0.5075, allocations: 61.2 MB / 1.126 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.523, allocations: 12.01 MB / 1.137 GB, free: 7.324 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001688/0.5247, allocations: 60.22 kB / 1.137 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.5265, allocations: 0.7014 MB / 1.138 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.532, allocations: 2.068 MB / 1.14 GB, free: 5.633 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.5351, allocations: 1.207 MB / 1.141 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00466/0.5398, allocations: 3.562 MB / 1.145 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.5414, allocations: 0.9244 MB / 1.146 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.5447, allocations: 1.452 MB / 1.147 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.5461, allocations: 0.9129 MB / 1.148 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.5463, allocations: 113.8 kB / 1.148 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.5495, allocations: 1.463 MB / 1.149 GB, free: 1.152 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.001812/0.5513, allocations: 2.318 MB / 1.152 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.000916/0.5523, allocations: 1.515 MB / 1.153 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.5526, allocations: 263.8 kB / 1.153 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.000371/0.553, allocations: 49.3 kB / 1.154 GB, free: 14.44 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.004277/0.5573, allocations: 4.649 MB / 1.158 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.0002362/0.5575, allocations: 218.3 kB / 1.158 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.002548/0.5601, allocations: 2.36 MB / 1.161 GB, free: 9.578 MB / 0.8887 GB Notification: Performance of simplify1: time 0.0004312/0.5605, allocations: 340.7 kB / 1.161 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of Alias: time 0.004074/0.5646, allocations: 3.248 MB / 1.164 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of simplify2: time 0.0002593/0.5649, allocations: 248.5 kB / 1.164 GB, free: 7.199 MB / 0.8887 GB Notification: Performance of Detect States: time 0.0003499/0.5652, allocations: 375.8 kB / 1.165 GB, free: 6.953 MB / 0.8887 GB Notification: Performance of Events: time 0.0004921/0.5657, allocations: 412.7 kB / 1.165 GB, free: 6.707 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0006427/0.5664, allocations: 0.635 MB / 1.166 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of Causalize: time 0.003012/0.5694, allocations: 2.333 MB / 1.168 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.001679/0.5711, allocations: 1.327 MB / 1.169 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of Inline: time 0.003939/0.575, allocations: 3.273 MB / 1.172 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0001449/0.5752, allocations: 66.2 kB / 1.172 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0006518/0.5758, allocations: 0.7716 MB / 1.173 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of Causalize: time 0.009864/0.5857, allocations: 7.403 MB / 1.18 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of Tearing: time 0.002664/0.5884, allocations: 2.231 MB / 1.183 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of Initialization: time 1.102e-06/0.5884, allocations: 0 / 1.183 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of Tearing: time 0.00129/0.5897, allocations: 1.094 MB / 1.184 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of Categorize: time 3.252e-05/0.5898, allocations: 8.812 kB / 1.184 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of Solve: time 0.001046/0.5908, allocations: 0.5339 MB / 1.184 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of Jacobian: time 3.006e-06/0.5908, allocations: 0 / 1.184 GB, free: 11.84 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: ......... 13 * 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: ................. 29 (29) {$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: ........... 98 (scalar:94, 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: ........... 175 (scalar:170, 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: ........... 175 (scalar:170, 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 8.945e-05/0.5909, allocations: 81.08 kB / 1.184 GB, free: 11.77 MB / 0.9044 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)