Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 105.8 kB / 16.42 MB, free: 6.461 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.0011/0.0011, allocations: 189.9 kB / 17.36 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.263/1.263, 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.2586/0.2586, allocations: 54.96 MB / 325.5 MB, free: 4.859 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.995e-05/2.995e-05, allocations: 7.203 kB / 456.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.0578/0.05784, allocations: 60.5 MB / 0.5052 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01598/0.07386, allocations: 11.23 MB / 0.5162 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.0756, allocations: 47.75 kB / 0.5162 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.07741, allocations: 0.7337 MB / 0.5169 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004512/0.08203, allocations: 1.931 MB / 0.5188 GB, free: 8.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002611/0.08465, allocations: 1.023 MB / 0.5198 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004112/0.08877, allocations: 3.526 MB / 0.5232 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.09021, allocations: 1.205 MB / 0.5244 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.09293, allocations: 1.513 MB / 0.5259 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.228/0.321, allocations: 1.035 MB / 0.5269 GB, free: 26.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005784/0.3216, allocations: 120.2 kB / 0.527 GB, free: 26.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003168/0.3248, allocations: 1.253 MB / 0.5282 GB, free: 26.67 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.003143/0.3279, allocations: 2.429 MB / 0.5306 GB, free: 25.91 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001438/0.3294, allocations: 1.571 MB / 0.5322 GB, free: 24.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008244/0.3302, allocations: 275.9 kB / 0.5324 GB, free: 24.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0003751/0.3306, allocations: 45.2 kB / 0.5325 GB, free: 24.89 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: 220 (208) * Number of variables: 220 (217) Notification: Performance of Bindings: time 0.009675/0.3403, allocations: 6.81 MB / 0.5391 GB, free: 22.36 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0003498/0.3406, allocations: 268.9 kB / 0.5394 GB, free: 22.34 MB / 414.1 MB Notification: Performance of Early Inline: time 0.003623/0.3443, allocations: 3.585 MB / 0.5429 GB, free: 22.13 MB / 414.1 MB Notification: Performance of simplify1: time 0.0002666/0.3446, allocations: 243.3 kB / 0.5431 GB, free: 22.12 MB / 414.1 MB Notification: Performance of Alias: time 0.005539/0.3501, allocations: 5.322 MB / 0.5483 GB, free: 20.62 MB / 414.1 MB Notification: Performance of simplify2: time 0.0002806/0.3504, allocations: 182.4 kB / 0.5485 GB, free: 20.62 MB / 414.1 MB Notification: Performance of Events: time 0.0007368/0.3511, allocations: 0.7011 MB / 0.5492 GB, free: 20.43 MB / 414.1 MB Notification: Performance of Detect States: time 0.0006346/0.3518, allocations: 0.6896 MB / 0.5498 GB, free: 20.36 MB / 414.1 MB Notification: Performance of Partitioning: time 0.001147/0.3529, allocations: 1.074 MB / 0.5509 GB, free: 19.88 MB / 414.1 MB Notification: Performance of Causalize: time 0.004698/0.3577, allocations: 5.745 MB / 0.5565 GB, free: 18.83 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 0.0021/0.3598, allocations: 2.724 MB / 0.5592 GB, free: 17.12 MB / 414.1 MB Notification: Performance of Inline: time 0.004241/0.364, allocations: 5.318 MB / 0.5643 GB, free: 13.91 MB / 414.1 MB Notification: Performance of Partitioning: time 0.0002251/0.3643, allocations: 242.6 kB / 0.5646 GB, free: 13.77 MB / 414.1 MB Notification: Performance of Cleanup: time 0.0003694/0.3646, allocations: 0.5016 MB / 0.5651 GB, free: 13.46 MB / 414.1 MB Notification: Performance of Causalize: time 0.0126/0.3772, allocations: 19.01 MB / 0.5836 GB, free: 2.902 MB / 414.1 MB Notification: Performance of Tearing: time 0.00171/0.379, allocations: 2.19 MB / 0.5858 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of Initialization: time 1.733e-06/0.379, allocations: 0 / 0.5858 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of Tearing: time 0.0009491/0.38, allocations: 1.092 MB / 0.5868 GB, free: 15.78 MB / 430.1 MB Notification: Performance of Categorize: time 4.616e-05/0.38, allocations: 8.875 kB / 0.5868 GB, free: 15.77 MB / 430.1 MB Notification: Performance of Solve: time 0.001498/0.3815, allocations: 0.752 MB / 0.5876 GB, free: 15.14 MB / 430.1 MB Notification: Performance of Jacobian: time 5.05e-06/0.3815, allocations: 4 kB / 0.5876 GB, free: 15.14 MB / 430.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: ......... 15 * 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: ................. 38 (38) {$SEV_35, $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: ........... 218 (scalar:211, 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: ........... 218 (scalar:211, 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 9.517e-05/0.3816, allocations: 97.91 kB / 0.5877 GB, free: 15.05 MB / 430.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent(if $SEV_16 then $SEV_17 else $SEV_18)