Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001117/0.001117, allocations: 110.5 kB / 16.42 MB, free: 6.035 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.001063/0.001063, allocations: 186.1 kB / 17.36 MB, free: 5.621 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.143/1.143, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.9/1.9, allocations: 390.2 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.575e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04756/0.04758, allocations: 61.21 MB / 1.011 GB, free: 10.33 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.06111, allocations: 11.99 MB / 1.023 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.06255, allocations: 63.56 kB / 1.023 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.06441, allocations: 0.6948 MB / 1.024 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.004184/0.06861, allocations: 2.064 MB / 1.026 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.07095, allocations: 1.221 MB / 1.027 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.07419, allocations: 3.561 MB / 1.03 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.07541, allocations: 1.197 MB / 1.032 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.07761, allocations: 1.452 MB / 1.033 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009198/0.07854, allocations: 0.914 MB / 1.034 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.07868, allocations: 123.9 kB / 1.034 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.08069, allocations: 1.466 MB / 1.035 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of combineBinaries: time 0.001384/0.08208, allocations: 2.319 MB / 1.038 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0007534/0.08284, allocations: 1.522 MB / 1.039 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.0831, allocations: 259.2 kB / 1.039 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of FrontEnd: time 0.0002571/0.08336, allocations: 47.81 kB / 1.039 GB, free: 13.32 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: 192 (180) * Number of variables: 192 (189) Notification: Performance of Bindings: time 0.00466/0.08803, allocations: 6.532 MB / 1.046 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 0.0001936/0.08823, allocations: 235.6 kB / 1.046 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.002567/0.0908, allocations: 3.225 MB / 1.049 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simplify1: time 0.0001755/0.09099, allocations: 219.7 kB / 1.049 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of Alias: time 0.004761/0.09575, allocations: 5.279 MB / 1.055 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simplify2: time 0.0001307/0.0959, allocations: 151.8 kB / 1.055 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0003633/0.09627, allocations: 493.7 kB / 1.055 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of Events: time 0.0005161/0.09679, allocations: 0.5553 MB / 1.056 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0007135/0.09751, allocations: 0.8683 MB / 1.057 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002961/0.1005, allocations: 3.212 MB / 1.06 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.001499/0.102, allocations: 1.902 MB / 1.062 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of Inline: time 0.003614/0.1056, allocations: 4.351 MB / 1.066 GB, free: 1.266 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001965/0.1058, allocations: 203.6 kB / 1.066 GB, free: 1.051 MB / 0.8419 GB Notification: Performance of Cleanup: time 0.0003061/0.1061, allocations: 427.4 kB / 1.066 GB, free: 0.625 MB / 0.8419 GB Notification: Performance of Causalize: time 0.01104/0.1172, allocations: 11.52 MB / 1.078 GB, free: 5 MB / 0.8575 GB Notification: Performance of Tearing: time 0.003058/0.1202, allocations: 3.231 MB / 1.081 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of Initialization: time 5.82e-07/0.1203, allocations: 0 / 1.081 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of Tearing: time 0.001485/0.1218, allocations: 1.583 MB / 1.082 GB, free: 60 kB / 0.8575 GB Notification: Performance of Categorize: time 2.934e-05/0.1218, allocations: 7.938 kB / 1.082 GB, free: 52 kB / 0.8575 GB Notification: Performance of Solve: time 0.3808/0.5026, allocations: 0.6747 MB / 1.083 GB, free: 64.42 MB / 0.8575 GB Notification: Performance of Jacobian: time 6.573e-06/0.5026, allocations: 1.422 kB / 1.083 GB, free: 64.42 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: ........... 181 (scalar:176, 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: ........... 181 (scalar:176, 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.087e-05/0.5027, allocations: 72.17 kB / 1.083 GB, free: 64.41 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: noEvent($SEV_21)