Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001025/0.001025, allocations: 108.7 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.001025/0.001025, allocations: 183.2 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2545/0.2545, allocations: 54.97 MB / 325.5 MB, free: 4.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.492e-05, allocations: 6.219 kB / 456.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05506/0.05509, allocations: 60.48 MB / 0.5052 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01489/0.07003, allocations: 11.22 MB / 0.5161 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001693/0.07177, allocations: 55.69 kB / 0.5162 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.07358, allocations: 0.7337 MB / 0.5169 GB, free: 9.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004541/0.07823, allocations: 1.924 MB / 0.5188 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.08062, allocations: 1.023 MB / 0.5198 GB, free: 7.016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003872/0.0845, allocations: 3.509 MB / 0.5232 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.08591, allocations: 1.167 MB / 0.5243 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002997/0.08891, allocations: 1.545 MB / 0.5259 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2203/0.3092, allocations: 1.009 MB / 0.5268 GB, free: 26.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004687/0.3097, allocations: 117.1 kB / 0.527 GB, free: 26.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.3128, allocations: 1.25 MB / 0.5282 GB, free: 26.67 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.001993/0.3148, allocations: 2.413 MB / 0.5305 GB, free: 25.92 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008983/0.3157, allocations: 1.563 MB / 0.5321 GB, free: 24.96 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.3162, allocations: 277.8 kB / 0.5323 GB, free: 24.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0004101/0.3166, allocations: 41.06 kB / 0.5324 GB, free: 24.91 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 (206) * Number of variables: 218 (215) Notification: Performance of Bindings: time 0.005605/0.3222, allocations: 6.575 MB / 0.5388 GB, free: 22.43 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0002757/0.3225, allocations: 250.9 kB / 0.539 GB, free: 22.41 MB / 414.1 MB Notification: Performance of Early Inline: time 0.00339/0.3259, allocations: 3.385 MB / 0.5423 GB, free: 22.21 MB / 414.1 MB Notification: Performance of simplify1: time 0.00027/0.3262, allocations: 232.9 kB / 0.5425 GB, free: 22.2 MB / 414.1 MB Notification: Performance of Alias: time 0.005275/0.3315, allocations: 5.365 MB / 0.5478 GB, free: 20.62 MB / 414.1 MB Notification: Performance of simplify2: time 0.0002001/0.3317, allocations: 163.9 kB / 0.5479 GB, free: 20.61 MB / 414.1 MB Notification: Performance of Events: time 0.0006988/0.3324, allocations: 0.6777 MB / 0.5486 GB, free: 20.43 MB / 414.1 MB Notification: Performance of Detect States: time 0.0005842/0.333, allocations: 0.6446 MB / 0.5492 GB, free: 20.36 MB / 414.1 MB Notification: Performance of Partitioning: time 0.001172/0.3342, allocations: 1.044 MB / 0.5503 GB, free: 19.86 MB / 414.1 MB Notification: Performance of Causalize: time 0.004795/0.339, allocations: 5.404 MB / 0.5555 GB, free: 18.84 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.001944/0.3409, allocations: 2.547 MB / 0.558 GB, free: 17.71 MB / 414.1 MB Notification: Performance of Inline: time 0.003768/0.3447, allocations: 4.981 MB / 0.5629 GB, free: 14.71 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0002086/0.3449, allocations: 245.9 kB / 0.5631 GB, free: 14.56 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0003396/0.3453, allocations: 476.8 kB / 0.5636 GB, free: 14.27 MB / 414.1 MB Notification: Performance of Causalize: time 0.01175/0.357, allocations: 17.97 MB / 0.5811 GB, free: 5.141 MB / 414.1 MB Notification: Performance of Tearing: time 0.001332/0.3584, allocations: 1.821 MB / 0.5829 GB, free: 3.383 MB / 414.1 MB Notification: Performance of Initialization: time 1.403e-06/0.3584, allocations: 3.469 kB / 0.5829 GB, free: 3.383 MB / 414.1 MB Notification: Performance of Tearing: time 0.0006938/0.3591, allocations: 0.9132 MB / 0.5838 GB, free: 2.5 MB / 414.1 MB Notification: Performance of Categorize: time 6.013e-05/0.3592, allocations: 7.938 kB / 0.5838 GB, free: 2.492 MB / 414.1 MB Notification: Performance of Solve: time 0.001293/0.3605, allocations: 0.7664 MB / 0.5846 GB, free: 1.852 MB / 414.1 MB Notification: Performance of Jacobian: time 4.068e-06/0.3605, allocations: 0 / 0.5846 GB, free: 1.852 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 12 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 16 * 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: ................. 37 (37) {$SEV_34, $SEV_33, $SEV_32, $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: ........... 114 (scalar:108, array:6, 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: ........... 212 (scalar:205, array:7, 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: ........... 212 (scalar:205, array:7, 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.0001044/0.3606, allocations: 103 kB / 0.5847 GB, free: 1.77 MB / 414.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent(if $SEV_14 then $SEV_15 else $SEV_16)