Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.HeatPumps.Validation.Carnot_TCon_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.6 kB / 16.42 MB, free: 6.508 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.001083/0.001083, allocations: 192.2 kB / 17.35 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.159/1.159, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.19/2.19, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.829e-05, allocations: 4.812 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.4328/0.4328, allocations: 61.25 MB / 1.114 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.4478, allocations: 11.99 MB / 1.126 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.4493, allocations: 59.69 kB / 1.126 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001543/0.4509, allocations: 0.6765 MB / 1.127 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.4552, allocations: 1.969 MB / 1.129 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002626/0.4578, allocations: 1.205 MB / 1.13 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.4614, allocations: 3.552 MB / 1.133 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.4628, allocations: 1.206 MB / 1.135 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.4653, allocations: 1.463 MB / 1.136 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.4664, allocations: 0.9091 MB / 1.137 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.4666, allocations: 114.7 kB / 1.137 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002478/0.469, allocations: 1.479 MB / 1.139 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.001562/0.4706, allocations: 2.324 MB / 1.141 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 0.0008163/0.4714, allocations: 1.517 MB / 1.142 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.4717, allocations: 261.2 kB / 1.143 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.0002868/0.472, allocations: 49.03 kB / 1.143 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.004984/0.477, allocations: 6.438 MB / 1.149 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.0002306/0.4772, allocations: 241.7 kB / 1.149 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.002993/0.4802, allocations: 3.247 MB / 1.152 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of simplify1: time 0.0002233/0.4804, allocations: 218.6 kB / 1.152 GB, free: 3.695 MB / 0.8731 GB Notification: Performance of Alias: time 0.005325/0.4858, allocations: 5.412 MB / 1.158 GB, free: 460 kB / 0.8731 GB Notification: Performance of simplify2: time 0.0001634/0.4859, allocations: 156.9 kB / 1.158 GB, free: 400 kB / 0.8731 GB Notification: Performance of Events: time 0.0005723/0.4865, allocations: 0.5636 MB / 1.158 GB, free: 28 kB / 0.8731 GB Notification: Performance of Detect States: time 0.0004889/0.487, allocations: 0.5751 MB / 1.159 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0007848/0.4878, allocations: 0.8936 MB / 1.16 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of Causalize: time 0.00325/0.4911, allocations: 3.272 MB / 1.163 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.001615/0.4927, allocations: 1.94 MB / 1.165 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of Inline: time 0.003878/0.4966, allocations: 4.391 MB / 1.169 GB, free: 9.648 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0002177/0.4968, allocations: 201.7 kB / 1.169 GB, free: 9.52 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0003439/0.4972, allocations: 431.5 kB / 1.17 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of Causalize: time 0.01141/0.5086, allocations: 11.68 MB / 1.181 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of Tearing: time 0.001646/0.5102, allocations: 1.851 MB / 1.183 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of Initialization: time 7.21e-07/0.5103, allocations: 3.938 kB / 1.183 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of Tearing: time 0.0007862/0.511, allocations: 0.931 MB / 1.184 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of Categorize: time 2.927e-05/0.5111, allocations: 15.91 kB / 1.184 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of Solve: time 0.0009822/0.5121, allocations: 0.6462 MB / 1.185 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of Jacobian: time 3.156e-06/0.5121, allocations: 4 kB / 1.185 GB, free: 0.7852 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: ......... 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: ........... 99 (scalar:95, 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: ........... 183 (scalar:178, 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: ........... 183 (scalar:178, 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.818e-05/0.5122, allocations: 90.77 kB / 1.185 GB, free: 0.7031 MB / 0.8887 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)