Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001488, allocations: 105.1 kB / 16.42 MB, free: 6.512 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.001369/0.001369, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.465/1.465, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7897/0.7897, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.671e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06151/0.06154, allocations: 61.19 MB / 0.646 GB, free: 9.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02048/0.08209, allocations: 11.98 MB / 0.6577 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003277/0.08541, allocations: 59.62 kB / 0.6577 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.0882, allocations: 0.6791 MB / 0.6584 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007198/0.09541, allocations: 1.97 MB / 0.6603 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.09934, allocations: 1.201 MB / 0.6615 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006354/0.1057, allocations: 3.561 MB / 0.665 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.1079, allocations: 1.224 MB / 0.6662 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004093/0.112, allocations: 1.454 MB / 0.6676 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002221/0.1142, allocations: 0.9258 MB / 0.6685 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.1146, allocations: 123.9 kB / 0.6686 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003549/0.1181, allocations: 1.474 MB / 0.6701 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002035/0.1202, allocations: 2.358 MB / 0.6724 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of replaceArrayConstructors: time 0.001168/0.1214, allocations: 1.529 MB / 0.6738 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005915/0.122, allocations: 259.2 kB / 0.6741 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.0006347/0.1226, allocations: 63.75 kB / 0.6742 GB, free: 12.43 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: 194 (182) * Number of variables: 194 (191) Notification: Performance of Bindings: time 0.007293/0.1299, allocations: 6.435 MB / 0.6804 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0003004/0.1302, allocations: 247.4 kB / 0.6807 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.003689/0.1339, allocations: 3.501 MB / 0.6841 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0002851/0.1342, allocations: 231.7 kB / 0.6843 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of Alias: time 0.006805/0.141, allocations: 5.256 MB / 0.6895 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simplify2: time 0.0002762/0.1413, allocations: 183.8 kB / 0.6896 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of Events: time 0.0008046/0.1421, allocations: 0.6322 MB / 0.6902 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0006453/0.1428, allocations: 0.6308 MB / 0.6909 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.00105/0.1439, allocations: 0.9084 MB / 0.6917 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of Causalize: time 0.004359/0.1482, allocations: 3.64 MB / 0.6953 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.002264/0.1505, allocations: 2.137 MB / 0.6974 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of Inline: time 0.005604/0.1561, allocations: 4.781 MB / 0.7021 GB, free: 14.88 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0003199/0.1565, allocations: 227.6 kB / 0.7023 GB, free: 14.64 MB / 0.545 GB Notification: Performance of Cleanup: time 0.0005677/0.157, allocations: 459.4 kB / 0.7027 GB, free: 14.19 MB / 0.545 GB Notification: Performance of Causalize: time 0.01653/0.1736, allocations: 12.71 MB / 0.7151 GB, free: 1.363 MB / 0.545 GB Notification: Performance of Tearing: time 0.00272/0.1764, allocations: 2.199 MB / 0.7173 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of Initialization: time 2.134e-06/0.1764, allocations: 0 / 0.7173 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of Tearing: time 0.001227/0.1776, allocations: 1.107 MB / 0.7184 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of Categorize: time 5.735e-05/0.1777, allocations: 7.938 kB / 0.7184 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of Solve: time 0.001796/0.1795, allocations: 0.6661 MB / 0.719 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.376e-06/0.1795, allocations: 3.938 kB / 0.719 GB, free: 13.21 MB / 0.5606 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: ......... 12 * 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: ................. 34 (34) {$SEV_31, $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: ........... 103 (scalar:99, 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: ........... 193 (scalar:188, 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: ........... 193 (scalar:188, 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.0001127/0.1796, allocations: 92 kB / 0.7191 GB, free: 13.13 MB / 0.5606 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)