Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001099/0.001099, allocations: 110.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.001069/0.001069, allocations: 187.2 kB / 17.35 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.223/1.223, allocations: 251.7 MB / 0.51 GB, free: 408 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.305e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3319/0.3319, allocations: 61.21 MB / 0.7861 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01407/0.346, allocations: 11.86 MB / 0.7977 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002107/0.3482, allocations: 59.34 kB / 0.7978 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.3497, allocations: 0.6718 MB / 0.7984 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004665/0.3544, allocations: 1.953 MB / 0.8004 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.3573, allocations: 1.227 MB / 0.8016 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003711/0.361, allocations: 3.524 MB / 0.805 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.3622, allocations: 1.226 MB / 0.8062 GB, free: 24 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.3649, allocations: 1.426 MB / 0.8076 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.366, allocations: 0.9686 MB / 0.8085 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.3662, allocations: 119.6 kB / 0.8086 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.3688, allocations: 1.442 MB / 0.8101 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.001678/0.3705, allocations: 2.334 MB / 0.8123 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.00132/0.3718, allocations: 1.511 MB / 0.8138 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004227/0.3722, allocations: 264.2 kB / 0.8141 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.000315/0.3726, allocations: 52.59 kB / 0.8141 GB, free: 11.69 MB / 0.6075 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.005382/0.378, allocations: 6.514 MB / 0.8205 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.0002452/0.3782, allocations: 257 kB / 0.8207 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.003032/0.3812, allocations: 3.292 MB / 0.8239 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simplify1: time 0.0002032/0.3815, allocations: 215.8 kB / 0.8241 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of Alias: time 0.004697/0.3862, allocations: 4.815 MB / 0.8288 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simplify2: time 0.0001579/0.3863, allocations: 165.3 kB / 0.829 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of Events: time 0.0006481/0.387, allocations: 0.5955 MB / 0.8296 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of Detect States: time 0.0005242/0.3875, allocations: 0.5906 MB / 0.8302 GB, free: 400 kB / 0.6075 GB Notification: Performance of Partitioning: time 0.0008185/0.3883, allocations: 0.8921 MB / 0.831 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of Causalize: time 0.004026/0.3924, allocations: 4.937 MB / 0.8358 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of After Index Reduction Inline: time 0.001708/0.3941, allocations: 1.988 MB / 0.8378 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of Inline: time 0.004337/0.3984, allocations: 4.45 MB / 0.8421 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0002354/0.3987, allocations: 203.6 kB / 0.8423 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of Cleanup: time 0.0003713/0.3991, allocations: 435.3 kB / 0.8427 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of Causalize: time 0.01317/0.4122, allocations: 16.28 MB / 0.8586 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of Tearing: time 0.001735/0.414, allocations: 1.845 MB / 0.8604 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of Initialization: time 1.383e-06/0.414, allocations: 0 / 0.8604 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of Tearing: time 0.0008072/0.4148, allocations: 0.9193 MB / 0.8613 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of Categorize: time 3.114e-05/0.4149, allocations: 4 kB / 0.8613 GB, free: 4.613 MB / 0.6387 GB Notification: Performance of Solve: time 0.001096/0.416, allocations: 0.6661 MB / 0.862 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of Jacobian: time 3.466e-06/0.416, allocations: 0 / 0.862 GB, free: 3.941 MB / 0.6387 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: ......... 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: ................. 33 (33) {$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: ........... 102 (scalar:98, 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: 0, nonlinear:1) 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: 0, nonlinear:1) 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: 0, nonlinear:1) Notification: Performance of backend: time 7.435e-05/0.4161, allocations: 87.95 kB / 0.8621 GB, free: 3.867 MB / 0.6387 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)