Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001297/0.001297, allocations: 104.2 kB / 16.38 MB, free: 6.5 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.001057/0.001057, allocations: 190.5 kB / 17.31 MB, free: 5.809 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8692/0.8692, allocations: 132.2 MB / 423.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.407e-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_reverseFlow): time 0.3407/0.3408, allocations: 61.17 MB / 0.5629 GB, free: 37.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01553/0.3563, allocations: 11.99 MB / 0.5746 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003026/0.3594, allocations: 58.72 kB / 0.5746 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.3616, allocations: 0.6791 MB / 0.5753 GB, free: 32.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006127/0.3678, allocations: 1.964 MB / 0.5772 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.371, allocations: 1.208 MB / 0.5784 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005166/0.3762, allocations: 3.553 MB / 0.5819 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.3782, allocations: 1.249 MB / 0.5831 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/0.3818, allocations: 1.44 MB / 0.5845 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.3834, allocations: 0.9714 MB / 0.5854 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.3836, allocations: 119.2 kB / 0.5855 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.3867, allocations: 1.465 MB / 0.587 GB, free: 28.58 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.00183/0.3885, allocations: 2.363 MB / 0.5893 GB, free: 27.05 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009476/0.3895, allocations: 1.512 MB / 0.5908 GB, free: 26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004951/0.39, allocations: 260.3 kB / 0.591 GB, free: 25.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.0004041/0.3904, allocations: 59.5 kB / 0.5911 GB, free: 25.85 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: 194 (182) * Number of variables: 194 (191) Notification: Performance of Bindings: time 0.005517/0.3959, allocations: 6.381 MB / 0.5973 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0002852/0.3962, allocations: 242 kB / 0.5975 GB, free: 21.45 MB / 446.1 MB Notification: Performance of Early Inline: time 0.003323/0.3996, allocations: 3.502 MB / 0.601 GB, free: 19.31 MB / 446.1 MB Notification: Performance of simplify1: time 0.0002607/0.3998, allocations: 231.8 kB / 0.6012 GB, free: 19.21 MB / 446.1 MB Notification: Performance of Alias: time 0.004497/0.4043, allocations: 4.761 MB / 0.6058 GB, free: 16.29 MB / 446.1 MB Notification: Performance of simplify2: time 0.0002029/0.4046, allocations: 180.5 kB / 0.606 GB, free: 16.22 MB / 446.1 MB Notification: Performance of Events: time 0.0006365/0.4052, allocations: 0.6315 MB / 0.6066 GB, free: 15.84 MB / 446.1 MB Notification: Performance of Detect States: time 0.0004894/0.4057, allocations: 0.6307 MB / 0.6072 GB, free: 15.43 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0007804/0.4065, allocations: 0.9299 MB / 0.6081 GB, free: 14.78 MB / 446.1 MB Notification: Performance of Causalize: time 0.003953/0.4105, allocations: 5.264 MB / 0.6133 GB, free: 10.1 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.00167/0.4121, allocations: 2.126 MB / 0.6154 GB, free: 8.211 MB / 446.1 MB Notification: Performance of Inline: time 0.003863/0.416, allocations: 4.644 MB / 0.6199 GB, free: 4.129 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002168/0.4162, allocations: 227.6 kB / 0.6201 GB, free: 3.891 MB / 446.1 MB Notification: Performance of Cleanup: time 0.0003951/0.4166, allocations: 454.9 kB / 0.6205 GB, free: 3.531 MB / 446.1 MB Notification: Performance of Causalize: time 0.01566/0.4323, allocations: 17.65 MB / 0.6378 GB, free: 3.211 MB / 462.1 MB Notification: Performance of Tearing: time 0.002429/0.4348, allocations: 2.193 MB / 0.6399 GB, free: 0.918 MB / 462.1 MB Notification: Performance of Initialization: time 1.432e-06/0.4348, allocations: 4 kB / 0.6399 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of Tearing: time 0.001169/0.436, allocations: 1.098 MB / 0.641 GB, free: 15.76 MB / 478.1 MB Notification: Performance of Categorize: time 3.469e-05/0.436, allocations: 7.938 kB / 0.641 GB, free: 15.75 MB / 478.1 MB Notification: Performance of Solve: time 0.001649/0.4377, allocations: 0.7168 MB / 0.6417 GB, free: 15.03 MB / 478.1 MB Notification: Performance of Jacobian: time 4.218e-06/0.4377, allocations: 0 / 0.6417 GB, free: 15.03 MB / 478.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 12 * 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: ................. 34 (34) {$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: ........... 103 (scalar:99, 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: ........... 198 (scalar:193, 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: ........... 198 (scalar:193, 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.0001176/0.4378, allocations: 88.8 kB / 0.6418 GB, free: 14.96 MB / 478.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)