Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001472/0.001472, allocations: 104.7 kB / 16.38 MB, free: 6.434 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.001192/0.001192, allocations: 190.5 kB / 17.31 MB, free: 5.777 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.475/1.475, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.707e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05897/0.05902, allocations: 61.25 MB / 0.7327 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.07743, allocations: 11.91 MB / 0.7443 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.08025, allocations: 59.62 kB / 0.7443 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.08267, allocations: 0.6791 MB / 0.745 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007995/0.09068, allocations: 1.947 MB / 0.7469 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.09478, allocations: 1.226 MB / 0.7481 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005629/0.1004, allocations: 3.523 MB / 0.7516 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002068/0.1025, allocations: 1.224 MB / 0.7527 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/0.1063, allocations: 1.447 MB / 0.7542 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.1082, allocations: 0.9648 MB / 0.7551 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.1084, allocations: 116 kB / 0.7552 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.1117, allocations: 1.482 MB / 0.7567 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of combineBinaries: time 0.001894/0.1136, allocations: 2.354 MB / 0.759 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of replaceArrayConstructors: time 0.0009707/0.1146, allocations: 1.51 MB / 0.7604 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005101/0.1151, allocations: 259.2 kB / 0.7607 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of FrontEnd: time 0.000474/0.1156, allocations: 67.67 kB / 0.7607 GB, free: 11.57 MB / 0.6387 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.006143/0.1217, allocations: 6.518 MB / 0.7671 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.0003305/0.1221, allocations: 258.8 kB / 0.7674 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.00314/0.1252, allocations: 3.186 MB / 0.7705 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of simplify1: time 0.0002489/0.1255, allocations: 211.7 kB / 0.7707 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of Alias: time 0.005485/0.131, allocations: 4.796 MB / 0.7754 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of simplify2: time 0.0002309/0.1312, allocations: 147.8 kB / 0.7755 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of Events: time 0.0006433/0.1319, allocations: 0.5687 MB / 0.776 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of Detect States: time 0.0005156/0.1324, allocations: 0.5657 MB / 0.7766 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0008933/0.1333, allocations: 0.8487 MB / 0.7774 GB, free: 9.672 MB / 0.6544 GB Notification: Performance of Causalize: time 0.004438/0.1377, allocations: 4.719 MB / 0.782 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of After Index Reduction Inline: time 0.001822/0.1396, allocations: 1.851 MB / 0.7838 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of Inline: time 0.4265/0.5661, allocations: 4.113 MB / 0.7879 GB, free: 91.07 MB / 0.6544 GB Notification: Performance of Partitioning: time 0.0004159/0.5666, allocations: 209.5 kB / 0.7881 GB, free: 91.04 MB / 0.6544 GB Notification: Performance of Cleanup: time 0.0004366/0.567, allocations: 410.8 kB / 0.7885 GB, free: 91.03 MB / 0.6544 GB Notification: Performance of Causalize: time 0.0144/0.5814, allocations: 16.04 MB / 0.8041 GB, free: 89.78 MB / 0.6544 GB Notification: Performance of Tearing: time 0.002227/0.5837, allocations: 1.834 MB / 0.8059 GB, free: 89.25 MB / 0.6544 GB Notification: Performance of Initialization: time 1.382e-06/0.5837, allocations: 0 / 0.8059 GB, free: 89.25 MB / 0.6544 GB Notification: Performance of Tearing: time 0.001042/0.5848, allocations: 0.9256 MB / 0.8068 GB, free: 88.96 MB / 0.6544 GB Notification: Performance of Categorize: time 4.378e-05/0.5848, allocations: 5.25 kB / 0.8068 GB, free: 88.96 MB / 0.6544 GB Notification: Performance of Solve: time 0.001895/0.5867, allocations: 0.6987 MB / 0.8075 GB, free: 88.88 MB / 0.6544 GB Notification: Performance of Jacobian: time 4.409e-06/0.5867, allocations: 0 / 0.8075 GB, free: 88.88 MB / 0.6544 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: ................. 30 (30) {$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: ........... 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 188 (scalar:183, 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: ........... 188 (scalar:183, 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 0.000112/0.5869, allocations: 77.27 kB / 0.8076 GB, free: 88.87 MB / 0.6544 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)