Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.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_latest_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_latest_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.001118/0.001118, allocations: 109.1 kB / 16.42 MB, free: 6.52 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.001138/0.001138, allocations: 187.2 kB / 17.36 MB, free: 5.727 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.148/1.148, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.183/2.183, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.636e-05/1.637e-05, allocations: 2.5 kB / 1.055 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.4441/0.4442, allocations: 61.22 MB / 1.114 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0149/0.4591, allocations: 11.98 MB / 1.126 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.4608, allocations: 60.53 kB / 1.126 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.4623, allocations: 0.6797 MB / 1.127 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.4667, allocations: 1.964 MB / 1.129 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.4694, allocations: 1.206 MB / 1.13 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003797/0.4732, allocations: 3.555 MB / 1.133 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001418/0.4746, allocations: 1.205 MB / 1.135 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002617/0.4773, allocations: 1.454 MB / 1.136 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.4785, allocations: 0.9183 MB / 1.137 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.4787, allocations: 113.5 kB / 1.137 GB, free: 14 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.4819, allocations: 1.452 MB / 1.138 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.002164/0.4841, allocations: 2.325 MB / 1.141 GB, free: 12 MB / 0.8731 GB Notification: Performance of replaceArrayConstructors: time 0.001293/0.4854, allocations: 1.519 MB / 1.142 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004154/0.4858, allocations: 260.1 kB / 1.142 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of FrontEnd: time 0.0004971/0.4863, allocations: 44.86 kB / 1.142 GB, free: 10.8 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.006135/0.4924, allocations: 6.432 MB / 1.149 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of FunctionAlias: time 0.0002375/0.4927, allocations: 234.8 kB / 1.149 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of Early Inline: time 0.00297/0.4957, allocations: 3.24 MB / 1.152 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of simplify1: time 0.0002158/0.4959, allocations: 209.7 kB / 1.152 GB, free: 4.027 MB / 0.8731 GB Notification: Performance of Alias: time 0.005311/0.5012, allocations: 5.421 MB / 1.158 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of simplify2: time 0.0001629/0.5014, allocations: 157.3 kB / 1.158 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of Events: time 0.0005699/0.502, allocations: 0.5563 MB / 1.158 GB, free: 364 kB / 0.8731 GB Notification: Performance of Detect States: time 0.0005179/0.5025, allocations: 0.5662 MB / 1.159 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0008259/0.5033, allocations: 0.8962 MB / 1.16 GB, free: 15.31 MB / 0.8887 GB Notification: Performance of Causalize: time 0.003473/0.5068, allocations: 3.247 MB / 1.163 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.001832/0.5086, allocations: 1.928 MB / 1.165 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of Inline: time 0.00418/0.5128, allocations: 4.375 MB / 1.169 GB, free: 10 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0002148/0.5131, allocations: 209.5 kB / 1.169 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0003498/0.5134, allocations: 417.8 kB / 1.17 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of Causalize: time 0.01127/0.5247, allocations: 11.62 MB / 1.181 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of Tearing: time 0.001647/0.5264, allocations: 1.854 MB / 1.183 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of Initialization: time 7.81e-07/0.5264, allocations: 4 kB / 1.183 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of Tearing: time 0.0007625/0.5271, allocations: 0.9271 MB / 1.184 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of Categorize: time 3.011e-05/0.5272, allocations: 7.938 kB / 1.184 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of Solve: time 0.001/0.5282, allocations: 0.6579 MB / 1.184 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of Jacobian: time 3.016e-06/0.5282, allocations: 0 / 1.184 GB, free: 1.188 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: ........... 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 182 (scalar:177, 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: ........... 182 (scalar:177, 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.251e-05/0.5283, allocations: 77.34 kB / 1.184 GB, free: 1.121 MB / 0.8887 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)