Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PI1.x|Time|boundary_fore1.rear.m_flow|boundary_rear.fore.m_flow|discretizedHEX.thermalElementA.10..h|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementA.6..h|discretizedHEX.thermalElementA.7..h|discretizedHEX.thermalElementA.8..h|discretizedHEX.thermalElementA.9..h|discretizedHEX.thermalElementB.10..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX.thermalElementB.6..h|discretizedHEX.thermalElementB.7..h|discretizedHEX.thermalElementB.8..h|discretizedHEX.thermalElementB.9..h",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX") translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PI1.x|Time|boundary_fore1.rear.m_flow|boundary_rear.fore.m_flow|discretizedHEX.thermalElementA.10..h|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementA.6..h|discretizedHEX.thermalElementA.7..h|discretizedHEX.thermalElementA.8..h|discretizedHEX.thermalElementA.9..h|discretizedHEX.thermalElementB.10..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX.thermalElementB.6..h|discretizedHEX.thermalElementB.7..h|discretizedHEX.thermalElementB.8..h|discretizedHEX.thermalElementB.9..h",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009565/0.0009566, allocations: 170.2 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.3 MB, free: 13.6 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009648/0.0009646, allocations: 94.23 kB / 270.6 MB, free: 13.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-OM_adaptions/package.mo): time 0.7573/0.7573, allocations: 89.63 MB / 408.5 MB, free: 15.77 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 12 kB / 485.2 MB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 66.01 MB / 0.5383 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 24.75/24.89, allocations: 12.86 GB / 13.4 GB, free: 92.1 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/24.89, allocations: 91.95 kB / 13.4 GB, free: 92.01 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 17/41.89, allocations: 5.183 GB / 18.58 GB, free: 117.9 MB / 0.9015 GB Notification: Performance of FrontEnd: time 3.526e-06/41.89, allocations: 0 / 18.58 GB, free: 117.9 MB / 0.9015 GB Notification: Performance of Transformations before backend: time 0.0007088/41.89, allocations: 148.8 kB / 18.58 GB, free: 117.9 MB / 0.9015 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1646 * Number of variables: 1646 Notification: Performance of Generate backend data structure: time 0.1156/42.01, allocations: 11.5 MB / 18.59 GB, free: 113.1 MB / 0.9015 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/42.01, allocations: 13.84 kB / 18.59 GB, free: 113.1 MB / 0.9015 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007117/42.02, allocations: 1.194 MB / 18.59 GB, free: 112.7 MB / 0.9015 GB Error: Variable init_B in package ThermofluidStream.Undirected.HeatExchangers.DiscretizedCounterFlowHEX$discretizedHEX is not constant. Error: Variable init_A in package ThermofluidStream.Undirected.HeatExchangers.DiscretizedCounterFlowHEX$discretizedHEX is not constant. Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/42.03, allocations: 4.009 MB / 18.6 GB, free: 111.9 MB / 0.9015 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005574/42.03, allocations: 460.2 kB / 18.6 GB, free: 111.9 MB / 0.9015 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002527/42.03, allocations: 0.5853 MB / 18.6 GB, free: 111.9 MB / 0.9015 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/42.05, allocations: 10.89 MB / 18.61 GB, free: 111.2 MB / 0.9015 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001264/42.05, allocations: 6.531 kB / 18.61 GB, free: 111.2 MB / 0.9015 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007732/42.05, allocations: 234.6 kB / 18.61 GB, free: 111.2 MB / 0.9015 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006847/42.05, allocations: 0.4894 MB / 18.61 GB, free: 111.2 MB / 0.9015 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02468/42.08, allocations: 11.94 MB / 18.62 GB, free: 111.1 MB / 0.9015 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07907/42.16, allocations: 44.32 MB / 18.66 GB, free: 88.95 MB / 0.9015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01469/42.17, allocations: 7.962 MB / 18.67 GB, free: 87.02 MB / 0.9015 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01039/42.18, allocations: 5.83 MB / 18.68 GB, free: 82.1 MB / 0.9015 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007001/42.19, allocations: 6.778 MB / 18.68 GB, free: 74.7 MB / 0.9015 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/42.19, allocations: 86.78 kB / 18.68 GB, free: 74.6 MB / 0.9015 GB Notification: Performance of pre-optimization done (n=687): time 1.709e-05/42.19, allocations: 1.781 kB / 18.68 GB, free: 74.6 MB / 0.9015 GB Notification: Performance of matching and sorting (n=687): time 0.04006/42.23, allocations: 18.37 MB / 18.7 GB, free: 58.9 MB / 0.9015 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/42.23, allocations: 159 kB / 18.7 GB, free: 58.71 MB / 0.9015 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005736/42.24, allocations: 2.995 MB / 18.71 GB, free: 56.25 MB / 0.9015 GB Notification: Performance of collectPreVariables (initialization): time 0.001975/42.24, allocations: 122.6 kB / 18.71 GB, free: 56.13 MB / 0.9015 GB Notification: Performance of collectInitialEqns (initialization): time 0.001653/42.24, allocations: 2.127 MB / 18.71 GB, free: 54.23 MB / 0.9015 GB Notification: Performance of collectInitialBindings (initialization): time 0.003771/42.24, allocations: 2.294 MB / 18.71 GB, free: 52.16 MB / 0.9015 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001854/42.25, allocations: 127.9 kB / 18.71 GB, free: 52.04 MB / 0.9015 GB Notification: Performance of setup shared object (initialization): time 0.0008465/42.25, allocations: 0.6004 MB / 18.71 GB, free: 51.52 MB / 0.9015 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009938/42.26, allocations: 5.42 MB / 18.72 GB, free: 47.09 MB / 0.9015 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01131/42.27, allocations: 6.753 MB / 18.72 GB, free: 41 MB / 0.9015 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[10].deltaE_system = $START.discretizedHEX.thermalElementA[10].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[10].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[9].deltaE_system = $START.discretizedHEX.thermalElementA[9].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[9].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[8].deltaE_system = $START.discretizedHEX.thermalElementA[8].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[8].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[7].deltaE_system = $START.discretizedHEX.thermalElementA[7].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[7].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[6].deltaE_system = $START.discretizedHEX.thermalElementA[6].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[6].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[5].deltaE_system = $START.discretizedHEX.thermalElementA[5].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[5].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[4].deltaE_system = $START.discretizedHEX.thermalElementA[4].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[4].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[3].deltaE_system = $START.discretizedHEX.thermalElementA[3].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[2].deltaE_system = $START.discretizedHEX.thermalElementA[2].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[1].deltaE_system = $START.discretizedHEX.thermalElementA[1].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[10].deltaE_system = $START.discretizedHEX.thermalElementB[10].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[10].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[9].deltaE_system = $START.discretizedHEX.thermalElementB[9].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[9].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[8].deltaE_system = $START.discretizedHEX.thermalElementB[8].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[8].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[7].deltaE_system = $START.discretizedHEX.thermalElementB[7].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[7].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[6].deltaE_system = $START.discretizedHEX.thermalElementB[6].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[6].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[5].deltaE_system = $START.discretizedHEX.thermalElementB[5].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[5].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[4].deltaE_system = $START.discretizedHEX.thermalElementB[4].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[4].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[3].deltaE_system = $START.discretizedHEX.thermalElementB[3].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[2].deltaE_system = $START.discretizedHEX.thermalElementB[2].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[1].deltaE_system = $START.discretizedHEX.thermalElementB[1].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[1].deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.02256/42.29, allocations: 14.23 MB / 18.74 GB, free: 27.74 MB / 0.9015 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.438e-05/42.29, allocations: 8 kB / 18.74 GB, free: 27.73 MB / 0.9015 GB Notification: Performance of matching and sorting (n=923) (initialization): time 0.03237/42.32, allocations: 13.85 MB / 18.75 GB, free: 15.96 MB / 0.9015 GB Notification: Performance of prepare postOptimizeDAE: time 0.000678/42.32, allocations: 1.041 MB / 18.75 GB, free: 14.48 MB / 0.9015 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/42.32, allocations: 32 kB / 18.75 GB, free: 14.45 MB / 0.9015 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/42.33, allocations: 0.9006 MB / 18.75 GB, free: 13.7 MB / 0.9015 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007547/42.33, allocations: 1.788 MB / 18.75 GB, free: 12.28 MB / 0.9015 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/42.35, allocations: 20.9 MB / 18.77 GB, free: 7.168 MB / 0.9171 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008598/42.36, allocations: 0.9847 MB / 18.77 GB, free: 6.344 MB / 0.9171 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002777/42.36, allocations: 484.8 kB / 18.78 GB, free: 5.93 MB / 0.9171 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/42.36, allocations: 4 kB / 18.78 GB, free: 5.926 MB / 0.9171 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03303/42.39, allocations: 13.41 MB / 18.79 GB, free: 10.41 MB / 0.9328 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/42.39, allocations: 32 kB / 18.79 GB, free: 10.38 MB / 0.9328 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/42.4, allocations: 0.8921 MB / 18.79 GB, free: 9.453 MB / 0.9328 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007792/42.4, allocations: 1.771 MB / 18.79 GB, free: 7.68 MB / 0.9328 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/42.42, allocations: 20.89 MB / 18.81 GB, free: 1.23 MB / 0.9484 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007961/42.43, allocations: 0.9314 MB / 18.81 GB, free: 304 kB / 0.9484 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.6344/43.07, allocations: 477.5 kB / 18.81 GB, free: 158.5 MB / 0.9484 GB Warning: The initial conditions are over specified. The following 20 initial equations are redundant, so they are removed from the initialization sytem: discretizedHEX.thermalElementA[10].deltaE_system = $START.discretizedHEX.thermalElementA[10].deltaE_system discretizedHEX.thermalElementA[9].deltaE_system = $START.discretizedHEX.thermalElementA[9].deltaE_system discretizedHEX.thermalElementA[8].deltaE_system = $START.discretizedHEX.thermalElementA[8].deltaE_system discretizedHEX.thermalElementA[7].deltaE_system = $START.discretizedHEX.thermalElementA[7].deltaE_system discretizedHEX.thermalElementA[6].deltaE_system = $START.discretizedHEX.thermalElementA[6].deltaE_system discretizedHEX.thermalElementA[5].deltaE_system = $START.discretizedHEX.thermalElementA[5].deltaE_system discretizedHEX.thermalElementA[4].deltaE_system = $START.discretizedHEX.thermalElementA[4].deltaE_system discretizedHEX.thermalElementA[3].deltaE_system = $START.discretizedHEX.thermalElementA[3].deltaE_system discretizedHEX.thermalElementA[2].deltaE_system = $START.discretizedHEX.thermalElementA[2].deltaE_system discretizedHEX.thermalElementA[1].deltaE_system = $START.discretizedHEX.thermalElementA[1].deltaE_system discretizedHEX.thermalElementB[10].deltaE_system = $START.discretizedHEX.thermalElementB[10].deltaE_system discretizedHEX.thermalElementB[9].deltaE_system = $START.discretizedHEX.thermalElementB[9].deltaE_system discretizedHEX.thermalElementB[8].deltaE_system = $START.discretizedHEX.thermalElementB[8].deltaE_system discretizedHEX.thermalElementB[7].deltaE_system = $START.discretizedHEX.thermalElementB[7].deltaE_system discretizedHEX.thermalElementB[6].deltaE_system = $START.discretizedHEX.thermalElementB[6].deltaE_system discretizedHEX.thermalElementB[5].deltaE_system = $START.discretizedHEX.thermalElementB[5].deltaE_system discretizedHEX.thermalElementB[4].deltaE_system = $START.discretizedHEX.thermalElementB[4].deltaE_system discretizedHEX.thermalElementB[3].deltaE_system = $START.discretizedHEX.thermalElementB[3].deltaE_system discretizedHEX.thermalElementB[2].deltaE_system = $START.discretizedHEX.thermalElementB[2].deltaE_system discretizedHEX.thermalElementB[1].deltaE_system = $START.discretizedHEX.thermalElementB[1].deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 56 (discretizedHEX.thermalElementA[10].init,discretizedHEX.thermalElementA[9].init,discretizedHEX.thermalElementA[8].init,discretizedHEX.thermalElementA[7].init,discretizedHEX.thermalElementA[6].init,discretizedHEX.thermalElementA[5].init,discretizedHEX.thermalElementA[4].init,discretizedHEX.thermalElementA[3].init,discretizedHEX.thermalElementA[2].init,discretizedHEX.thermalElementA[1].init,discretizedHEX.thermalElementB[10].init,discretizedHEX.thermalElementB[9].init,discretizedHEX.thermalElementB[8].init,discretizedHEX.thermalElementB[7].init,discretizedHEX.thermalElementB[6].init,discretizedHEX.thermalElementB[5].init,discretizedHEX.thermalElementB[4].init,discretizedHEX.thermalElementB[3].init,discretizedHEX.thermalElementB[2].init,discretizedHEX.thermalElementB[1].init,boundary_fore1.rear.state_rearwards.phase,boundary_fore1.rear.state_forwards.phase,discretizedHEX.thermalElementB[1].fore.state_rearwards.phase,discretizedHEX.thermalElementB[1].fore.state_forwards.phase,discretizedHEX.thermalElementB[1].state.phase,discretizedHEX.thermalElementB[2].fore.state_rearwards.phase,discretizedHEX.thermalElementB[2].fore.state_forwards.phase,discretizedHEX.thermalElementB[2].state.phase,discretizedHEX.thermalElementB[3].fore.state_rearwards.phase,discretizedHEX.thermalElementB[3].fore.state_forwards.phase,discretizedHEX.thermalElementB[3].state.phase,discretizedHEX.thermalElementB[4].fore.state_rearwards.phase,discretizedHEX.thermalElementB[4].fore.state_forwards.phase,discretizedHEX.thermalElementB[4].state.phase,discretizedHEX.thermalElementB[5].fore.state_rearwards.phase,discretizedHEX.thermalElementB[5].fore.state_forwards.phase,discretizedHEX.thermalElementB[5].state.phase,discretizedHEX.thermalElementB[6].fore.state_rearwards.phase,discretizedHEX.thermalElementB[6].fore.state_forwards.phase,discretizedHEX.thermalElementB[6].state.phase,discretizedHEX.thermalElementB[7].fore.state_rearwards.phase,discretizedHEX.thermalElementB[7].fore.state_forwards.phase,discretizedHEX.thermalElementB[7].state.phase,discretizedHEX.thermalElementB[8].fore.state_rearwards.phase,discretizedHEX.thermalElementB[8].fore.state_forwards.phase,discretizedHEX.thermalElementB[8].state.phase,discretizedHEX.thermalElementB[9].state.phase,discretizedHEX.thermalElementB[10].rear.state_rearwards.phase,discretizedHEX.thermalElementB[10].rear.state_forwards.phase,discretizedHEX.thermalElementB[10].state.phase,discretizedHEX.rearB.state_rearwards.phase,discretizedHEX.rearB.state_forwards.phase,discretizedHEX.foreB.state_rearwards.phase,discretizedHEX.foreB.state_forwards.phase,multiSensor_Tpm2.state.phase,multiSensor_Tpm3.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (719): * Single equations (assignments): 643 * Array equations: 26 * Algorithm blocks: 0 * Record equations: 38 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 12,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007869/43.07, allocations: 2.336 MB / 18.82 GB, free: 158.2 MB / 0.9484 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001852/43.07, allocations: 450.2 kB / 18.82 GB, free: 158.2 MB / 0.9484 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03587/43.11, allocations: 15.86 MB / 18.83 GB, free: 157.9 MB / 0.9484 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02647/43.14, allocations: 12.72 MB / 18.84 GB, free: 157.5 MB / 0.9484 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.633e-05/43.14, allocations: 9.156 kB / 18.84 GB, free: 157.5 MB / 0.9484 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001052/43.14, allocations: 34.59 kB / 18.84 GB, free: 157.5 MB / 0.9484 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05698/43.19, allocations: 25.59 MB / 18.87 GB, free: 155.6 MB / 0.9484 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.004e-05/43.19, allocations: 0.9844 kB / 18.87 GB, free: 155.6 MB / 0.9484 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006083/43.2, allocations: 1.504 MB / 18.87 GB, free: 155.6 MB / 0.9484 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002231/43.2, allocations: 0.8555 MB / 18.87 GB, free: 155.5 MB / 0.9484 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001474/43.2, allocations: 288.7 kB / 18.87 GB, free: 155.5 MB / 0.9484 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/43.22, allocations: 20.73 MB / 18.89 GB, free: 140.5 MB / 0.9484 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/43.22, allocations: 0 / 18.89 GB, free: 140.5 MB / 0.9484 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04537/43.27, allocations: 21.18 MB / 18.91 GB, free: 137.3 MB / 0.9484 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006286/43.27, allocations: 1.821 MB / 18.91 GB, free: 136.4 MB / 0.9484 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00279/43.28, allocations: 150 kB / 18.91 GB, free: 136.3 MB / 0.9484 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007063/43.28, allocations: 0.7764 MB / 18.91 GB, free: 136.1 MB / 0.9484 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002419/43.28, allocations: 0.5501 MB / 18.92 GB, free: 136 MB / 0.9484 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001971/43.29, allocations: 419.7 kB / 18.92 GB, free: 135.9 MB / 0.9484 GB Notification: Performance of sorting global known variables: time 0.004451/43.29, allocations: 1.975 MB / 18.92 GB, free: 135.3 MB / 0.9484 GB Notification: Performance of sort global known variables: time 3.91e-07/43.29, allocations: 3.219 kB / 18.92 GB, free: 135.3 MB / 0.9484 GB Notification: Performance of remove unused functions: time 0.06174/43.35, allocations: 6.401 MB / 18.92 GB, free: 134.1 MB / 0.9484 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 24 (boundary_rear1.fore.m_flow,discretizedHEX.thermalElementB[1].h,discretizedHEX.thermalElementB[2].h,discretizedHEX.thermalElementB[3].h,discretizedHEX.thermalElementB[4].h,discretizedHEX.thermalElementB[5].h,discretizedHEX.thermalElementB[6].h,discretizedHEX.thermalElementB[7].h,discretizedHEX.thermalElementB[8].h,discretizedHEX.thermalElementB[9].h,discretizedHEX.thermalElementB[10].h,discretizedHEX.thermalElementA[1].h,discretizedHEX.thermalElementA[2].h,discretizedHEX.thermalElementA[3].h,discretizedHEX.thermalElementA[4].h,discretizedHEX.thermalElementA[5].h,discretizedHEX.thermalElementA[6].h,discretizedHEX.thermalElementA[7].h,discretizedHEX.thermalElementA[8].h,discretizedHEX.thermalElementA[9].h,discretizedHEX.thermalElementA[10].rear.m_flow,discretizedHEX.thermalElementA[10].h,PI1.x,PI.x) * Number of discrete variables: 68 (discretizedHEX.foreB.state_rearwards.phase,discretizedHEX.thermalElementB[10].state.phase,discretizedHEX.thermalElementB[10].rear.state_rearwards.phase,discretizedHEX.thermalElementB[9].state.phase,discretizedHEX.thermalElementB[8].state.phase,discretizedHEX.thermalElementB[7].fore.state_rearwards.phase,discretizedHEX.thermalElementB[7].state.phase,discretizedHEX.thermalElementB[6].state.phase,discretizedHEX.thermalElementB[5].fore.state_rearwards.phase,discretizedHEX.thermalElementB[5].state.phase,discretizedHEX.thermalElementB[4].fore.state_rearwards.phase,discretizedHEX.thermalElementB[4].state.phase,discretizedHEX.thermalElementB[3].state.phase,discretizedHEX.thermalElementB[2].state.phase,discretizedHEX.thermalElementB[1].fore.state_rearwards.phase,discretizedHEX.thermalElementB[1].state.phase,discretizedHEX.rearB.state_rearwards.phase,discretizedHEX.thermalElementB[2].fore.state_rearwards.phase,discretizedHEX.thermalElementB[3].fore.state_rearwards.phase,discretizedHEX.thermalElementB[6].fore.state_rearwards.phase,discretizedHEX.thermalElementB[8].fore.state_rearwards.phase,discretizedHEX.thermalElementB[5].fore.state_forwards.phase,discretizedHEX.thermalElementB[6].fore.state_forwards.phase,discretizedHEX.thermalElementB[8].fore.state_forwards.phase,boundary_fore1.rear.state_forwards.phase,discretizedHEX.foreB.state_forwards.phase,discretizedHEX.thermalElementB[10].rear.state_forwards.phase,discretizedHEX.thermalElementB[7].fore.state_forwards.phase,discretizedHEX.thermalElementB[4].fore.state_forwards.phase,discretizedHEX.thermalElementB[3].fore.state_forwards.phase,discretizedHEX.thermalElementB[2].fore.state_forwards.phase,discretizedHEX.thermalElementB[1].fore.state_forwards.phase,$cse17.phase,$cse19.phase,$cse20.phase,$cse21.phase,$cse23.phase,$cse24.phase,$cse25.phase,$cse27.phase,$cse28.phase,$cse29.phase,$cse31.phase,$cse32.phase,$cse33.phase,$cse35.phase,$cse36.phase,$cse37.phase,$cse39.phase,$cse40.phase,$cse41.phase,$cse43.phase,$cse44.phase,$cse45.phase,$cse47.phase,$cse48.phase,$cse49.phase,$cse51.phase,$cse52.phase,$cse53.phase,$cse55.phase,$cse56.phase,$cse77.phase,$cse78.phase,boundary_fore1.rear.state_rearwards.phase,discretizedHEX.rearB.state_forwards.phase,multiSensor_Tpm2.state.phase,multiSensor_Tpm3.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (689): * Single equations (assignments): 603 * Array equations: 26 * Algorithm blocks: 0 * Record equations: 48 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2613/43.61, allocations: 39.23 MB / 18.96 GB, free: 115.6 MB / 0.9484 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {discretizedHEX.foreA.state_rearwards.X[1], discretizedHEX.foreA.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_Interfaces__omcQRear_24boundary_5F_5Ffore_24rear_Medium_ThermodynamicState157.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {discretizedHEX.foreA.state_rearwards.X[1], discretizedHEX.foreA.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_Interfaces__omcQRear_24boundary_5F_5Ffore_24rear_Medium_ThermodynamicState1187.X Notification: Performance of simCode: created initialization part: time 0.03762/43.65, allocations: 25.55 MB / 18.99 GB, free: 103.5 MB / 0.9484 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/43.65, allocations: 3.344 kB / 18.99 GB, free: 103.5 MB / 0.9484 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {discretizedHEX.foreA.state_rearwards.X[1], discretizedHEX.foreA.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_Interfaces__omcQRear_24boundary_5F_5Ffore_24rear_Medium_ThermodynamicState2223.X Notification: Performance of simCode: created simulation system equations: time 0.01274/43.66, allocations: 8.48 MB / 19 GB, free: 99.66 MB / 0.9484 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0129/43.68, allocations: 2.6 MB / 19 GB, free: 99.14 MB / 0.9484 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:306:3-306:155:writable] Error: Internal error Stack overflow in SimCodeMain.generateModelCode... [bt] #1 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_stackoverflow) [bt] #3 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.getVarSingle) [bt] #4...1024 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeUtil.replaceCrefWithStartValue) [bt] #1025 [...]