Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001285/0.001285, allocations: 107.9 kB / 16.42 MB, free: 6.492 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.001193/0.001193, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.301/1.301, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2656/0.2656, allocations: 54.96 MB / 325.6 MB, free: 4.852 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.154e-05, allocations: 3.266 kB / 456.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05456/0.05459, allocations: 60.5 MB / 0.5052 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01482/0.06944, allocations: 11.22 MB / 0.5162 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.07134, allocations: 51.69 kB / 0.5162 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001773/0.07313, allocations: 0.7337 MB / 0.5169 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.07795, allocations: 1.931 MB / 0.5188 GB, free: 8 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.08049, allocations: 1.016 MB / 0.5198 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004199/0.0847, allocations: 3.509 MB / 0.5232 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001455/0.08616, allocations: 1.178 MB / 0.5244 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.08916, allocations: 1.532 MB / 0.5259 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2112/0.3004, allocations: 1.009 MB / 0.5269 GB, free: 26.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000599/0.301, allocations: 117 kB / 0.527 GB, free: 26.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/0.3046, allocations: 1.268 MB / 0.5282 GB, free: 26.52 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.002576/0.3072, allocations: 2.414 MB / 0.5306 GB, free: 25.77 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008975/0.3081, allocations: 1.574 MB / 0.5321 GB, free: 24.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005049/0.3086, allocations: 271.4 kB / 0.5324 GB, free: 24.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0003932/0.309, allocations: 42.67 kB / 0.5324 GB, free: 24.75 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.005686/0.3147, allocations: 6.578 MB / 0.5388 GB, free: 22.27 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0003928/0.3151, allocations: 463 kB / 0.5393 GB, free: 22.22 MB / 414.1 MB Notification: Performance of Early Inline: time 0.003491/0.3186, allocations: 3.39 MB / 0.5426 GB, free: 22.01 MB / 414.1 MB Notification: Performance of simplify1: time 0.000288/0.3189, allocations: 235.9 kB / 0.5428 GB, free: 22.01 MB / 414.1 MB Notification: Performance of Alias: time 0.005503/0.3244, allocations: 5.379 MB / 0.5481 GB, free: 20.42 MB / 414.1 MB Notification: Performance of simplify2: time 0.0002818/0.3247, allocations: 171.9 kB / 0.5482 GB, free: 20.41 MB / 414.1 MB Notification: Performance of Events: time 0.0008138/0.3255, allocations: 0.6604 MB / 0.5489 GB, free: 20.24 MB / 414.1 MB Notification: Performance of Detect States: time 0.0006667/0.3262, allocations: 0.6602 MB / 0.5495 GB, free: 20.17 MB / 414.1 MB Notification: Performance of Partitioning: time 0.001447/0.3276, allocations: 1.048 MB / 0.5505 GB, free: 19.66 MB / 414.1 MB Notification: Performance of Causalize: time 0.005605/0.3333, allocations: 5.429 MB / 0.5558 GB, free: 18.64 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.002137/0.3354, allocations: 2.564 MB / 0.5584 GB, free: 17.45 MB / 414.1 MB Notification: Performance of Inline: time 0.004219/0.3396, allocations: 5.003 MB / 0.5632 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0002197/0.3399, allocations: 238.4 kB / 0.5635 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0003756/0.3403, allocations: 476.9 kB / 0.5639 GB, free: 14.01 MB / 414.1 MB Notification: Performance of Causalize: time 0.01252/0.3528, allocations: 18.05 MB / 0.5815 GB, free: 4.719 MB / 414.1 MB Notification: Performance of Tearing: time 0.001431/0.3543, allocations: 1.816 MB / 0.5833 GB, free: 2.965 MB / 414.1 MB Notification: Performance of Initialization: time 1.172e-06/0.3543, allocations: 0 / 0.5833 GB, free: 2.965 MB / 414.1 MB Notification: Performance of Tearing: time 0.0006748/0.355, allocations: 0.9153 MB / 0.5842 GB, free: 2.082 MB / 414.1 MB Notification: Performance of Categorize: time 4.428e-05/0.355, allocations: 11.94 kB / 0.5842 GB, free: 2.07 MB / 414.1 MB Notification: Performance of Solve: time 0.001197/0.3562, allocations: 0.7648 MB / 0.585 GB, free: 1.43 MB / 414.1 MB Notification: Performance of Jacobian: time 5.47e-06/0.3562, allocations: 4 kB / 0.585 GB, free: 1.426 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: ........... 115 (scalar:109, 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: ........... 213 (scalar:206, 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: ........... 213 (scalar:206, 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 7.815e-05/0.3563, allocations: 94.45 kB / 0.5851 GB, free: 1.348 MB / 414.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent(if $SEV_14 then $SEV_15 else $SEV_16)