Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001154/0.001154, 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.001111/0.001111, allocations: 190.6 kB / 17.36 MB, free: 5.734 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.17/1.17, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.21/1.21, allocations: 251.7 MB / 0.51 GB, free: 420 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.638e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3632/0.3632, allocations: 61.23 MB / 0.7862 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01358/0.3768, allocations: 11.87 MB / 0.7978 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.3789, allocations: 55.72 kB / 0.7978 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.3806, allocations: 0.6758 MB / 0.7985 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005406/0.386, allocations: 1.954 MB / 0.8004 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002963/0.389, allocations: 1.23 MB / 0.8016 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004269/0.3932, allocations: 3.529 MB / 0.805 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.3948, allocations: 1.245 MB / 0.8063 GB, free: 16 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003119/0.398, allocations: 1.414 MB / 0.8076 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.3993, allocations: 0.9777 MB / 0.8086 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001564/0.3995, allocations: 118.3 kB / 0.8087 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.4022, allocations: 1.446 MB / 0.8101 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.001695/0.4039, allocations: 2.357 MB / 0.8124 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.0009176/0.4048, allocations: 1.517 MB / 0.8139 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003703/0.4052, allocations: 260.6 kB / 0.8142 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0003366/0.4055, allocations: 58.12 kB / 0.8142 GB, free: 11.68 MB / 0.6075 GB 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.005314/0.4108, allocations: 6.266 MB / 0.8203 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.0002668/0.4111, allocations: 250.1 kB / 0.8206 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.003207/0.4143, allocations: 3.51 MB / 0.824 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simplify1: time 0.0002713/0.4146, allocations: 234.7 kB / 0.8242 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of Alias: time 0.004993/0.4196, allocations: 4.869 MB / 0.829 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simplify2: time 0.000187/0.4198, allocations: 179.5 kB / 0.8291 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of Events: time 0.0006879/0.4205, allocations: 0.6354 MB / 0.8298 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of Detect States: time 0.0005635/0.4211, allocations: 0.6291 MB / 0.8304 GB, free: 272 kB / 0.6075 GB Notification: Performance of Partitioning: time 0.0008934/0.422, allocations: 0.9248 MB / 0.8313 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of Causalize: time 0.004505/0.4265, allocations: 5.317 MB / 0.8365 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of After Index Reduction Inline: time 0.001866/0.4284, allocations: 2.135 MB / 0.8386 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of Inline: time 0.004624/0.433, allocations: 4.797 MB / 0.8432 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0002375/0.4333, allocations: 231.5 kB / 0.8435 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of Cleanup: time 0.0003991/0.4337, allocations: 455.4 kB / 0.8439 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of Causalize: time 0.0146/0.4483, allocations: 17.45 MB / 0.8609 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of Tearing: time 0.002312/0.4506, allocations: 2.188 MB / 0.8631 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of Initialization: time 2.234e-06/0.4506, allocations: 4 kB / 0.8631 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of Tearing: time 0.001002/0.4516, allocations: 1.1 MB / 0.8642 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of Categorize: time 2.882e-05/0.4517, allocations: 7.938 kB / 0.8642 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of Solve: time 0.001097/0.4528, allocations: 0.6661 MB / 0.8648 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of Jacobian: time 2.846e-06/0.4528, allocations: 0 / 0.8648 GB, free: 1.238 MB / 0.6387 GB 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: ........... 193 (scalar:188, 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: ........... 193 (scalar:188, 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 9.27e-05/0.4529, allocations: 93.12 kB / 0.8649 GB, free: 1.16 MB / 0.6387 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_14)