Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001256/0.001256, allocations: 112.3 kB / 16.42 MB, free: 6.508 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.8 kB / 17.36 MB, free: 5.727 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.147/1.147, 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.917/1.917, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.331e-05, allocations: 6.219 kB / 0.9514 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.04841/0.04844, allocations: 61.21 MB / 1.011 GB, free: 10.28 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01564/0.06411, allocations: 11.99 MB / 1.023 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001507/0.06565, allocations: 55.69 kB / 1.023 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.06709, allocations: 0.7025 MB / 1.024 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003612/0.07077, allocations: 2.064 MB / 1.026 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.07299, allocations: 1.217 MB / 1.027 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002994/0.076, allocations: 3.562 MB / 1.03 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.07726, allocations: 1.208 MB / 1.032 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002174/0.07945, allocations: 1.464 MB / 1.033 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008884/0.08035, allocations: 0.9102 MB / 1.034 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.08048, allocations: 112 kB / 1.034 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.08235, allocations: 1.462 MB / 1.035 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001382/0.08374, allocations: 2.323 MB / 1.038 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0007162/0.08447, allocations: 1.515 MB / 1.039 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.08468, allocations: 259.2 kB / 1.039 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.0002192/0.0849, allocations: 51.8 kB / 1.039 GB, free: 13.27 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.004454/0.08937, allocations: 6.426 MB / 1.046 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001819/0.08955, allocations: 231.5 kB / 1.046 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.002532/0.09209, allocations: 3.236 MB / 1.049 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of simplify1: time 0.0001687/0.09227, allocations: 211.8 kB / 1.049 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of Alias: time 0.00481/0.09709, allocations: 5.409 MB / 1.055 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001421/0.09724, allocations: 167.8 kB / 1.055 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of Detect States: time 0.000394/0.09764, allocations: 499.2 kB / 1.055 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of Events: time 0.0006028/0.09825, allocations: 0.5488 MB / 1.056 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007426/0.099, allocations: 0.8919 MB / 1.057 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003085/0.1021, allocations: 3.255 MB / 1.06 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001622/0.1037, allocations: 1.918 MB / 1.062 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of Inline: time 0.003734/0.1075, allocations: 4.372 MB / 1.066 GB, free: 1.062 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002062/0.1077, allocations: 215.6 kB / 1.066 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0003235/0.108, allocations: 415.4 kB / 1.067 GB, free: 432 kB / 0.8419 GB Notification: Performance of Causalize: time 0.01139/0.1194, allocations: 11.63 MB / 1.078 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of Tearing: time 0.003084/0.1225, allocations: 3.226 MB / 1.081 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of Initialization: time 1.072e-06/0.1225, allocations: 0 / 1.081 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of Tearing: time 0.381/0.5035, allocations: 1.577 MB / 1.083 GB, free: 64.49 MB / 0.8575 GB Notification: Performance of Categorize: time 4.876e-05/0.5036, allocations: 7.641 kB / 1.083 GB, free: 64.49 MB / 0.8575 GB Notification: Performance of Solve: time 0.001552/0.5052, allocations: 0.6869 MB / 1.083 GB, free: 64.48 MB / 0.8575 GB Notification: Performance of Jacobian: time 3.467e-06/0.5052, allocations: 3.062 kB / 1.083 GB, free: 64.48 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: ........... 182 (scalar:177, 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: ........... 182 (scalar:177, 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.14e-05/0.5053, allocations: 78.22 kB / 1.083 GB, free: 64.47 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)