Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 110.5 kB / 16.42 MB, free: 6.035 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.001044, allocations: 186.1 kB / 17.36 MB, free: 5.621 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 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.906/1.906, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.464e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04715/0.04718, allocations: 61.26 MB / 1.011 GB, free: 10.24 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.06055, allocations: 11.99 MB / 1.023 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.06189, allocations: 55.69 kB / 1.023 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.06346, allocations: 0.7025 MB / 1.024 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004591/0.06812, allocations: 2.068 MB / 1.026 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.07083, allocations: 1.215 MB / 1.027 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003887/0.07473, allocations: 3.566 MB / 1.03 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.07593, allocations: 1.201 MB / 1.032 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.07809, allocations: 1.459 MB / 1.033 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008968/0.079, allocations: 0.9232 MB / 1.034 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.07914, allocations: 119.9 kB / 1.034 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.08119, allocations: 1.482 MB / 1.035 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001402/0.0826, allocations: 2.319 MB / 1.038 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0007343/0.08335, allocations: 1.511 MB / 1.039 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.08358, allocations: 259.2 kB / 1.039 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.0002636/0.08385, allocations: 51.73 kB / 1.04 GB, free: 13.21 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.004543/0.0884, allocations: 6.429 MB / 1.046 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001974/0.0886, allocations: 235.5 kB / 1.046 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.002587/0.09119, allocations: 3.251 MB / 1.049 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simplify1: time 0.000174/0.09138, allocations: 215.7 kB / 1.049 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of Alias: time 0.004772/0.09616, allocations: 5.412 MB / 1.055 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001296/0.0963, allocations: 155.8 kB / 1.055 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003566/0.09666, allocations: 0.4953 MB / 1.055 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of Events: time 0.000523/0.09719, allocations: 0.5581 MB / 1.056 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007376/0.09794, allocations: 0.8997 MB / 1.057 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002976/0.1009, allocations: 3.275 MB / 1.06 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001521/0.1025, allocations: 1.933 MB / 1.062 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of Inline: time 0.003656/0.1061, allocations: 4.385 MB / 1.066 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001988/0.1063, allocations: 211.6 kB / 1.066 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0003117/0.1066, allocations: 423.4 kB / 1.067 GB, free: 276 kB / 0.8419 GB Notification: Performance of Causalize: time 0.01105/0.1177, allocations: 11.68 MB / 1.078 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of Tearing: time 0.003047/0.1208, allocations: 3.247 MB / 1.081 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of Initialization: time 2.525e-06/0.1208, allocations: 0 / 1.081 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of Tearing: time 0.3941/0.5149, allocations: 1.576 MB / 1.083 GB, free: 64.46 MB / 0.8575 GB Notification: Performance of Categorize: time 5.29e-05/0.515, allocations: 7.391 kB / 1.083 GB, free: 64.46 MB / 0.8575 GB Notification: Performance of Solve: time 0.001659/0.5166, allocations: 0.6931 MB / 1.084 GB, free: 64.44 MB / 0.8575 GB Notification: Performance of Jacobian: time 4.498e-06/0.5166, allocations: 3.312 kB / 1.084 GB, free: 64.44 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: ........... 99 (scalar:95, 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: ........... 183 (scalar:178, 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: ........... 183 (scalar:178, 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.929e-05/0.5167, allocations: 76.27 kB / 1.084 GB, free: 64.44 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)