Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001061/0.001061, allocations: 108.5 kB / 16.42 MB, free: 6.48 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.001044/0.001045, allocations: 187.2 kB / 17.35 MB, free: 5.703 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.149/1.149, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.102/2.102, allocations: 437 MB / 0.7111 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.193e-05, allocations: 3.969 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.4754/0.4754, allocations: 61.21 MB / 1.079 GB, free: 26.33 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.4884, allocations: 11.98 MB / 1.091 GB, free: 26.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.4901, allocations: 62.47 kB / 1.091 GB, free: 26.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.4917, allocations: 0.6989 MB / 1.091 GB, free: 26.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004999/0.4968, allocations: 2.076 MB / 1.093 GB, free: 26.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.4999, allocations: 1.204 MB / 1.095 GB, free: 25.95 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004849/0.5047, allocations: 3.564 MB / 1.098 GB, free: 25.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.5064, allocations: 1.206 MB / 1.099 GB, free: 24.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003075/0.5095, allocations: 1.468 MB / 1.101 GB, free: 24 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.5111, allocations: 0.9149 MB / 1.102 GB, free: 23.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003241/0.5115, allocations: 114.6 kB / 1.102 GB, free: 23.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003344/0.5148, allocations: 1.462 MB / 1.103 GB, free: 23.21 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001642/0.5165, allocations: 2.321 MB / 1.105 GB, free: 21.75 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0006869/0.5172, allocations: 1.512 MB / 1.107 GB, free: 20.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.5175, allocations: 260.1 kB / 1.107 GB, free: 20.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0003688/0.5179, allocations: 49.39 kB / 1.107 GB, free: 20.56 MB / 0.8419 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.004468/0.5223, allocations: 6.433 MB / 1.113 GB, free: 16.18 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002136/0.5226, allocations: 234.1 kB / 1.114 GB, free: 16.04 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.002682/0.5253, allocations: 3.236 MB / 1.117 GB, free: 14 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0002351/0.5255, allocations: 222.5 kB / 1.117 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of Alias: time 0.005178/0.5307, allocations: 5.406 MB / 1.122 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001706/0.5309, allocations: 156.9 kB / 1.122 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003699/0.5312, allocations: 0.4926 MB / 1.123 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of Events: time 0.0005129/0.5318, allocations: 0.5533 MB / 1.123 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0006943/0.5325, allocations: 0.883 MB / 1.124 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003043/0.5355, allocations: 3.255 MB / 1.127 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001535/0.5371, allocations: 1.921 MB / 1.129 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of Inline: time 0.003842/0.5409, allocations: 4.335 MB / 1.134 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002126/0.5411, allocations: 204 kB / 1.134 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0003365/0.5415, allocations: 418.1 kB / 1.134 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of Causalize: time 0.01151/0.553, allocations: 11.35 MB / 1.145 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of Tearing: time 0.003411/0.5564, allocations: 3.229 MB / 1.148 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of Initialization: time 1.142e-06/0.5564, allocations: 0 / 1.148 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of Tearing: time 0.001837/0.5583, allocations: 1.581 MB / 1.15 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of Categorize: time 5.089e-05/0.5583, allocations: 6.531 kB / 1.15 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of Solve: time 0.001555/0.5599, allocations: 0.6761 MB / 1.151 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of Jacobian: time 4.018e-06/0.5599, allocations: 0 / 1.151 GB, free: 13.32 MB / 0.8575 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 0.000106/0.56, allocations: 85.89 kB / 1.151 GB, free: 13.25 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)