Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001243, allocations: 103.9 kB / 16.38 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.001066/0.001066, allocations: 193.3 kB / 17.32 MB, free: 5.797 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 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8097/0.8097, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.689e-05/2.719e-05, allocations: 2.281 kB / 0.5031 GB, free: 11.01 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3046/0.3047, allocations: 61.13 MB / 0.5628 GB, free: 37.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.3201, allocations: 11.98 MB / 0.5745 GB, free: 33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003434/0.3236, allocations: 59.44 kB / 0.5746 GB, free: 33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002786/0.3264, allocations: 0.6739 MB / 0.5753 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006323/0.3327, allocations: 1.963 MB / 0.5772 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.3361, allocations: 1.206 MB / 0.5784 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005112/0.3412, allocations: 3.55 MB / 0.5818 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0025/0.3437, allocations: 1.229 MB / 0.583 GB, free: 30.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.3479, allocations: 1.431 MB / 0.5844 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.35, allocations: 0.9559 MB / 0.5854 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.3502, allocations: 117.4 kB / 0.5855 GB, free: 29.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003733/0.354, allocations: 1.462 MB / 0.5869 GB, free: 28.84 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.002065/0.356, allocations: 2.313 MB / 0.5891 GB, free: 27.34 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009726/0.357, allocations: 1.509 MB / 0.5906 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005565/0.3576, allocations: 261.6 kB / 0.5909 GB, free: 26.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0004777/0.3581, allocations: 54.98 kB / 0.5909 GB, free: 26.15 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.006374/0.3645, allocations: 6.484 MB / 0.5973 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0003085/0.3648, allocations: 244.4 kB / 0.5975 GB, free: 21.7 MB / 446.1 MB Notification: Performance of Early Inline: time 0.003605/0.3684, allocations: 3.235 MB / 0.6006 GB, free: 19.72 MB / 446.1 MB Notification: Performance of simplify1: time 0.0002964/0.3687, allocations: 216.4 kB / 0.6009 GB, free: 19.63 MB / 446.1 MB Notification: Performance of Alias: time 0.005331/0.374, allocations: 4.792 MB / 0.6055 GB, free: 16.62 MB / 446.1 MB Notification: Performance of simplify2: time 0.0003274/0.3744, allocations: 157.2 kB / 0.6057 GB, free: 16.56 MB / 446.1 MB Notification: Performance of Events: time 0.0007301/0.3751, allocations: 0.5605 MB / 0.6062 GB, free: 16.23 MB / 446.1 MB Notification: Performance of Detect States: time 0.0005815/0.3757, allocations: 0.5764 MB / 0.6068 GB, free: 15.84 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0009086/0.3766, allocations: 0.8924 MB / 0.6077 GB, free: 15.17 MB / 446.1 MB Notification: Performance of Causalize: time 0.003931/0.3806, allocations: 4.762 MB / 0.6123 GB, free: 10.9 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.001711/0.3823, allocations: 1.92 MB / 0.6142 GB, free: 9.203 MB / 446.1 MB Notification: Performance of Inline: time 0.00372/0.386, allocations: 4.226 MB / 0.6183 GB, free: 5.5 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002038/0.3863, allocations: 215.6 kB / 0.6185 GB, free: 5.273 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0003642/0.3866, allocations: 421.3 kB / 0.6189 GB, free: 4.938 MB / 446.1 MB Notification: Performance of Causalize: time 0.0147/0.4013, allocations: 16.17 MB / 0.6347 GB, free: 6.129 MB / 462.1 MB Notification: Performance of Tearing: time 0.002113/0.4035, allocations: 1.843 MB / 0.6365 GB, free: 4.191 MB / 462.1 MB Notification: Performance of Initialization: time 1.523e-06/0.4035, allocations: 0 / 0.6365 GB, free: 4.191 MB / 462.1 MB Notification: Performance of Tearing: time 0.0009836/0.4045, allocations: 0.9313 MB / 0.6374 GB, free: 3.207 MB / 462.1 MB Notification: Performance of Categorize: time 4.448e-05/0.4046, allocations: 7.938 kB / 0.6374 GB, free: 3.199 MB / 462.1 MB Notification: Performance of Solve: time 0.001727/0.4063, allocations: 0.6931 MB / 0.6381 GB, free: 2.5 MB / 462.1 MB Notification: Performance of Jacobian: time 3.957e-06/0.4063, allocations: 3.938 kB / 0.6381 GB, free: 2.496 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: ........... 98 (scalar:94, 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.0001046/0.4064, allocations: 76.56 kB / 0.6382 GB, free: 2.43 MB / 462.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)