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.001289/0.001288, allocations: 105 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.001327/0.001327, allocations: 187.2 kB / 17.35 MB, free: 5.695 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.481/1.481, 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.00216/0.00216, allocations: 288.5 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 1.05/1.05, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.112e-05, allocations: 2.281 kB / 0.682 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.5188/0.5189, allocations: 61.18 MB / 0.7418 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02476/0.5437, allocations: 11.98 MB / 0.7535 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003954/0.5477, allocations: 56.38 kB / 0.7535 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.5505, allocations: 0.7005 MB / 0.7542 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008479/0.559, allocations: 2.077 MB / 0.7563 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004948/0.564, allocations: 1.218 MB / 0.7574 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007635/0.5717, allocations: 3.553 MB / 0.7609 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.574, allocations: 1.21 MB / 0.7621 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004569/0.5786, allocations: 1.471 MB / 0.7635 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.5811, allocations: 0.9091 MB / 0.7644 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002726/0.5814, allocations: 114.2 kB / 0.7645 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004386/0.5858, allocations: 1.491 MB / 0.766 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.003276/0.5891, allocations: 2.315 MB / 0.7682 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.001606/0.5907, allocations: 1.513 MB / 0.7697 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005965/0.5913, allocations: 263.2 kB / 0.77 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.0007319/0.592, allocations: 67.73 kB / 0.77 GB, free: 4.176 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.00697/0.599, allocations: 6.43 MB / 0.7763 GB, free: 13.55 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0003243/0.5993, allocations: 249.9 kB / 0.7766 GB, free: 13.32 MB / 0.545 GB Notification: Performance of Early Inline: time 0.00317/0.6025, allocations: 3.134 MB / 0.7796 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simplify1: time 0.0002501/0.6028, allocations: 207.8 kB / 0.7798 GB, free: 9.941 MB / 0.545 GB Notification: Performance of Alias: time 0.00641/0.6092, allocations: 5.395 MB / 0.7851 GB, free: 4.117 MB / 0.545 GB Notification: Performance of simplify2: time 0.000275/0.6095, allocations: 151.8 kB / 0.7852 GB, free: 3.969 MB / 0.545 GB Notification: Performance of Detect States: time 0.000476/0.61, allocations: 479.3 kB / 0.7857 GB, free: 3.484 MB / 0.545 GB Notification: Performance of Events: time 0.0006088/0.6106, allocations: 0.5318 MB / 0.7862 GB, free: 2.949 MB / 0.545 GB Notification: Performance of Partitioning: time 0.0009004/0.6115, allocations: 0.8607 MB / 0.787 GB, free: 1.945 MB / 0.545 GB Notification: Performance of Causalize: time 0.003613/0.6151, allocations: 3.172 MB / 0.7901 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.001953/0.6171, allocations: 1.801 MB / 0.7919 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of Inline: time 0.004816/0.6219, allocations: 4.157 MB / 0.796 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002452/0.6222, allocations: 199.6 kB / 0.7962 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0004003/0.6226, allocations: 403.4 kB / 0.7965 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of Causalize: time 0.01366/0.6363, allocations: 11.1 MB / 0.8074 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of Tearing: time 0.004011/0.6403, allocations: 3.224 MB / 0.8105 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of Initialization: time 2.064e-06/0.6404, allocations: 0 / 0.8105 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of Tearing: time 0.001935/0.6423, allocations: 1.576 MB / 0.8121 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of Categorize: time 6.99e-05/0.6424, allocations: 15.92 kB / 0.8121 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of Solve: time 0.001847/0.6442, allocations: 0.6423 MB / 0.8127 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of Jacobian: time 5.04e-06/0.6443, allocations: 4 kB / 0.8127 GB, free: 7.152 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 172 (scalar:167, 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: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 172 (scalar:167, 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: 1, nonlinear:0) Notification: Performance of backend: time 0.0001306/0.6444, allocations: 79.88 kB / 0.8128 GB, free: 7.086 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_12)