Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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.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.Validation.Carnot_TCon_reverseFlow,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.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,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.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 114.1 kB / 16.43 MB, free: 6.523 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.001131/0.001131, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.195/1.195, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.304/2.304, allocations: 469.8 MB / 0.7432 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.774e-05, allocations: 6.219 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.5061/0.5061, allocations: 61.24 MB / 1.126 GB, free: 172 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.5266, allocations: 12 MB / 1.137 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.5296, allocations: 60.91 kB / 1.137 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003603/0.5332, allocations: 0.7019 MB / 1.138 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00937/0.5426, allocations: 2.077 MB / 1.14 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004239/0.5469, allocations: 1.207 MB / 1.141 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006381/0.5533, allocations: 3.562 MB / 1.145 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.5555, allocations: 0.9349 MB / 1.146 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004309/0.5599, allocations: 1.458 MB / 1.147 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002609/0.5625, allocations: 0.9349 MB / 1.148 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005516/0.5631, allocations: 118.7 kB / 1.148 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004619/0.5677, allocations: 1.467 MB / 1.15 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.003639/0.5714, allocations: 2.356 MB / 1.152 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.001741/0.5731, allocations: 1.532 MB / 1.153 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009011/0.574, allocations: 263.9 kB / 1.154 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.0005901/0.5746, allocations: 48.34 kB / 1.154 GB, free: 14.62 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: 194 (182) * Number of variables: 194 (191) Notification: Performance of Bindings: time 0.006539/0.5812, allocations: 4.699 MB / 1.158 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.0004886/0.5817, allocations: 232.5 kB / 1.158 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.004281/0.586, allocations: 2.548 MB / 1.161 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of simplify1: time 0.0007737/0.5868, allocations: 355.4 kB / 1.161 GB, free: 9.395 MB / 0.8887 GB Notification: Performance of Alias: time 0.005139/0.5919, allocations: 3.161 MB / 1.164 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of simplify2: time 0.0004912/0.5924, allocations: 271.4 kB / 1.165 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of Detect States: time 0.0005671/0.593, allocations: 400.8 kB / 1.165 GB, free: 7.039 MB / 0.8887 GB Notification: Performance of Events: time 0.0008359/0.5939, allocations: 491.1 kB / 1.165 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0008999/0.5948, allocations: 0.641 MB / 1.166 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of Causalize: time 0.003968/0.5988, allocations: 2.599 MB / 1.169 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.002018/0.6008, allocations: 1.462 MB / 1.17 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of Inline: time 0.005417/0.6062, allocations: 3.593 MB / 1.174 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0001869/0.6064, allocations: 69.7 kB / 1.174 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.001268/0.6077, allocations: 0.8438 MB / 1.174 GB, free: 468 kB / 0.8887 GB Notification: Performance of Causalize: time 0.01137/0.6191, allocations: 8.097 MB / 1.182 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of Tearing: time 0.003259/0.6224, allocations: 2.709 MB / 1.185 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of Initialization: time 1.943e-06/0.6224, allocations: 0 / 1.185 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of Tearing: time 0.001449/0.6239, allocations: 1.319 MB / 1.186 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of Categorize: time 3.349e-05/0.6239, allocations: 4.75 kB / 1.186 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of Solve: time 0.001248/0.6252, allocations: 0.5521 MB / 1.187 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of Jacobian: time 4.097e-06/0.6252, allocations: 0 / 1.187 GB, free: 10.7 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: ......... 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: ................. 34 (34) {$SEV_31, $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: ........... 103 (scalar:99, 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: ........... 186 (scalar:181, 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: ........... 186 (scalar:181, 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.434e-05/0.6253, allocations: 81.59 kB / 1.187 GB, free: 10.62 MB / 0.9044 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)