Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 107.2 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.001316/0.001316, allocations: 190 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.366/1.366, 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.8006/0.8006, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.493e-05, allocations: 2.281 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05496/0.055, allocations: 61.2 MB / 0.6417 GB, free: 13.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0192/0.07425, allocations: 11.99 MB / 0.6534 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/0.07743, allocations: 59.69 kB / 0.6535 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.08003, allocations: 0.6986 MB / 0.6542 GB, free: 264 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006164/0.08622, allocations: 2.064 MB / 0.6562 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.08964, allocations: 1.208 MB / 0.6574 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005627/0.09528, allocations: 3.562 MB / 0.6609 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.09761, allocations: 1.201 MB / 0.662 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003868/0.1015, allocations: 1.463 MB / 0.6635 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.1035, allocations: 0.914 MB / 0.6644 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003888/0.1039, allocations: 116 kB / 0.6645 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.1075, allocations: 1.482 MB / 0.6659 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of combineBinaries: time 0.002519/0.11, allocations: 2.323 MB / 0.6682 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of replaceArrayConstructors: time 0.001499/0.1115, allocations: 1.52 MB / 0.6697 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006352/0.1122, allocations: 259.3 kB / 0.6699 GB, free: 68 kB / 0.4981 GB Notification: Performance of FrontEnd: time 0.0004931/0.1127, allocations: 67.67 kB / 0.67 GB, free: 0 / 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.006961/0.1196, allocations: 6.426 MB / 0.6762 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of FunctionAlias: time 0.0004045/0.1201, allocations: 239.6 kB / 0.6765 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of Early Inline: time 0.003847/0.1239, allocations: 3.251 MB / 0.6797 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of simplify1: time 0.0003765/0.1243, allocations: 215.7 kB / 0.6799 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of Alias: time 0.006304/0.1306, allocations: 5.408 MB / 0.6851 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of simplify2: time 0.000251/0.1309, allocations: 163.8 kB / 0.6853 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of Detect States: time 0.0004907/0.1314, allocations: 0.49 MB / 0.6858 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of Events: time 0.0007211/0.1321, allocations: 0.5574 MB / 0.6863 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.001033/0.1332, allocations: 0.8958 MB / 0.6872 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of Causalize: time 0.004307/0.1375, allocations: 3.281 MB / 0.6904 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of After Index Reduction Inline: time 0.002281/0.1398, allocations: 1.926 MB / 0.6923 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of Inline: time 0.006029/0.1458, allocations: 4.357 MB / 0.6965 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of Partitioning: time 0.0003017/0.1461, allocations: 203.6 kB / 0.6967 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of Cleanup: time 0.0008068/0.147, allocations: 415.4 kB / 0.6971 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of Causalize: time 0.01362/0.1606, allocations: 11.42 MB / 0.7083 GB, free: 7.602 MB / 0.545 GB Notification: Performance of Tearing: time 0.003741/0.1644, allocations: 3.24 MB / 0.7114 GB, free: 4.285 MB / 0.545 GB Notification: Performance of Initialization: time 1.312e-06/0.1644, allocations: 0 / 0.7114 GB, free: 4.285 MB / 0.545 GB Notification: Performance of Tearing: time 0.001808/0.1662, allocations: 1.584 MB / 0.713 GB, free: 2.648 MB / 0.545 GB Notification: Performance of Categorize: time 4.873e-05/0.1663, allocations: 11.94 kB / 0.713 GB, free: 2.637 MB / 0.545 GB Notification: Performance of Solve: time 0.001655/0.1679, allocations: 0.6697 MB / 0.7136 GB, free: 1.961 MB / 0.545 GB Notification: Performance of Jacobian: time 4.278e-06/0.1679, allocations: 3.938 kB / 0.7137 GB, free: 1.957 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: ................. 29 (29) {$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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 176 (scalar:171, 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: ........... 176 (scalar:171, 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.0001004/0.1681, allocations: 83.09 kB / 0.7137 GB, free: 1.887 MB / 0.545 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)