Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Validation.Carnot_TEva_reverseFlow,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_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,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_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 110.5 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.001055/0.001055, allocations: 183.2 kB / 17.35 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.142/1.142, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.233/2.233, allocations: 469.8 MB / 0.7431 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011e-05/1.012e-05, allocations: 2.281 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.4246/0.4246, allocations: 61.22 MB / 1.126 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.4393, allocations: 12 MB / 1.137 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.4407, allocations: 61.78 kB / 1.137 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.4422, allocations: 0.702 MB / 1.138 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004101/0.4463, allocations: 2.081 MB / 1.14 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.4489, allocations: 1.204 MB / 1.141 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003564/0.4525, allocations: 3.561 MB / 1.145 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.4537, allocations: 0.936 MB / 1.146 GB, free: 2.781 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.4561, allocations: 1.456 MB / 1.147 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.4572, allocations: 0.9435 MB / 1.148 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001723/0.4574, allocations: 118.7 kB / 1.148 GB, free: 1.641 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.4599, allocations: 1.469 MB / 1.15 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of combineBinaries: time 0.001645/0.4616, allocations: 2.37 MB / 1.152 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.0008419/0.4625, allocations: 1.535 MB / 1.153 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.4627, allocations: 260.3 kB / 1.154 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.0002785/0.463, allocations: 44.8 kB / 1.154 GB, free: 14.39 MB / 0.8887 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.003856/0.4669, allocations: 4.693 MB / 1.158 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of FunctionAlias: time 0.0002181/0.4671, allocations: 238.9 kB / 1.158 GB, free: 10.96 MB / 0.8887 GB Notification: Performance of Early Inline: time 0.002494/0.4696, allocations: 2.545 MB / 1.161 GB, free: 9.363 MB / 0.8887 GB Notification: Performance of simplify1: time 0.0004155/0.47, allocations: 355.4 kB / 1.161 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of Alias: time 0.00358/0.4736, allocations: 3.174 MB / 1.164 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of simplify2: time 0.0002573/0.4739, allocations: 267 kB / 1.165 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of Detect States: time 0.0003451/0.4742, allocations: 407.7 kB / 1.165 GB, free: 6.805 MB / 0.8887 GB Notification: Performance of Events: time 0.0005491/0.4748, allocations: 482 kB / 1.165 GB, free: 6.508 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0006042/0.4754, allocations: 0.6304 MB / 1.166 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of Causalize: time 0.002799/0.4782, allocations: 2.558 MB / 1.169 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of After Index Reduction Inline: time 0.001342/0.4796, allocations: 1.466 MB / 1.17 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of Inline: time 0.003559/0.4831, allocations: 3.596 MB / 1.174 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of Partitioning: time 0.0001341/0.4833, allocations: 73.02 kB / 1.174 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of Cleanup: time 0.0006413/0.4839, allocations: 0.8438 MB / 1.174 GB, free: 300 kB / 0.8887 GB Notification: Performance of Causalize: time 0.009713/0.4936, allocations: 8.116 MB / 1.182 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of Tearing: time 0.002893/0.4965, allocations: 2.719 MB / 1.185 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of Initialization: time 1.222e-06/0.4965, allocations: 2.469 kB / 1.185 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of Tearing: time 0.001319/0.4979, allocations: 1.313 MB / 1.186 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of Categorize: time 2.293e-05/0.4979, allocations: 9.594 kB / 1.186 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of Solve: time 0.0009181/0.4988, allocations: 0.5478 MB / 1.187 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of Jacobian: time 4.147e-06/0.4988, allocations: 3.938 kB / 1.187 GB, free: 10.53 MB / 0.9044 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: ......... 11 * 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: ................. 33 (33) {$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: ........... 102 (scalar:98, 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: ........... 188 (scalar:183, 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: ........... 188 (scalar:183, 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 7.296e-05/0.4989, allocations: 83.5 kB / 1.187 GB, free: 10.46 MB / 0.9044 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_22)