Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001123/0.001123, allocations: 109.1 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.001069/0.001069, allocations: 187.2 kB / 17.36 MB, free: 5.707 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.146/1.146, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.928/1.928, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.188e-05, allocations: 4.531 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05034/0.05036, allocations: 61.25 MB / 1.011 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01345/0.06384, allocations: 11.99 MB / 1.023 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.0653, allocations: 63.62 kB / 1.023 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.06687, allocations: 0.6909 MB / 1.024 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.07116, allocations: 2.072 MB / 1.026 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.07364, allocations: 1.21 MB / 1.027 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003689/0.07733, allocations: 3.558 MB / 1.03 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.07886, allocations: 1.212 MB / 1.032 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.0815, allocations: 1.47 MB / 1.033 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.08287, allocations: 0.9063 MB / 1.034 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.08305, allocations: 112 kB / 1.034 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.08513, allocations: 1.493 MB / 1.035 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001545/0.08669, allocations: 2.322 MB / 1.038 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0008051/0.0875, allocations: 1.511 MB / 1.039 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.08782, allocations: 263.2 kB / 1.039 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.000321/0.08814, allocations: 47.81 kB / 1.04 GB, free: 13.18 MB / 0.8262 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.00542/0.09357, allocations: 6.429 MB / 1.046 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.000287/0.09387, allocations: 245.3 kB / 1.046 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.002673/0.09655, allocations: 3.123 MB / 1.049 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simplify1: time 0.0001799/0.09674, allocations: 211.8 kB / 1.049 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of Alias: time 0.004983/0.1017, allocations: 5.405 MB / 1.055 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001215/0.1019, allocations: 147.8 kB / 1.055 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003724/0.1022, allocations: 487.3 kB / 1.055 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of Events: time 0.0005112/0.1028, allocations: 0.5274 MB / 1.056 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007081/0.1035, allocations: 0.8645 MB / 1.057 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002911/0.1064, allocations: 3.162 MB / 1.06 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001409/0.1078, allocations: 1.804 MB / 1.061 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of Inline: time 0.003477/0.1113, allocations: 4.195 MB / 1.065 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001883/0.1115, allocations: 203.6 kB / 1.066 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.000298/0.1118, allocations: 399.5 kB / 1.066 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of Causalize: time 0.01066/0.1225, allocations: 11.38 MB / 1.077 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of Tearing: time 0.003029/0.1255, allocations: 3.214 MB / 1.08 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of Initialization: time 5.71e-07/0.1255, allocations: 0 / 1.08 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of Tearing: time 0.001446/0.127, allocations: 1.586 MB / 1.082 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of Categorize: time 2.45e-05/0.127, allocations: 7.938 kB / 1.082 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of Solve: time 0.3923/0.5193, allocations: 0.6584 MB / 1.083 GB, free: 64.68 MB / 0.8575 GB Notification: Performance of Jacobian: time 6.442e-06/0.5193, allocations: 0.5312 kB / 1.083 GB, free: 64.68 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: ........... 179 (scalar:174, 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: ........... 179 (scalar:174, 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.0001047/0.5194, allocations: 74.7 kB / 1.083 GB, free: 64.68 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)