Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_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-main/package.mo", uses=false) Using package ThermofluidStream with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/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_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_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.001175/0.001175, allocations: 172.1 kB / 16.12 MB, free: 5.668 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.875/1.875, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0008776/0.0008779, allocations: 90.41 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.3.1-main/package.mo): time 0.895/0.895, allocations: 89.59 MB / 408.5 MB, free: 4.504 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004557, allocations: 15.94 kB / 485.2 MB, free: 7.645 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4451, allocations: 66 MB / 0.5383 GB, free: 34.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 29.69/30.14, allocations: 12.86 GB / 13.4 GB, free: 186 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/30.14, allocations: 91.56 kB / 13.4 GB, free: 186 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 16.7/46.84, allocations: 5.183 GB / 18.58 GB, free: 95.17 MB / 0.9015 GB Notification: Performance of FrontEnd: time 2.685e-06/46.84, allocations: 2.25 kB / 18.58 GB, free: 95.17 MB / 0.9015 GB Notification: Performance of Transformations before backend: time 0.0004624/46.84, allocations: 145.4 kB / 18.58 GB, free: 95.04 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.09356/46.94, allocations: 11.5 MB / 18.59 GB, free: 86.75 MB / 0.9015 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/46.94, allocations: 8.031 kB / 18.59 GB, free: 86.74 MB / 0.9015 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006528/46.94, allocations: 1.196 MB / 18.59 GB, free: 85.84 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.009729/46.95, allocations: 4.015 MB / 18.6 GB, free: 83.46 MB / 0.9015 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005605/46.95, allocations: 456.6 kB / 18.6 GB, free: 83.21 MB / 0.9015 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002871/46.96, allocations: 0.5867 MB / 18.6 GB, free: 82.82 MB / 0.9015 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02748/46.98, allocations: 10.88 MB / 18.61 GB, free: 77.35 MB / 0.9015 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003373/46.98, allocations: 11.03 kB / 18.61 GB, free: 77.34 MB / 0.9015 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002466/46.99, allocations: 237 kB / 18.61 GB, free: 77.3 MB / 0.9015 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007485/46.99, allocations: 499.2 kB / 18.61 GB, free: 76.98 MB / 0.9015 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/47.01, allocations: 11.94 MB / 18.62 GB, free: 70.82 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.05734/47.07, allocations: 44.33 MB / 18.66 GB, free: 34.15 MB / 0.9015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/47.08, allocations: 7.959 MB / 18.67 GB, free: 27.57 MB / 0.9015 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008996/47.09, allocations: 5.831 MB / 18.68 GB, free: 22.66 MB / 0.9015 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00632/47.1, allocations: 6.781 MB / 18.68 GB, free: 15.25 MB / 0.9015 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.882e-05/47.1, allocations: 86.78 kB / 18.68 GB, free: 15.15 MB / 0.9015 GB Notification: Performance of pre-optimization done (n=687): time 1.098e-05/47.1, allocations: 0 / 18.68 GB, free: 15.15 MB / 0.9015 GB Notification: Performance of matching and sorting (n=687): time 0.03512/47.13, allocations: 18.38 MB / 18.7 GB, free: 15.47 MB / 0.9171 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/47.13, allocations: 159 kB / 18.7 GB, free: 15.29 MB / 0.9171 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005566/47.14, allocations: 2.992 MB / 18.71 GB, free: 12.59 MB / 0.9171 GB Notification: Performance of collectPreVariables (initialization): time 0.001262/47.14, allocations: 120.3 kB / 18.71 GB, free: 12.47 MB / 0.9171 GB Notification: Performance of collectInitialEqns (initialization): time 0.001811/47.14, allocations: 2.13 MB / 18.71 GB, free: 10.34 MB / 0.9171 GB Notification: Performance of collectInitialBindings (initialization): time 0.003084/47.14, allocations: 2.291 MB / 18.71 GB, free: 8.078 MB / 0.9171 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/47.14, allocations: 124.9 kB / 18.71 GB, free: 7.961 MB / 0.9171 GB Notification: Performance of setup shared object (initialization): time 0.0005859/47.14, allocations: 0.5958 MB / 18.71 GB, free: 7.359 MB / 0.9171 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009771/47.15, allocations: 5.423 MB / 18.72 GB, free: 1.93 MB / 0.9171 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/47.17, allocations: 6.754 MB / 18.72 GB, free: 10.73 MB / 0.9328 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.02352/47.19, allocations: 14.23 MB / 18.74 GB, free: 11.65 MB / 0.9484 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.268e-05/47.19, allocations: 8 kB / 18.74 GB, free: 11.64 MB / 0.9484 GB Notification: Performance of matching and sorting (n=923) (initialization): time 0.5975/47.79, allocations: 13.84 MB / 18.75 GB, free: 152.5 MB / 0.9484 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006072/47.79, allocations: 1.04 MB / 18.75 GB, free: 151.3 MB / 0.9484 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.564e-05/47.79, allocations: 32.52 kB / 18.75 GB, free: 151.3 MB / 0.9484 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/47.79, allocations: 0.8888 MB / 18.75 GB, free: 151.2 MB / 0.9484 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008004/47.8, allocations: 1.788 MB / 18.75 GB, free: 151.2 MB / 0.9484 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/47.81, allocations: 20.9 MB / 18.77 GB, free: 136.2 MB / 0.9484 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009075/47.82, allocations: 0.9901 MB / 18.77 GB, free: 136.2 MB / 0.9484 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001716/47.82, allocations: 482 kB / 18.77 GB, free: 136.2 MB / 0.9484 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/47.82, allocations: 3.188 kB / 18.77 GB, free: 136.2 MB / 0.9484 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02554/47.85, allocations: 13.41 MB / 18.79 GB, free: 135.9 MB / 0.9484 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/47.85, allocations: 31.47 kB / 18.79 GB, free: 135.9 MB / 0.9484 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/47.85, allocations: 0.8907 MB / 18.79 GB, free: 135.8 MB / 0.9484 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006574/47.86, allocations: 1.77 MB / 18.79 GB, free: 135.8 MB / 0.9484 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/47.87, allocations: 20.91 MB / 18.81 GB, free: 120.9 MB / 0.9484 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007038/47.88, allocations: 0.9231 MB / 18.81 GB, free: 120.9 MB / 0.9484 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0019/47.88, allocations: 488.9 kB / 18.81 GB, free: 120.9 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.006076/47.89, allocations: 2.338 MB / 18.81 GB, free: 120.6 MB / 0.9484 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001777/47.89, allocations: 454.2 kB / 18.82 GB, free: 120.6 MB / 0.9484 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03408/47.92, allocations: 15.87 MB / 18.83 GB, free: 120 MB / 0.9484 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02663/47.95, allocations: 12.72 MB / 18.84 GB, free: 119.7 MB / 0.9484 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.64e-05/47.95, allocations: 9.656 kB / 18.84 GB, free: 119.7 MB / 0.9484 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001905/47.95, allocations: 38.27 kB / 18.84 GB, free: 119.7 MB / 0.9484 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05658/48.01, allocations: 25.6 MB / 18.87 GB, free: 113.2 MB / 0.9484 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.68e-05/48.01, allocations: 0 / 18.87 GB, free: 113.2 MB / 0.9484 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006824/48.01, allocations: 1.504 MB / 18.87 GB, free: 113.1 MB / 0.9484 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/48.02, allocations: 0.8586 MB / 18.87 GB, free: 112.8 MB / 0.9484 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002091/48.02, allocations: 282.8 kB / 18.87 GB, free: 112.7 MB / 0.9484 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/48.03, allocations: 20.72 MB / 18.89 GB, free: 94.78 MB / 0.9484 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/48.03, allocations: 0 / 18.89 GB, free: 94.78 MB / 0.9484 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0403/48.07, allocations: 21.18 MB / 18.91 GB, free: 87.12 MB / 0.9484 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006486/48.08, allocations: 1.824 MB / 18.91 GB, free: 86.15 MB / 0.9484 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002582/48.08, allocations: 148.6 kB / 18.91 GB, free: 86.05 MB / 0.9484 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006756/48.09, allocations: 0.7753 MB / 18.91 GB, free: 85.86 MB / 0.9484 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002214/48.09, allocations: 0.557 MB / 18.91 GB, free: 85.79 MB / 0.9484 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001713/48.09, allocations: 418.9 kB / 18.92 GB, free: 85.73 MB / 0.9484 GB Notification: Performance of sorting global known variables: time 0.003875/48.1, allocations: 1.981 MB / 18.92 GB, free: 85.05 MB / 0.9484 GB Notification: Performance of sort global known variables: time 2.21e-07/48.1, allocations: 0 / 18.92 GB, free: 85.05 MB / 0.9484 GB Notification: Performance of remove unused functions: time 0.04503/48.14, allocations: 6.391 MB / 18.92 GB, free: 83.85 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.2415/48.38, allocations: 39.23 MB / 18.96 GB, free: 65.34 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.0404/48.42, allocations: 25.55 MB / 18.99 GB, free: 53.01 MB / 0.9484 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/48.42, allocations: 0 / 18.99 GB, free: 53.01 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.01292/48.44, allocations: 8.481 MB / 19 GB, free: 49.2 MB / 0.9484 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01633/48.45, allocations: 2.583 MB / 19 GB, free: 48.68 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.getVar2) [bt] #4 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.getVarSingle) [bt] #5...1024 /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeUtil.replaceCrefWithStartValue) [bt] #1025 [...]