Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001126/0.001127, allocations: 111.2 kB / 16.43 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.001072/0.001072, allocations: 185.5 kB / 17.36 MB, free: 5.73 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.157/1.157, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.878/1.878, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.033e-05, allocations: 4.531 kB / 0.9514 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04722/0.04724, allocations: 61.24 MB / 1.011 GB, free: 10.21 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01337/0.06064, allocations: 12 MB / 1.023 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.06225, allocations: 59.62 kB / 1.023 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.06382, allocations: 0.6986 MB / 1.024 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004291/0.06812, allocations: 2.076 MB / 1.026 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.07055, allocations: 1.207 MB / 1.027 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003554/0.07411, allocations: 3.569 MB / 1.03 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.07559, allocations: 1.232 MB / 1.032 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.07799, allocations: 1.456 MB / 1.033 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.07901, allocations: 0.931 MB / 1.034 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.07915, allocations: 120 kB / 1.034 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.08103, allocations: 1.474 MB / 1.035 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001415/0.08245, allocations: 2.373 MB / 1.038 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0007309/0.08319, allocations: 1.534 MB / 1.039 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.08342, allocations: 263.2 kB / 1.04 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.00023/0.08366, allocations: 43.81 kB / 1.04 GB, free: 13.07 MB / 0.8262 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.004397/0.08806, allocations: 6.323 MB / 1.046 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001918/0.08826, allocations: 243.5 kB / 1.046 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.002731/0.091, allocations: 3.494 MB / 1.049 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of simplify1: time 0.0001771/0.09119, allocations: 235.7 kB / 1.05 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of Alias: time 0.004653/0.09585, allocations: 5.335 MB / 1.055 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simplify2: time 0.000145/0.09601, allocations: 179.8 kB / 1.055 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0004713/0.09649, allocations: 0.5155 MB / 1.056 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of Events: time 0.0006049/0.0971, allocations: 0.6302 MB / 1.056 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007417/0.09785, allocations: 0.9077 MB / 1.057 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of Causalize: time 0.00333/0.1012, allocations: 3.59 MB / 1.061 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.00161/0.1028, allocations: 2.115 MB / 1.063 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of Inline: time 0.003877/0.1067, allocations: 4.802 MB / 1.067 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of Partitioning: time 0.0002086/0.1069, allocations: 227.6 kB / 1.067 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of Cleanup: time 0.0003326/0.1072, allocations: 463.3 kB / 1.068 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of Causalize: time 0.01227/0.1195, allocations: 12.67 MB / 1.08 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of Tearing: time 0.3784/0.4979, allocations: 3.959 MB / 1.084 GB, free: 64.36 MB / 0.8575 GB Notification: Performance of Initialization: time 1.473e-06/0.4979, allocations: 0.9688 kB / 1.084 GB, free: 64.36 MB / 0.8575 GB Notification: Performance of Tearing: time 0.001852/0.4998, allocations: 1.957 MB / 1.086 GB, free: 64.02 MB / 0.8575 GB Notification: Performance of Categorize: time 3.974e-05/0.4999, allocations: 7.5 kB / 1.086 GB, free: 64.02 MB / 0.8575 GB Notification: Performance of Solve: time 0.001432/0.5013, allocations: 0.701 MB / 1.087 GB, free: 63.98 MB / 0.8575 GB Notification: Performance of Jacobian: time 3.317e-06/0.5013, allocations: 1.688 kB / 1.087 GB, free: 63.98 MB / 0.8575 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: ........... 195 (scalar:190, 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: ........... 195 (scalar:190, 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.223e-05/0.5014, allocations: 85.38 kB / 1.087 GB, free: 63.96 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_22)