Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001311/0.001311, allocations: 107.7 kB / 16.42 MB, free: 6.465 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.001335/0.001336, allocations: 189.5 kB / 17.36 MB, free: 5.707 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.105/1.105, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6657/0.6657, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.58e-05, allocations: 8.953 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04314/0.04317, allocations: 61.2 MB / 0.6417 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.013/0.05621, allocations: 11.97 MB / 0.6534 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009297/0.05716, allocations: 59.69 kB / 0.6535 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.05841, allocations: 0.683 MB / 0.6542 GB, free: 440 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.06164, allocations: 1.959 MB / 0.6561 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.06369, allocations: 1.206 MB / 0.6573 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002941/0.06664, allocations: 3.56 MB / 0.6607 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.06785, allocations: 1.201 MB / 0.6619 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.06993, allocations: 1.462 MB / 0.6633 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009092/0.07085, allocations: 0.914 MB / 0.6642 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.07098, allocations: 116 kB / 0.6643 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.07285, allocations: 1.478 MB / 0.6658 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.001418/0.07428, allocations: 2.322 MB / 0.668 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.0007646/0.07505, allocations: 1.513 MB / 0.6695 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.07526, allocations: 259.2 kB / 0.6698 GB, free: 368 kB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0002169/0.07548, allocations: 67.73 kB / 0.6698 GB, free: 300 kB / 0.4981 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.004709/0.0802, allocations: 6.435 MB / 0.6761 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0002192/0.08042, allocations: 258 kB / 0.6764 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.002566/0.083, allocations: 3.119 MB / 0.6794 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0001653/0.08317, allocations: 215.7 kB / 0.6796 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of Alias: time 0.00493/0.08811, allocations: 5.4 MB / 0.6849 GB, free: 220 kB / 0.5137 GB Notification: Performance of simplify2: time 0.0001296/0.08825, allocations: 151.8 kB / 0.685 GB, free: 68 kB / 0.5137 GB Notification: Performance of Events: time 0.0004944/0.08875, allocations: 0.5159 MB / 0.6855 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0004305/0.08919, allocations: 0.554 MB / 0.6861 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0007253/0.08992, allocations: 0.8606 MB / 0.6869 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of Causalize: time 0.003002/0.09293, allocations: 3.164 MB / 0.69 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.001457/0.0944, allocations: 1.804 MB / 0.6918 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of Inline: time 0.003574/0.09798, allocations: 4.193 MB / 0.6959 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0002071/0.0982, allocations: 207.6 kB / 0.6961 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of Cleanup: time 0.0003228/0.09852, allocations: 403.4 kB / 0.6964 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of Causalize: time 0.01112/0.1097, allocations: 11.38 MB / 0.7076 GB, free: 8.477 MB / 0.545 GB Notification: Performance of Tearing: time 0.001627/0.1113, allocations: 1.836 MB / 0.7094 GB, free: 6.535 MB / 0.545 GB Notification: Performance of Initialization: time 5.51e-07/0.1113, allocations: 0 / 0.7094 GB, free: 6.535 MB / 0.545 GB Notification: Performance of Tearing: time 0.0007747/0.1121, allocations: 0.9279 MB / 0.7103 GB, free: 5.555 MB / 0.545 GB Notification: Performance of Categorize: time 2.16e-05/0.1121, allocations: 7.938 kB / 0.7103 GB, free: 5.547 MB / 0.545 GB Notification: Performance of Solve: time 0.0008828/0.113, allocations: 0.6423 MB / 0.7109 GB, free: 4.895 MB / 0.545 GB Notification: Performance of Jacobian: time 2.816e-06/0.113, allocations: 0 / 0.7109 GB, free: 4.895 MB / 0.545 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 179 (scalar:174, 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: ........... 179 (scalar:174, 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.251e-05/0.1131, allocations: 75.97 kB / 0.711 GB, free: 4.828 MB / 0.545 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)