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.001465/0.001466, allocations: 172.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.452/1.452, allocations: 205.3 MB / 213.4 MB, free: 13.7 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.000785/0.0007851, allocations: 85.14 kB / 261.4 MB, free: 13.44 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.7301/0.7301, allocations: 90.37 MB / 399.7 MB, free: 12.12 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.431e-05, allocations: 0 / 472.2 MB, free: 3.469 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3279, allocations: 66.26 MB / 0.5259 GB, free: 29.05 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 28.9/29.22, allocations: 12.86 GB / 13.38 GB, free: 72.66 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/29.22, allocations: 86.19 kB / 13.38 GB, free: 72.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 20.53/49.76, allocations: 5.61 GB / 18.99 GB, free: 129.1 MB / 0.9171 GB Notification: Performance of FrontEnd: time 1.543e-06/49.76, allocations: 5.031 kB / 18.99 GB, free: 129.1 MB / 0.9171 GB Notification: Performance of Transformations before backend: time 0.0005031/49.76, allocations: 147.7 kB / 18.99 GB, free: 129.1 MB / 0.9171 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.08994/49.85, allocations: 10.98 MB / 19 GB, free: 124.6 MB / 0.9171 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/49.85, allocations: 8.594 kB / 19 GB, free: 124.6 MB / 0.9171 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00745/49.86, allocations: 1.181 MB / 19.01 GB, free: 124.2 MB / 0.9171 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.01232/49.87, allocations: 3.875 MB / 19.01 GB, free: 123.5 MB / 0.9171 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004446/49.87, allocations: 201.4 kB / 19.01 GB, free: 123.5 MB / 0.9171 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/49.87, allocations: 351.8 kB / 19.01 GB, free: 123.5 MB / 0.9171 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02131/49.89, allocations: 10.3 MB / 19.02 GB, free: 123.5 MB / 0.9171 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02449/49.92, allocations: 9.457 MB / 19.03 GB, free: 122.9 MB / 0.9171 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001716/49.92, allocations: 13.62 kB / 19.03 GB, free: 122.9 MB / 0.9171 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00152/49.92, allocations: 4.312 kB / 19.03 GB, free: 122.9 MB / 0.9171 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007975/49.92, allocations: 0.4901 MB / 19.03 GB, free: 122.9 MB / 0.9171 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.07327/49.99, allocations: 43.4 MB / 19.07 GB, free: 96.22 MB / 0.9171 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01105/50, allocations: 7.13 MB / 19.08 GB, free: 90.14 MB / 0.9171 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007087/50.01, allocations: 5.132 MB / 19.08 GB, free: 85.61 MB / 0.9171 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006191/50.02, allocations: 5.479 MB / 19.09 GB, free: 79.61 MB / 0.9171 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.015e-05/50.02, allocations: 86.78 kB / 19.09 GB, free: 79.51 MB / 0.9171 GB Notification: Performance of pre-optimization done (n=687): time 1.169e-05/50.02, allocations: 4 kB / 19.09 GB, free: 79.51 MB / 0.9171 GB Notification: Performance of matching and sorting (n=687): time 0.02617/50.04, allocations: 11.67 MB / 19.1 GB, free: 69.77 MB / 0.9171 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/50.04, allocations: 163 kB / 19.1 GB, free: 69.59 MB / 0.9171 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/50.05, allocations: 2.473 MB / 19.1 GB, free: 67.46 MB / 0.9171 GB Notification: Performance of collectPreVariables (initialization): time 0.001399/50.05, allocations: 29.7 kB / 19.1 GB, free: 67.43 MB / 0.9171 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/50.05, allocations: 2.115 MB / 19.11 GB, free: 65.54 MB / 0.9171 GB Notification: Performance of collectInitialBindings (initialization): time 0.002643/50.05, allocations: 2.217 MB / 19.11 GB, free: 63.49 MB / 0.9171 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004882/50.05, allocations: 3.938 kB / 19.11 GB, free: 63.49 MB / 0.9171 GB Notification: Performance of setup shared object (initialization): time 0.0003846/50.05, allocations: 0.5935 MB / 19.11 GB, free: 62.98 MB / 0.9171 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005763/50.06, allocations: 4.74 MB / 19.11 GB, free: 58.88 MB / 0.9171 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007836/50.07, allocations: 5.994 MB / 19.12 GB, free: 53.18 MB / 0.9171 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.01729/50.08, allocations: 8.607 MB / 19.13 GB, free: 45.72 MB / 0.9171 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.78e-05/50.08, allocations: 8 kB / 19.13 GB, free: 45.71 MB / 0.9171 GB Notification: Performance of matching and sorting (n=923) (initialization): time 0.02889/50.11, allocations: 13.51 MB / 19.14 GB, free: 34.44 MB / 0.9171 GB Notification: Performance of prepare postOptimizeDAE: time 0.002237/50.12, allocations: 13.15 MB / 19.15 GB, free: 19.9 MB / 0.9171 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.757e-05/50.12, allocations: 36 kB / 19.15 GB, free: 19.86 MB / 0.9171 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001916/50.12, allocations: 0.8682 MB / 19.15 GB, free: 19.12 MB / 0.9171 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007383/50.12, allocations: 1.787 MB / 19.16 GB, free: 17.71 MB / 0.9171 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/50.14, allocations: 20.06 MB / 19.18 GB, free: 13.64 MB / 0.9328 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008334/50.15, allocations: 0.8586 MB / 19.18 GB, free: 12.93 MB / 0.9328 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002936/50.15, allocations: 482.8 kB / 19.18 GB, free: 12.52 MB / 0.9328 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/50.15, allocations: 6.344 kB / 19.18 GB, free: 12.52 MB / 0.9328 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03293/50.18, allocations: 13 MB / 19.19 GB, free: 1.75 MB / 0.9328 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/50.18, allocations: 32 kB / 19.19 GB, free: 1.719 MB / 0.9328 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00192/50.18, allocations: 0.874 MB / 19.19 GB, free: 0.9766 MB / 0.9328 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00788/50.19, allocations: 1.791 MB / 19.19 GB, free: 15.61 MB / 0.9484 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6513/50.84, allocations: 20.02 MB / 19.21 GB, free: 155.3 MB / 0.9484 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008483/50.85, allocations: 0.7969 MB / 19.21 GB, free: 155.3 MB / 0.9484 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002672/50.86, allocations: 486.6 kB / 19.21 GB, free: 155.3 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.002721/50.86, allocations: 371 kB / 19.21 GB, free: 155.1 MB / 0.9484 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002433/50.86, allocations: 453.2 kB / 19.21 GB, free: 155.1 MB / 0.9484 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04266/50.9, allocations: 15.31 MB / 19.23 GB, free: 154.8 MB / 0.9484 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02957/50.93, allocations: 12.15 MB / 19.24 GB, free: 154.4 MB / 0.9484 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.964e-05/50.93, allocations: 9.344 kB / 19.24 GB, free: 154.4 MB / 0.9484 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001766/50.93, allocations: 34.95 kB / 19.24 GB, free: 154.4 MB / 0.9484 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05405/50.99, allocations: 24.09 MB / 19.26 GB, free: 152.3 MB / 0.9484 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/50.99, allocations: 3.156 kB / 19.26 GB, free: 152.3 MB / 0.9484 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006262/50.99, allocations: 1.504 MB / 19.27 GB, free: 152.3 MB / 0.9484 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/51, allocations: 0.8304 MB / 19.27 GB, free: 152.2 MB / 0.9484 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001218/51, allocations: 205.8 kB / 19.27 GB, free: 152.2 MB / 0.9484 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/51.01, allocations: 19.89 MB / 19.29 GB, free: 137.7 MB / 0.9484 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/51.01, allocations: 0 / 19.29 GB, free: 137.7 MB / 0.9484 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03787/51.05, allocations: 19.91 MB / 19.31 GB, free: 134.7 MB / 0.9484 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005825/51.05, allocations: 1.824 MB / 19.31 GB, free: 133.7 MB / 0.9484 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00185/51.06, allocations: 32.14 kB / 19.31 GB, free: 133.7 MB / 0.9484 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005526/51.06, allocations: 0.6594 MB / 19.31 GB, free: 133.6 MB / 0.9484 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/51.06, allocations: 0.5524 MB / 19.31 GB, free: 133.5 MB / 0.9484 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001032/51.06, allocations: 429.2 kB / 19.31 GB, free: 133.5 MB / 0.9484 GB Notification: Performance of sorting global known variables: time 0.00324/51.07, allocations: 1.788 MB / 19.31 GB, free: 132.8 MB / 0.9484 GB Notification: Performance of sort global known variables: time 3.81e-07/51.07, allocations: 4.656 kB / 19.31 GB, free: 132.8 MB / 0.9484 GB Notification: Performance of remove unused functions: time 0.04923/51.12, allocations: 5.997 MB / 19.32 GB, free: 131.9 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].fore.state_rearwards.phase,discretizedHEX.thermalElementB[8].state.phase,discretizedHEX.thermalElementB[7].state.phase,discretizedHEX.thermalElementB[6].fore.state_rearwards.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].fore.state_rearwards.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[3].fore.state_rearwards.phase,discretizedHEX.thermalElementB[7].fore.state_rearwards.phase,discretizedHEX.thermalElementB[3].fore.state_forwards.phase,discretizedHEX.thermalElementB[5].fore.state_forwards.phase,discretizedHEX.thermalElementB[7].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[6].fore.state_forwards.phase,discretizedHEX.thermalElementB[4].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.2401/51.36, allocations: 39.46 MB / 19.36 GB, free: 113.3 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_Rear$boundary__fore$rear_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_Rear$boundary__fore$rear_Medium_ThermodynamicState1701.X Notification: Performance of simCode: created initialization part: time 0.04024/51.4, allocations: 23.35 MB / 19.38 GB, free: 101.4 MB / 0.9484 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/51.4, allocations: 0 / 19.38 GB, free: 101.4 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_Rear$boundary__fore$rear_Medium_ThermodynamicState2732.X Notification: Performance of simCode: created simulation system equations: time 0.01348/51.41, allocations: 7.692 MB / 19.39 GB, free: 97.75 MB / 0.9484 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01502/51.43, allocations: 2.387 MB / 19.39 GB, free: 97.32 MB / 0.9484 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeMain.mo:290:3-290:155:writable] Error: Internal error Stack overflow in SimCodeMain.generateModelCode... [bt] #1 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_setStacktraceMessages_threadData) [bt] #2 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaRuntimeC.so(mmc_do_stackoverflow) [bt] #3 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.getVar2) [bt] #4 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendVariable.getVarSingle) [bt] #5...1024 /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(SimCodeUtil.replaceCrefWithStartValue) [bt] #1025 [...]