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.001065/0.001065, allocations: 112.6 kB / 16.38 MB, free: 6 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.00109/0.00109, allocations: 187.9 kB / 17.31 MB, free: 5.621 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7981/0.7981, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.744e-05, allocations: 2.281 kB / 0.5031 GB, free: 11.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3567/0.3567, allocations: 61.16 MB / 0.5629 GB, free: 37.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01703/0.3738, allocations: 11.99 MB / 0.5746 GB, free: 33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003299/0.3772, allocations: 60.16 kB / 0.5746 GB, free: 33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.3799, allocations: 0.6807 MB / 0.5753 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007125/0.3871, allocations: 1.96 MB / 0.5772 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004229/0.3913, allocations: 1.2 MB / 0.5784 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006824/0.3982, allocations: 3.551 MB / 0.5819 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.4007, allocations: 1.229 MB / 0.5831 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00423/0.405, allocations: 1.439 MB / 0.5845 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.407, allocations: 0.9538 MB / 0.5854 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.4072, allocations: 114 kB / 0.5855 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00382/0.4111, allocations: 1.481 MB / 0.5869 GB, free: 28.83 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001904/0.413, allocations: 2.321 MB / 0.5892 GB, free: 27.32 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009607/0.414, allocations: 1.504 MB / 0.5907 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006233/0.4146, allocations: 261.8 kB / 0.5909 GB, free: 26.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0006107/0.4152, allocations: 58.09 kB / 0.591 GB, free: 26.13 MB / 446.1 MB 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.006403/0.4216, allocations: 6.485 MB / 0.5973 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0003175/0.422, allocations: 252 kB / 0.5976 GB, free: 21.67 MB / 446.1 MB Notification: Performance of Early Inline: time 0.003479/0.4254, allocations: 3.241 MB / 0.6007 GB, free: 19.69 MB / 446.1 MB Notification: Performance of simplify1: time 0.0002989/0.4257, allocations: 218.7 kB / 0.6009 GB, free: 19.59 MB / 446.1 MB Notification: Performance of Alias: time 0.005401/0.4312, allocations: 4.801 MB / 0.6056 GB, free: 16.58 MB / 446.1 MB Notification: Performance of simplify2: time 0.0003103/0.4315, allocations: 160.9 kB / 0.6058 GB, free: 16.52 MB / 446.1 MB Notification: Performance of Events: time 0.0007245/0.4322, allocations: 0.5556 MB / 0.6063 GB, free: 16.19 MB / 446.1 MB Notification: Performance of Detect States: time 0.0005698/0.4328, allocations: 0.5771 MB / 0.6069 GB, free: 15.8 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0008935/0.4337, allocations: 0.8954 MB / 0.6078 GB, free: 15.14 MB / 446.1 MB Notification: Performance of Causalize: time 0.00388/0.4376, allocations: 4.793 MB / 0.6124 GB, free: 10.78 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.001743/0.4393, allocations: 1.941 MB / 0.6143 GB, free: 9.066 MB / 446.1 MB Notification: Performance of Inline: time 0.003758/0.4431, allocations: 4.228 MB / 0.6185 GB, free: 5.348 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001938/0.4433, allocations: 209.6 kB / 0.6187 GB, free: 5.129 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0003324/0.4437, allocations: 434.3 kB / 0.6191 GB, free: 4.781 MB / 446.1 MB Notification: Performance of Causalize: time 0.01475/0.4584, allocations: 16.19 MB / 0.6349 GB, free: 5.973 MB / 462.1 MB Notification: Performance of Tearing: time 0.002103/0.4606, allocations: 1.842 MB / 0.6367 GB, free: 4.035 MB / 462.1 MB Notification: Performance of Initialization: time 1.202e-06/0.4606, allocations: 0 / 0.6367 GB, free: 4.035 MB / 462.1 MB Notification: Performance of Tearing: time 0.001159/0.4617, allocations: 0.9287 MB / 0.6376 GB, free: 3.051 MB / 462.1 MB Notification: Performance of Categorize: time 5.078e-05/0.4618, allocations: 4 kB / 0.6376 GB, free: 3.047 MB / 462.1 MB Notification: Performance of Solve: time 0.001715/0.4635, allocations: 0.7009 MB / 0.6383 GB, free: 2.34 MB / 462.1 MB Notification: Performance of Jacobian: time 4.899e-06/0.4635, allocations: 3.938 kB / 0.6383 GB, free: 2.336 MB / 462.1 MB 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: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 187 (scalar:182, 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: ........... 187 (scalar:182, 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.0001001/0.4636, allocations: 88.02 kB / 0.6384 GB, free: 2.266 MB / 462.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)