Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.00112/0.00112, allocations: 104.8 kB / 16.42 MB, free: 5.965 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.001069/0.001069, allocations: 191.1 kB / 17.36 MB, free: 5.566 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.158/1.158, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.098/2.098, allocations: 437 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.797e-05, allocations: 2.5 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.4562/0.4562, allocations: 61.23 MB / 1.079 GB, free: 26.37 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01454/0.4708, allocations: 11.99 MB / 1.091 GB, free: 26.19 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.4728, allocations: 63.78 kB / 1.091 GB, free: 26.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.4745, allocations: 0.6952 MB / 1.091 GB, free: 26.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005286/0.4798, allocations: 2.081 MB / 1.093 GB, free: 26.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.4828, allocations: 1.197 MB / 1.095 GB, free: 25.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004905/0.4877, allocations: 3.575 MB / 1.098 GB, free: 25.17 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.4894, allocations: 1.235 MB / 1.099 GB, free: 24.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.4926, allocations: 1.456 MB / 1.101 GB, free: 24 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.4942, allocations: 0.9396 MB / 1.102 GB, free: 23.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.4944, allocations: 119 kB / 1.102 GB, free: 23.63 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.4975, allocations: 1.463 MB / 1.103 GB, free: 23.2 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.001591/0.4991, allocations: 2.357 MB / 1.105 GB, free: 21.71 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0006724/0.4998, allocations: 1.526 MB / 1.107 GB, free: 20.67 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000326/0.5001, allocations: 260.3 kB / 1.107 GB, free: 20.54 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.000389/0.5005, allocations: 49.28 kB / 1.107 GB, free: 20.52 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: 194 (182) * Number of variables: 194 (191) Notification: Performance of Bindings: time 0.004485/0.505, allocations: 6.433 MB / 1.114 GB, free: 16.14 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0002227/0.5053, allocations: 244.4 kB / 1.114 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.002939/0.5082, allocations: 3.508 MB / 1.117 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simplify1: time 0.000237/0.5085, allocations: 230.2 kB / 1.117 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of Alias: time 0.005032/0.5135, allocations: 5.256 MB / 1.123 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0002043/0.5137, allocations: 182 kB / 1.123 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of Detect States: time 0.000407/0.5141, allocations: 0.5141 MB / 1.123 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of Events: time 0.0006276/0.5148, allocations: 0.6407 MB / 1.124 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007579/0.5155, allocations: 0.9205 MB / 1.125 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003581/0.5191, allocations: 3.635 MB / 1.128 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001771/0.5209, allocations: 2.127 MB / 1.13 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of Inline: time 0.004509/0.5254, allocations: 4.755 MB / 1.135 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002146/0.5256, allocations: 213 kB / 1.135 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0004019/0.526, allocations: 463.9 kB / 1.136 GB, free: 3.105 MB / 0.8419 GB Notification: Performance of Causalize: time 0.01301/0.5391, allocations: 12.43 MB / 1.148 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of Tearing: time 0.003882/0.543, allocations: 3.966 MB / 1.152 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of Initialization: time 1.353e-06/0.543, allocations: 0 / 1.152 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of Tearing: time 0.001895/0.5449, allocations: 1.948 MB / 1.154 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of Categorize: time 3.81e-05/0.545, allocations: 9.156 kB / 1.154 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of Solve: time 0.00146/0.5464, allocations: 0.695 MB / 1.154 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of Jacobian: time 3.476e-06/0.5464, allocations: 0 / 1.154 GB, free: 11.97 MB / 0.8575 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.279e-05/0.5465, allocations: 95.69 kB / 1.154 GB, free: 11.89 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)