Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva") translateModel(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001053/0.001053, allocations: 111.8 kB / 16.42 MB, free: 6.52 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.001034/0.001034, allocations: 183.1 kB / 17.35 MB, free: 5.723 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002238/0.002238, allocations: 289.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9375/0.9375, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.262e-05, allocations: 5.234 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva): time 0.4679/0.468, allocations: 61.13 MB / 0.7417 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.4908, allocations: 11.98 MB / 0.7534 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003968/0.4948, allocations: 60.34 kB / 0.7535 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002962/0.4978, allocations: 0.6992 MB / 0.7542 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008592/0.5064, allocations: 2.067 MB / 0.7562 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004654/0.5112, allocations: 1.223 MB / 0.7574 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007548/0.5187, allocations: 3.564 MB / 0.7609 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002834/0.5216, allocations: 1.198 MB / 0.762 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005041/0.5266, allocations: 1.465 MB / 0.7635 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002961/0.5296, allocations: 0.9144 MB / 0.7643 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006334/0.5303, allocations: 114.6 kB / 0.7645 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005209/0.5355, allocations: 1.469 MB / 0.7659 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.004161/0.5397, allocations: 2.328 MB / 0.7682 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.002123/0.5418, allocations: 1.522 MB / 0.7696 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.543, allocations: 259.2 kB / 0.7699 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of FrontEnd: time 0.000804/0.5438, allocations: 63.8 kB / 0.77 GB, free: 4.324 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.009792/0.5536, allocations: 6.519 MB / 0.7763 GB, free: 13.61 MB / 0.545 GB Notification: Performance of FunctionAlias: time 0.0005267/0.5541, allocations: 227.7 kB / 0.7765 GB, free: 13.39 MB / 0.545 GB Notification: Performance of Early Inline: time 0.00497/0.5591, allocations: 3.236 MB / 0.7797 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simplify1: time 0.0005231/0.5597, allocations: 215.8 kB / 0.7799 GB, free: 9.902 MB / 0.545 GB Notification: Performance of Alias: time 0.006945/0.5666, allocations: 5.289 MB / 0.7851 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simplify2: time 0.0003363/0.567, allocations: 155.8 kB / 0.7852 GB, free: 4.039 MB / 0.545 GB Notification: Performance of Detect States: time 0.0004887/0.5675, allocations: 492.1 kB / 0.7857 GB, free: 3.543 MB / 0.545 GB Notification: Performance of Events: time 0.0007001/0.5682, allocations: 0.5461 MB / 0.7862 GB, free: 2.992 MB / 0.545 GB Notification: Performance of Partitioning: time 0.001149/0.5694, allocations: 0.8645 MB / 0.7871 GB, free: 1.992 MB / 0.545 GB Notification: Performance of Causalize: time 0.003571/0.573, allocations: 3.221 MB / 0.7902 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.001888/0.5749, allocations: 1.902 MB / 0.7921 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of Inline: time 0.004893/0.5798, allocations: 4.311 MB / 0.7963 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0002486/0.58, allocations: 203.6 kB / 0.7965 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of Cleanup: time 0.0004058/0.5804, allocations: 419.4 kB / 0.7969 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of Causalize: time 0.01352/0.594, allocations: 11.26 MB / 0.8079 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of Tearing: time 0.003812/0.5978, allocations: 3.234 MB / 0.811 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of Initialization: time 2.625e-06/0.5979, allocations: 4 kB / 0.811 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of Tearing: time 0.001817/0.5997, allocations: 1.576 MB / 0.8126 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of Categorize: time 5.089e-05/0.5998, allocations: 4 kB / 0.8126 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of Solve: time 0.001827/0.6016, allocations: 0.6813 MB / 0.8132 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of Jacobian: time 4.118e-06/0.6016, allocations: 0 / 0.8132 GB, free: 6.684 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: ......... 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: ................. 28 (28) {$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: ........... 97 (scalar:93, 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: ........... 174 (scalar:169, 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: ........... 174 (scalar:169, 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.0001164/0.6017, allocations: 77.41 kB / 0.8133 GB, free: 6.621 MB / 0.5762 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)