Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 107.2 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.001083/0.001083, allocations: 189.5 kB / 17.35 MB, free: 5.754 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.142/1.142, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001918/0.001918, allocations: 282.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8269/0.8269, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/1.874e-05, allocations: 2.281 kB / 0.682 GB, free: 7 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.3027/0.3027, allocations: 61.17 MB / 0.7418 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.3191, allocations: 11.98 MB / 0.7535 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00188/0.321, allocations: 59.69 kB / 0.7535 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.3225, allocations: 0.6785 MB / 0.7542 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/0.3267, allocations: 1.969 MB / 0.7561 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.3293, allocations: 1.209 MB / 0.7573 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003673/0.333, allocations: 3.561 MB / 0.7608 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.3343, allocations: 1.202 MB / 0.762 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002621/0.3369, allocations: 1.469 MB / 0.7634 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.338, allocations: 0.9108 MB / 0.7643 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.3381, allocations: 114.4 kB / 0.7644 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.3404, allocations: 1.491 MB / 0.7659 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.001407/0.3418, allocations: 2.323 MB / 0.7681 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0007859/0.3426, allocations: 1.513 MB / 0.7696 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.3429, allocations: 259.2 kB / 0.7698 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0003199/0.3432, allocations: 67.73 kB / 0.7699 GB, free: 4.258 MB / 0.5294 GB 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.004658/0.3479, allocations: 6.425 MB / 0.7762 GB, free: 13.64 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0002245/0.3481, allocations: 254.2 kB / 0.7764 GB, free: 13.39 MB / 0.545 GB Notification: Performance of Early Inline: time 0.002573/0.3507, allocations: 3.123 MB / 0.7795 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simplify1: time 0.0001746/0.3509, allocations: 207.8 kB / 0.7797 GB, free: 10.03 MB / 0.545 GB Notification: Performance of Alias: time 0.004962/0.3558, allocations: 5.399 MB / 0.7849 GB, free: 4.199 MB / 0.545 GB Notification: Performance of simplify2: time 0.0001285/0.356, allocations: 151.8 kB / 0.7851 GB, free: 4.051 MB / 0.545 GB Notification: Performance of Events: time 0.0004916/0.3565, allocations: 0.5217 MB / 0.7856 GB, free: 3.523 MB / 0.545 GB Notification: Performance of Detect States: time 0.0004181/0.3569, allocations: 0.5606 MB / 0.7862 GB, free: 2.953 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0007186/0.3576, allocations: 0.8568 MB / 0.787 GB, free: 1.953 MB / 0.545 GB Notification: Performance of Causalize: time 0.002977/0.3606, allocations: 3.169 MB / 0.7901 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.001459/0.3621, allocations: 1.808 MB / 0.7918 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of Inline: time 0.003639/0.3657, allocations: 4.197 MB / 0.7959 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001976/0.3659, allocations: 203.6 kB / 0.7961 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0003061/0.3662, allocations: 403.4 kB / 0.7965 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of Causalize: time 0.01119/0.3774, allocations: 11.38 MB / 0.8076 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of Tearing: time 0.001689/0.3791, allocations: 1.844 MB / 0.8094 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of Initialization: time 6.91e-07/0.3791, allocations: 0 / 0.8094 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of Tearing: time 0.0007802/0.3799, allocations: 0.9265 MB / 0.8103 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of Categorize: time 3.361e-05/0.38, allocations: 11.94 kB / 0.8104 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of Solve: time 0.0009537/0.3809, allocations: 0.6307 MB / 0.811 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of Jacobian: time 4.017e-06/0.3809, allocations: 7.938 kB / 0.811 GB, free: 8.852 MB / 0.5762 GB 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: ................. 26 (26) {$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: ........... 95 (scalar:91, 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: ........... 179 (scalar:174, 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: ........... 179 (scalar:174, 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 7.408e-05/0.381, allocations: 79.94 kB / 0.8111 GB, free: 8.785 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)