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.007306/0.007306, allocations: 171.6 kB / 15.11 MB, free: 5.969 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.976/1.976, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.001053/0.001053, allocations: 102.8 kB / 269.6 MB, free: 13.33 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.9996/0.9996, allocations: 90.58 MB / 408.4 MB, free: 14.95 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 8 kB / 485.2 MB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5075/0.5079, allocations: 66.28 MB / 0.5386 GB, free: 45.68 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 32.8/33.31, allocations: 12.86 GB / 13.4 GB, free: 15 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/33.31, allocations: 93.55 kB / 13.4 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 23.3/56.61, allocations: 5.713 GB / 19.11 GB, free: 158.9 MB / 0.9328 GB Notification: Performance of FrontEnd: time 3.958e-06/56.61, allocations: 0 / 19.11 GB, free: 158.9 MB / 0.9328 GB Notification: Performance of Transformations before backend: time 0.000805/56.61, allocations: 149.7 kB / 19.11 GB, free: 158.9 MB / 0.9328 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.1584/56.77, allocations: 11.56 MB / 19.12 GB, free: 154.2 MB / 0.9328 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/56.77, allocations: 10.59 kB / 19.12 GB, free: 154.2 MB / 0.9328 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009484/56.78, allocations: 1.196 MB / 19.12 GB, free: 153.8 MB / 0.9328 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.01609/56.79, allocations: 3.877 MB / 19.13 GB, free: 153.2 MB / 0.9328 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008393/56.79, allocations: 462.9 kB / 19.13 GB, free: 153.1 MB / 0.9328 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004057/56.8, allocations: 0.5858 MB / 19.13 GB, free: 153.1 MB / 0.9328 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03958/56.84, allocations: 10.84 MB / 19.14 GB, free: 152.5 MB / 0.9328 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006889/56.84, allocations: 7.969 kB / 19.14 GB, free: 152.5 MB / 0.9328 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004908/56.84, allocations: 236.9 kB / 19.14 GB, free: 152.5 MB / 0.9328 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/56.84, allocations: 0.4919 MB / 19.14 GB, free: 152.5 MB / 0.9328 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03383/56.88, allocations: 11.94 MB / 19.15 GB, free: 152.4 MB / 0.9328 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.1032/56.98, allocations: 44.42 MB / 19.19 GB, free: 130.2 MB / 0.9328 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01842/57, allocations: 7.96 MB / 19.2 GB, free: 129.2 MB / 0.9328 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008123/57.01, allocations: 5.475 MB / 19.21 GB, free: 124.3 MB / 0.9328 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/57.01, allocations: 89.28 kB / 19.21 GB, free: 124.2 MB / 0.9328 GB Notification: Performance of pre-optimization done (n=687): time 2.416e-05/57.01, allocations: 0 / 19.21 GB, free: 124.2 MB / 0.9328 GB Notification: Performance of matching and sorting (n=687): time 0.05781/57.07, allocations: 21.75 MB / 19.23 GB, free: 113.2 MB / 0.9328 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/57.07, allocations: 160.1 kB / 19.23 GB, free: 113.1 MB / 0.9328 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009516/57.08, allocations: 2.672 MB / 19.23 GB, free: 112.1 MB / 0.9328 GB Notification: Performance of collectPreVariables (initialization): time 0.003466/57.08, allocations: 117.5 kB / 19.23 GB, free: 112 MB / 0.9328 GB Notification: Performance of collectInitialEqns (initialization): time 0.002612/57.08, allocations: 2.137 MB / 19.23 GB, free: 110.4 MB / 0.9328 GB Notification: Performance of collectInitialBindings (initialization): time 0.005631/57.09, allocations: 2.289 MB / 19.24 GB, free: 108.6 MB / 0.9328 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002409/57.09, allocations: 129.8 kB / 19.24 GB, free: 108.5 MB / 0.9328 GB Notification: Performance of setup shared object (initialization): time 0.001013/57.09, allocations: 0.5939 MB / 19.24 GB, free: 108.1 MB / 0.9328 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01195/57.1, allocations: 5.42 MB / 19.24 GB, free: 106.3 MB / 0.9328 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01243/57.12, allocations: 6.729 MB / 19.25 GB, free: 103.1 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 = 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.0136/57.13, allocations: 8.024 MB / 19.26 GB, free: 98.79 MB / 0.9328 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-05/57.13, allocations: 8.031 kB / 19.26 GB, free: 98.79 MB / 0.9328 GB Notification: Performance of matching and sorting (n=923) (initialization): time 0.03327/57.16, allocations: 13.91 MB / 19.27 GB, free: 93.8 MB / 0.9328 GB Notification: Performance of prepare postOptimizeDAE: time 0.003807/57.17, allocations: 13.18 MB / 19.28 GB, free: 79.33 MB / 0.9328 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/57.17, allocations: 31.47 kB / 19.28 GB, free: 79.33 MB / 0.9328 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/57.17, allocations: 0.9095 MB / 19.28 GB, free: 79.01 MB / 0.9328 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008685/57.18, allocations: 1.778 MB / 19.29 GB, free: 78.88 MB / 0.9328 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/57.19, allocations: 21.22 MB / 19.31 GB, free: 58.77 MB / 0.9328 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0096/57.2, allocations: 0.9816 MB / 19.31 GB, free: 57.94 MB / 0.9328 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003022/57.21, allocations: 489.8 kB / 19.31 GB, free: 57.53 MB / 0.9328 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/57.21, allocations: 8 kB / 19.31 GB, free: 57.52 MB / 0.9328 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03664/57.24, allocations: 13.46 MB / 19.32 GB, free: 46.17 MB / 0.9328 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/57.24, allocations: 32 kB / 19.32 GB, free: 46.14 MB / 0.9328 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002124/57.25, allocations: 0.9059 MB / 19.32 GB, free: 45.38 MB / 0.9328 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009046/57.26, allocations: 1.775 MB / 19.32 GB, free: 43.97 MB / 0.9328 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/57.27, allocations: 21.21 MB / 19.34 GB, free: 22.61 MB / 0.9328 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/57.28, allocations: 0.9271 MB / 19.34 GB, free: 21.84 MB / 0.9328 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003581/57.29, allocations: 484 kB / 19.35 GB, free: 21.43 MB / 0.9328 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 () * 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.01009/57.3, allocations: 2.278 MB / 19.35 GB, free: 19.53 MB / 0.9328 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003369/57.3, allocations: 461.6 kB / 19.35 GB, free: 19.08 MB / 0.9328 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03878/57.34, allocations: 15.9 MB / 19.36 GB, free: 6.121 MB / 0.9328 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.039/57.38, allocations: 13.33 MB / 19.38 GB, free: 12.58 MB / 0.9484 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001438/57.38, allocations: 8 kB / 19.38 GB, free: 12.57 MB / 0.9484 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000448/57.38, allocations: 31.88 kB / 19.38 GB, free: 12.54 MB / 0.9484 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08361/57.46, allocations: 25.61 MB / 19.4 GB, free: 2.531 MB / 0.964 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-05/57.46, allocations: 0 / 19.4 GB, free: 2.531 MB / 0.964 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00814/57.47, allocations: 1.514 MB / 19.4 GB, free: 1.016 MB / 0.964 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/57.47, allocations: 0.8445 MB / 19.4 GB, free: 140 kB / 0.964 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.8712/58.34, allocations: 287 kB / 19.4 GB, free: 172.7 MB / 0.964 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/58.36, allocations: 21.02 MB / 19.42 GB, free: 157.8 MB / 0.964 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/58.36, allocations: 0.6562 kB / 19.42 GB, free: 157.8 MB / 0.964 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05014/58.41, allocations: 21.22 MB / 19.45 GB, free: 157.2 MB / 0.964 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00796/58.42, allocations: 1.833 MB / 19.45 GB, free: 157.1 MB / 0.964 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002057/58.42, allocations: 146.4 kB / 19.45 GB, free: 157.1 MB / 0.964 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006891/58.43, allocations: 0.781 MB / 19.45 GB, free: 157.1 MB / 0.964 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/58.43, allocations: 0.552 MB / 19.45 GB, free: 157.1 MB / 0.964 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009522/58.43, allocations: 422.7 kB / 19.45 GB, free: 157.1 MB / 0.964 GB Notification: Performance of sorting global known variables: time 0.00397/58.44, allocations: 1.974 MB / 19.45 GB, free: 156.9 MB / 0.964 GB Notification: Performance of sort global known variables: time 8.12e-07/58.44, allocations: 0.8438 kB / 19.45 GB, free: 156.9 MB / 0.964 GB Notification: Performance of remove unused functions: time 0.0763/58.51, allocations: 6.409 MB / 19.46 GB, free: 156.7 MB / 0.964 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.2894/58.8, allocations: 39.23 MB / 19.5 GB, free: 138.7 MB / 0.964 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_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__omcQRear_24boundary_5F_5Ffore_24rear_Medium_ThermodynamicState1182.X Notification: Performance of simCode: created initialization part: time 0.05538/58.86, allocations: 25.64 MB / 19.52 GB, free: 133 MB / 0.964 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/58.86, allocations: 1.719 kB / 19.52 GB, free: 133 MB / 0.964 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_ThermodynamicState2213.X Notification: Performance of simCode: created simulation system equations: time 0.02041/58.88, allocations: 8.516 MB / 19.53 GB, free: 131.5 MB / 0.964 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01734/58.9, allocations: 2.524 MB / 19.53 GB, free: 131.4 MB / 0.964 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeMain.mo:313:3-313: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(BackendVariable.getVarSingle) [bt] #4...1024 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeUtil.replaceCrefWithStartValue) [bt] #1025 [...]