Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.Validation.Carnot_TCon_LimitedCapacity,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.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,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.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 102.9 kB / 16.42 MB, free: 6.484 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.001088/0.001088, allocations: 192.3 kB / 17.36 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.157/1.157, allocations: 222.9 MB / 241.1 MB, free: 14.94 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.078/2.078, allocations: 437 MB / 0.7112 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.385e-05, allocations: 8.469 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.4646/0.4646, allocations: 61.23 MB / 1.079 GB, free: 26.33 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.4787, allocations: 11.99 MB / 1.091 GB, free: 26.17 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.481, allocations: 59.06 kB / 1.091 GB, free: 26.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.4827, allocations: 0.6973 MB / 1.091 GB, free: 26.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.4884, allocations: 2.071 MB / 1.093 GB, free: 26.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.4915, allocations: 1.204 MB / 1.095 GB, free: 25.95 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004967/0.4965, allocations: 3.572 MB / 1.098 GB, free: 25.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.4982, allocations: 1.204 MB / 1.099 GB, free: 24.62 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003073/0.5013, allocations: 1.468 MB / 1.101 GB, free: 24 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.5025, allocations: 0.9057 MB / 1.102 GB, free: 23.65 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.5027, allocations: 119 kB / 1.102 GB, free: 23.65 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003108/0.5058, allocations: 1.482 MB / 1.103 GB, free: 23.21 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001554/0.5073, allocations: 2.325 MB / 1.105 GB, free: 21.74 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0006929/0.508, allocations: 1.514 MB / 1.107 GB, free: 20.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.5084, allocations: 260.7 kB / 1.107 GB, free: 20.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0003809/0.5088, allocations: 52.64 kB / 1.107 GB, free: 20.55 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.00448/0.5132, allocations: 6.433 MB / 1.113 GB, free: 16.18 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002405/0.5135, allocations: 245.4 kB / 1.114 GB, free: 16.03 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.002626/0.5161, allocations: 3.137 MB / 1.117 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0002244/0.5164, allocations: 212.4 kB / 1.117 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of Alias: time 0.005113/0.5215, allocations: 5.391 MB / 1.122 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simplify2: time 0.000178/0.5217, allocations: 152.7 kB / 1.122 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003716/0.522, allocations: 483 kB / 1.123 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of Events: time 0.0004935/0.5225, allocations: 0.52 MB / 1.123 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0006735/0.5232, allocations: 0.8619 MB / 1.124 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003092/0.5263, allocations: 3.171 MB / 1.127 GB, free: 8.086 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001527/0.5279, allocations: 1.808 MB / 1.129 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of Inline: time 0.003936/0.5318, allocations: 4.155 MB / 1.133 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001943/0.532, allocations: 193.5 kB / 1.133 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0003487/0.5324, allocations: 399.1 kB / 1.134 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of Causalize: time 0.01141/0.5438, allocations: 11.1 MB / 1.145 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of Tearing: time 0.003196/0.547, allocations: 3.231 MB / 1.148 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of Initialization: time 1.092e-06/0.547, allocations: 0 / 1.148 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of Tearing: time 0.001539/0.5486, allocations: 1.574 MB / 1.149 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of Categorize: time 3.737e-05/0.5486, allocations: 5.125 kB / 1.149 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of Solve: time 0.00123/0.5498, allocations: 0.6548 MB / 1.15 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of Jacobian: time 3.316e-06/0.5499, allocations: 0 / 1.15 GB, free: 13.72 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: ................. 26 (26) {$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: ........... 95 (scalar:91, 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: ........... 172 (scalar:167, 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: ........... 172 (scalar:167, 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 7.837e-05/0.5499, allocations: 86.78 kB / 1.15 GB, free: 13.66 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)