Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001679/0.001679, allocations: 106.6 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.001859/0.001859, allocations: 189.5 kB / 17.36 MB, free: 5.703 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8292/0.8292, allocations: 135.2 MB / 426.4 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.645e-05, allocations: 9.016 kB / 0.5863 GB, free: 21.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05256/0.0526, allocations: 61.19 MB / 0.646 GB, free: 9.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.07079, allocations: 11.98 MB / 0.6577 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002772/0.07361, allocations: 59.62 kB / 0.6578 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002324/0.07595, allocations: 0.6948 MB / 0.6584 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006852/0.08282, allocations: 2.057 MB / 0.6605 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.08641, allocations: 1.213 MB / 0.6616 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005339/0.09176, allocations: 3.554 MB / 0.6651 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00234/0.09412, allocations: 1.212 MB / 0.6663 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004158/0.0983, allocations: 1.468 MB / 0.6677 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.1005, allocations: 0.9062 MB / 0.6686 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005011/0.101, allocations: 116 kB / 0.6687 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003778/0.1048, allocations: 1.489 MB / 0.6702 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002707/0.1076, allocations: 2.323 MB / 0.6724 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001071/0.1086, allocations: 1.518 MB / 0.6739 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005034/0.1092, allocations: 255.3 kB / 0.6742 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0005779/0.1097, allocations: 63.69 kB / 0.6742 GB, free: 12.3 MB / 0.5137 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.006043/0.1158, allocations: 6.433 MB / 0.6805 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0002905/0.1161, allocations: 246.9 kB / 0.6808 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.003001/0.1191, allocations: 3.127 MB / 0.6838 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0002373/0.1194, allocations: 207.8 kB / 0.684 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of Alias: time 0.006392/0.1258, allocations: 5.399 MB / 0.6893 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0002756/0.1261, allocations: 151.8 kB / 0.6894 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0005301/0.1266, allocations: 485.8 kB / 0.6899 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of Events: time 0.0007674/0.1274, allocations: 0.5205 MB / 0.6904 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0011/0.1285, allocations: 0.8685 MB / 0.6912 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of Causalize: time 0.004068/0.1326, allocations: 3.165 MB / 0.6943 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.002139/0.1348, allocations: 1.801 MB / 0.6961 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of Inline: time 0.00518/0.14, allocations: 4.158 MB / 0.7002 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0002578/0.1402, allocations: 191.6 kB / 0.7003 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of Cleanup: time 0.0004053/0.1406, allocations: 403.4 kB / 0.7007 GB, free: 108 kB / 0.5294 GB Notification: Performance of Causalize: time 0.01344/0.1541, allocations: 11.11 MB / 0.7116 GB, free: 4.891 MB / 0.545 GB Notification: Performance of Tearing: time 0.003738/0.1579, allocations: 3.218 MB / 0.7147 GB, free: 1.594 MB / 0.545 GB Notification: Performance of Initialization: time 2.715e-06/0.1579, allocations: 0 / 0.7147 GB, free: 1.594 MB / 0.545 GB Notification: Performance of Tearing: time 0.001785/0.1597, allocations: 1.577 MB / 0.7163 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of Categorize: time 6.221e-05/0.1598, allocations: 7.938 kB / 0.7163 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of Solve: time 0.001846/0.1616, allocations: 0.654 MB / 0.7169 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of Jacobian: time 7.684e-06/0.1616, allocations: 7.969 kB / 0.7169 GB, free: 15.28 MB / 0.5606 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: ........... 172 (scalar:167, 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: ........... 172 (scalar:167, 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.0001029/0.1618, allocations: 83.72 kB / 0.717 GB, free: 15.2 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)