Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_10_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.001157/0.001157, allocations: 110.3 kB / 16.42 MB, free: 6.477 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.001047/0.001047, allocations: 190 kB / 17.36 MB, free: 5.703 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.141/1.141, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.095/2.095, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.271e-05, allocations: 6.438 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.455/0.455, allocations: 61.2 MB / 1.079 GB, free: 26.31 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01275/0.4678, allocations: 11.99 MB / 1.091 GB, free: 26.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.4695, allocations: 59.44 kB / 1.091 GB, free: 26.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.4711, allocations: 0.6991 MB / 1.091 GB, free: 26.13 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.4759, allocations: 2.069 MB / 1.093 GB, free: 26.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.4788, allocations: 1.205 MB / 1.095 GB, free: 25.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004543/0.4834, allocations: 3.571 MB / 1.098 GB, free: 25.2 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.4851, allocations: 1.194 MB / 1.099 GB, free: 24.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.488, allocations: 1.47 MB / 1.101 GB, free: 24.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.4897, allocations: 0.911 MB / 1.102 GB, free: 23.67 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003125/0.4901, allocations: 117.2 kB / 1.102 GB, free: 23.67 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.4932, allocations: 1.474 MB / 1.103 GB, free: 23.23 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.00219/0.4954, allocations: 2.319 MB / 1.105 GB, free: 21.77 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.001096/0.4965, allocations: 1.516 MB / 1.107 GB, free: 20.73 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.497, allocations: 260.8 kB / 1.107 GB, free: 20.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 0.0002885/0.4973, allocations: 52.44 kB / 1.107 GB, free: 20.57 MB / 0.8419 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.005451/0.5027, allocations: 6.533 MB / 1.113 GB, free: 16.13 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.0003218/0.5031, allocations: 225.3 kB / 1.114 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.003318/0.5064, allocations: 3.241 MB / 1.117 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0003388/0.5067, allocations: 214.6 kB / 1.117 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of Alias: time 0.005073/0.5118, allocations: 5.267 MB / 1.122 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001772/0.512, allocations: 163.3 kB / 1.122 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003739/0.5124, allocations: 496.2 kB / 1.123 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of Events: time 0.0004931/0.5129, allocations: 0.5463 MB / 1.123 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007028/0.5136, allocations: 0.8639 MB / 1.124 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of Causalize: time 0.003202/0.5168, allocations: 3.218 MB / 1.127 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001587/0.5184, allocations: 1.907 MB / 1.129 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of Inline: time 0.004002/0.5224, allocations: 4.311 MB / 1.133 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.000189/0.5226, allocations: 199.5 kB / 1.134 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0003841/0.523, allocations: 421.1 kB / 1.134 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0117/0.5347, allocations: 11.26 MB / 1.145 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of Tearing: time 0.003154/0.5379, allocations: 3.228 MB / 1.148 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of Initialization: time 1.322e-06/0.5379, allocations: 0 / 1.148 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of Tearing: time 0.001534/0.5395, allocations: 1.578 MB / 1.15 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of Categorize: time 3.58e-05/0.5395, allocations: 7.031 kB / 1.15 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of Solve: time 0.001322/0.5408, allocations: 0.673 MB / 1.15 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of Jacobian: time 2.665e-06/0.5408, allocations: 0 / 1.15 GB, free: 13.54 MB / 0.8575 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 8.137e-05/0.5409, allocations: 89.81 kB / 1.15 GB, free: 13.47 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)