Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 104.6 kB / 16.42 MB, free: 5.957 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.001298/0.001298, allocations: 185.5 kB / 17.36 MB, free: 5.574 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.314/1.314, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.281/1.281, allocations: 251.7 MB / 0.51 GB, free: 404 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.584e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.362/0.362, allocations: 61.2 MB / 0.7861 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01441/0.3765, allocations: 11.86 MB / 0.7977 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.3784, allocations: 55.44 kB / 0.7978 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.38, allocations: 0.6798 MB / 0.7984 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004764/0.3848, allocations: 1.954 MB / 0.8003 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003093/0.3879, allocations: 1.232 MB / 0.8016 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004122/0.3921, allocations: 3.516 MB / 0.805 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.3938, allocations: 1.213 MB / 0.8062 GB, free: 2.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003147/0.397, allocations: 1.437 MB / 0.8076 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.3988, allocations: 0.9562 MB / 0.8085 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004241/0.3993, allocations: 120.2 kB / 0.8086 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.4029, allocations: 1.45 MB / 0.81 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.003159/0.4061, allocations: 2.343 MB / 0.8123 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.001726/0.4078, allocations: 1.512 MB / 0.8138 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000649/0.4085, allocations: 261 kB / 0.8141 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.000473/0.4089, allocations: 49.53 kB / 0.8141 GB, free: 14.54 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: 192 (180) * Number of variables: 192 (189) Notification: Performance of Bindings: time 0.006063/0.415, allocations: 6.208 MB / 0.8202 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FunctionAlias: time 0.0002908/0.4153, allocations: 251.7 kB / 0.8204 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Early Inline: time 0.003298/0.4186, allocations: 3.288 MB / 0.8236 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of simplify1: time 0.0002339/0.4189, allocations: 223.4 kB / 0.8238 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of Alias: time 0.005058/0.4239, allocations: 4.904 MB / 0.8286 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simplify2: time 0.0001916/0.4241, allocations: 162.8 kB / 0.8288 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of Events: time 0.0006396/0.4248, allocations: 0.5873 MB / 0.8293 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of Detect States: time 0.0005302/0.4253, allocations: 0.5865 MB / 0.8299 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of Partitioning: time 0.0008219/0.4262, allocations: 0.8742 MB / 0.8308 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of Causalize: time 0.004175/0.4303, allocations: 4.898 MB / 0.8356 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of After Index Reduction Inline: time 0.002007/0.4324, allocations: 1.968 MB / 0.8375 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of Inline: time 0.00574/0.4381, allocations: 4.429 MB / 0.8418 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of Partitioning: time 0.0002775/0.4384, allocations: 211.6 kB / 0.842 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of Cleanup: time 0.0007677/0.4392, allocations: 427.4 kB / 0.8424 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of Causalize: time 0.01392/0.4531, allocations: 16.17 MB / 0.8582 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of Tearing: time 0.001844/0.455, allocations: 1.846 MB / 0.86 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of Initialization: time 8.82e-07/0.455, allocations: 0 / 0.86 GB, free: 7.988 MB / 0.6387 GB Notification: Performance of Tearing: time 0.0008621/0.4559, allocations: 0.9193 MB / 0.8609 GB, free: 7.016 MB / 0.6387 GB Notification: Performance of Categorize: time 3.251e-05/0.4559, allocations: 4 kB / 0.8609 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of Solve: time 0.001339/0.4573, allocations: 0.6583 MB / 0.8615 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of Jacobian: time 4.237e-06/0.4573, allocations: 0 / 0.8615 GB, free: 6.348 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: ................. 32 (32) {$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: ........... 101 (scalar:97, 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: ........... 185 (scalar:180, 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: ........... 185 (scalar:180, 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.0001263/0.4574, allocations: 97.62 kB / 0.8616 GB, free: 6.262 MB / 0.6387 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)