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.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-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.001686/0.001686, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.318/1.318, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008227/0.0008228, allocations: 89.38 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.6792/0.6792, allocations: 90.34 MB / 405 MB, free: 8.656 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.786e-05, allocations: 4 kB / 479.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3376, allocations: 66.25 MB / 0.5326 GB, free: 28.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 29.26/29.6, allocations: 12.86 GB / 13.39 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/29.6, allocations: 87.39 kB / 13.39 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 20.92/50.51, allocations: 5.679 GB / 19.07 GB, free: 76.16 MB / 0.9015 GB Notification: Performance of FrontEnd: time 1.613e-06/50.51, allocations: 0 / 19.07 GB, free: 76.16 MB / 0.9015 GB Notification: Performance of Transformations before backend: time 0.0004364/50.51, allocations: 152.5 kB / 19.07 GB, free: 76.02 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.09916/50.61, allocations: 10.97 MB / 19.08 GB, free: 67.4 MB / 0.9015 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/50.61, allocations: 12.03 kB / 19.08 GB, free: 67.39 MB / 0.9015 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007469/50.62, allocations: 1.185 MB / 19.08 GB, free: 66.5 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.01052/50.63, allocations: 3.873 MB / 19.09 GB, free: 64.15 MB / 0.9015 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004356/50.63, allocations: 452 kB / 19.09 GB, free: 63.9 MB / 0.9015 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002339/50.63, allocations: 0.5856 MB / 19.09 GB, free: 63.51 MB / 0.9015 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01876/50.65, allocations: 10.25 MB / 19.1 GB, free: 58.21 MB / 0.9015 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/50.65, allocations: 9.828 kB / 19.1 GB, free: 58.2 MB / 0.9015 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007669/50.65, allocations: 244.5 kB / 19.1 GB, free: 58.15 MB / 0.9015 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006413/50.65, allocations: 495.3 kB / 19.1 GB, free: 57.84 MB / 0.9015 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01964/50.67, allocations: 10.8 MB / 19.11 GB, free: 52.07 MB / 0.9015 GB Warning: The model contains alias variables with conflicting start and/or 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.06135/50.73, allocations: 44.42 MB / 19.15 GB, free: 12.95 MB / 0.9015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/50.75, allocations: 7.337 MB / 19.16 GB, free: 5.641 MB / 0.9015 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007339/50.75, allocations: 5.282 MB / 19.16 GB, free: 352 kB / 0.9015 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008116/50.76, allocations: 5.477 MB / 19.17 GB, free: 9.977 MB / 0.9171 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/50.76, allocations: 86.78 kB / 19.17 GB, free: 9.879 MB / 0.9171 GB Notification: Performance of pre-optimization done (n=687): time 1.953e-05/50.76, allocations: 3.188 kB / 19.17 GB, free: 9.879 MB / 0.9171 GB Notification: Performance of matching and sorting (n=687): time 0.02584/50.79, allocations: 10.72 MB / 19.18 GB, free: 15.05 MB / 0.9328 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/50.79, allocations: 159 kB / 19.18 GB, free: 14.87 MB / 0.9328 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005389/50.79, allocations: 2.644 MB / 19.18 GB, free: 12.21 MB / 0.9328 GB Notification: Performance of collectPreVariables (initialization): time 0.001519/50.79, allocations: 127.7 kB / 19.18 GB, free: 12.09 MB / 0.9328 GB Notification: Performance of collectInitialEqns (initialization): time 0.001886/50.8, allocations: 2.124 MB / 19.18 GB, free: 9.953 MB / 0.9328 GB Notification: Performance of collectInitialBindings (initialization): time 0.003502/50.8, allocations: 2.293 MB / 19.19 GB, free: 7.684 MB / 0.9328 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/50.8, allocations: 126.8 kB / 19.19 GB, free: 7.566 MB / 0.9328 GB Notification: Performance of setup shared object (initialization): time 0.0007241/50.8, allocations: 0.5919 MB / 19.19 GB, free: 6.969 MB / 0.9328 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008482/50.81, allocations: 4.858 MB / 19.19 GB, free: 2.105 MB / 0.9328 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/50.82, allocations: 6.165 MB / 19.2 GB, free: 11.5 MB / 0.9484 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 = 0.0 ($START.discretizedHEX.thermalElementA[10].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementA[9].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementA[8].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementA[7].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementA[6].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementA[5].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementA[4].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementA[3].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementA[2].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementA[1].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementB[10].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementB[9].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementB[8].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementB[7].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementB[6].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementB[5].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementB[4].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementB[3].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementB[2].deltaE_system = 0.0) 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 = 0.0 ($START.discretizedHEX.thermalElementB[1].deltaE_system = 0.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/50.83, allocations: 7.494 MB / 19.21 GB, free: 3.617 MB / 0.9484 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.896e-05/50.83, allocations: 8 kB / 19.21 GB, free: 3.609 MB / 0.9484 GB Notification: Performance of matching and sorting (n=923) (initialization): time 0.6716/51.5, allocations: 12.78 MB / 19.22 GB, free: 149.9 MB / 0.9484 GB Notification: Performance of prepare postOptimizeDAE: time 0.004039/51.51, allocations: 13.19 MB / 19.23 GB, free: 135.8 MB / 0.9484 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001593/51.51, allocations: 31.59 kB / 19.23 GB, free: 135.8 MB / 0.9484 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/51.51, allocations: 0.8878 MB / 19.23 GB, free: 135.7 MB / 0.9484 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009005/51.52, allocations: 1.783 MB / 19.23 GB, free: 135.7 MB / 0.9484 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/51.54, allocations: 20.85 MB / 19.25 GB, free: 120.8 MB / 0.9484 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008567/51.54, allocations: 0.9896 MB / 19.26 GB, free: 120.8 MB / 0.9484 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002242/51.55, allocations: 482.4 kB / 19.26 GB, free: 120.8 MB / 0.9484 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/51.55, allocations: 4.25 kB / 19.26 GB, free: 120.8 MB / 0.9484 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02472/51.57, allocations: 12.41 MB / 19.27 GB, free: 120.5 MB / 0.9484 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/51.57, allocations: 30.97 kB / 19.27 GB, free: 120.5 MB / 0.9484 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/51.57, allocations: 0.8897 MB / 19.27 GB, free: 120.4 MB / 0.9484 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007366/51.58, allocations: 1.771 MB / 19.27 GB, free: 120.3 MB / 0.9484 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/51.6, allocations: 20.85 MB / 19.29 GB, free: 105.3 MB / 0.9484 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008579/51.6, allocations: 0.9288 MB / 19.29 GB, free: 105.1 MB / 0.9484 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002277/51.61, allocations: 476.2 kB / 19.29 GB, free: 105.1 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 = 0.0 discretizedHEX.thermalElementA[9].deltaE_system = 0.0 discretizedHEX.thermalElementA[8].deltaE_system = 0.0 discretizedHEX.thermalElementA[7].deltaE_system = 0.0 discretizedHEX.thermalElementA[6].deltaE_system = 0.0 discretizedHEX.thermalElementA[5].deltaE_system = 0.0 discretizedHEX.thermalElementA[4].deltaE_system = 0.0 discretizedHEX.thermalElementA[3].deltaE_system = 0.0 discretizedHEX.thermalElementA[2].deltaE_system = 0.0 discretizedHEX.thermalElementA[1].deltaE_system = 0.0 discretizedHEX.thermalElementB[10].deltaE_system = 0.0 discretizedHEX.thermalElementB[9].deltaE_system = 0.0 discretizedHEX.thermalElementB[8].deltaE_system = 0.0 discretizedHEX.thermalElementB[7].deltaE_system = 0.0 discretizedHEX.thermalElementB[6].deltaE_system = 0.0 discretizedHEX.thermalElementB[5].deltaE_system = 0.0 discretizedHEX.thermalElementB[4].deltaE_system = 0.0 discretizedHEX.thermalElementB[3].deltaE_system = 0.0 discretizedHEX.thermalElementB[2].deltaE_system = 0.0 discretizedHEX.thermalElementB[1].deltaE_system = 0.0. 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 () * 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.002409/51.61, allocations: 0.5898 MB / 19.29 GB, free: 104.9 MB / 0.9484 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/51.61, allocations: 452.4 kB / 19.29 GB, free: 104.7 MB / 0.9484 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02732/51.64, allocations: 14.8 MB / 19.31 GB, free: 104.1 MB / 0.9484 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02009/51.66, allocations: 11.6 MB / 19.32 GB, free: 103.7 MB / 0.9484 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.097e-05/51.66, allocations: 8.188 kB / 19.32 GB, free: 103.7 MB / 0.9484 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001405/51.66, allocations: 35.2 kB / 19.32 GB, free: 103.7 MB / 0.9484 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04549/51.7, allocations: 24.48 MB / 19.34 GB, free: 95.1 MB / 0.9484 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/51.7, allocations: 1.375 kB / 19.34 GB, free: 95.1 MB / 0.9484 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005691/51.71, allocations: 1.511 MB / 19.34 GB, free: 95 MB / 0.9484 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/51.71, allocations: 0.8456 MB / 19.35 GB, free: 94.71 MB / 0.9484 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001382/51.71, allocations: 292.2 kB / 19.35 GB, free: 94.61 MB / 0.9484 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/51.73, allocations: 20.68 MB / 19.37 GB, free: 76.76 MB / 0.9484 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/51.73, allocations: 2.594 kB / 19.37 GB, free: 76.76 MB / 0.9484 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03037/51.76, allocations: 19.52 MB / 19.38 GB, free: 69.29 MB / 0.9484 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005639/51.76, allocations: 1.844 MB / 19.39 GB, free: 68.3 MB / 0.9484 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/51.77, allocations: 151.2 kB / 19.39 GB, free: 68.21 MB / 0.9484 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005978/51.77, allocations: 0.7675 MB / 19.39 GB, free: 68.01 MB / 0.9484 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001061/51.77, allocations: 0.548 MB / 19.39 GB, free: 67.95 MB / 0.9484 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007856/51.77, allocations: 427.7 kB / 19.39 GB, free: 67.89 MB / 0.9484 GB Notification: Performance of sorting global known variables: time 0.002945/51.78, allocations: 1.952 MB / 19.39 GB, free: 67.19 MB / 0.9484 GB Notification: Performance of sort global known variables: time 1.2e-07/51.78, allocations: 3.469 kB / 19.39 GB, free: 67.19 MB / 0.9484 GB Notification: Performance of remove unused functions: time 0.0544/51.83, allocations: 6.399 MB / 19.4 GB, free: 65.99 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 () * 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.2517/52.08, allocations: 39.24 MB / 19.43 GB, free: 47.45 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_D_Rear24boundary__fore24rear_Medium_ThermodynamicState156.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {discretizedHEX.foreA.state_rearwards.X[1], discretizedHEX.foreA.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_Interfaces_D_Rear24boundary__fore24rear_Medium_ThermodynamicState1714.X Notification: Performance of simCode: created initialization part: time 0.03625/52.12, allocations: 24 MB / 19.46 GB, free: 35.15 MB / 0.9484 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/52.12, allocations: 0 / 19.46 GB, free: 35.15 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_D_Rear24boundary__fore24rear_Medium_ThermodynamicState2745.X Notification: Performance of simCode: created simulation system equations: time 0.01275/52.13, allocations: 7.931 MB / 19.47 GB, free: 31.34 MB / 0.9484 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0141/52.15, allocations: 2.52 MB / 19.47 GB, free: 30.84 MB / 0.9484 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:303:3-303:155:writable] Error: Internal error Stack overflow in SimCodeMain.generateModelCode... [bt] #1 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_stackoverflow) [bt] #3 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(ComponentReference.hashComponentRefMod) [bt] #4 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.getVar2) [bt] #5 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.getVarSingle) [bt] #6...1024 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeUtil.replaceCrefWithStartValue) [bt] #1025 [...]