Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PI1.x|Time|boundary_fore1.rear.m_flow|boundary_rear.fore.m_flow|discretizedHEX.thermalElementA.10..h|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementA.6..h|discretizedHEX.thermalElementA.7..h|discretizedHEX.thermalElementA.8..h|discretizedHEX.thermalElementA.9..h|discretizedHEX.thermalElementB.10..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX.thermalElementB.6..h|discretizedHEX.thermalElementB.7..h|discretizedHEX.thermalElementB.8..h|discretizedHEX.thermalElementB.9..h",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX") translateModel(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PI1.x|Time|boundary_fore1.rear.m_flow|boundary_rear.fore.m_flow|discretizedHEX.thermalElementA.10..h|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementA.6..h|discretizedHEX.thermalElementA.7..h|discretizedHEX.thermalElementA.8..h|discretizedHEX.thermalElementA.9..h|discretizedHEX.thermalElementB.10..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX.thermalElementB.6..h|discretizedHEX.thermalElementB.7..h|discretizedHEX.thermalElementB.8..h|discretizedHEX.thermalElementB.9..h",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 188 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6118/0.6118, allocations: 89.64 MB / 381.7 MB, free: 11.31 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 10.44 kB / 461.3 MB, free: 24.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 68.82 MB / 0.5177 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX): time 0.4976/0.6016, allocations: 264.1 MB / 0.7756 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3593/0.9609, allocations: 63.24 MB / 0.8374 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00227/0.9632, allocations: 34.69 kB / 0.8374 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00403/0.9673, allocations: 1.477 MB / 0.8388 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02163/0.9889, allocations: 7.16 MB / 0.8458 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02123/1.01, allocations: 6.622 MB / 0.8523 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01317/1.023, allocations: 15.75 MB / 0.8677 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/1.027, allocations: 2.854 MB / 0.8705 GB, free: 16.44 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009195/1.036, allocations: 4.344 MB / 0.8747 GB, free: 16.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007108/1.043, allocations: 4.214 MB / 0.8788 GB, free: 16.12 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001377/1.045, allocations: 250.8 kB / 0.8791 GB, free: 16.12 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.09627/1.141, allocations: 67.71 MB / 0.9452 GB, free: 10.37 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002893/1.144, allocations: 1.445 MB / 0.9466 GB, free: 9.332 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.006812/1.151, allocations: 3.434 MB / 0.9499 GB, free: 6.742 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.06377/1.214, allocations: 32.95 MB / 0.9821 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.214, allocations: 0 / 0.9821 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.304e-06/1.214, allocations: 0 / 0.9821 GB, free: 8.109 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002871/1.215, allocations: 0 / 0.9821 GB, free: 8.109 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1667 * Number of variables: 1667 Notification: Performance of Generate backend data structure: time 0.03392/1.249, allocations: 9.362 MB / 0.9913 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/1.249, allocations: 8.031 kB / 0.9913 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00601/1.255, allocations: 1.17 MB / 0.9924 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006627/1.261, allocations: 3.347 MB / 0.9957 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004044/1.262, allocations: 460.2 kB / 0.9961 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/1.264, allocations: 0.5669 MB / 0.9967 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02181/1.286, allocations: 11.26 MB / 1.008 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/1.286, allocations: 11.19 kB / 1.008 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000663/1.286, allocations: 242.8 kB / 1.008 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006053/1.287, allocations: 0.499 MB / 1.008 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02457/1.312, allocations: 12.39 MB / 1.02 GB, free: 4.301 MB / 0.7325 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.06483/1.376, allocations: 45.32 MB / 1.065 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01527/1.392, allocations: 7.978 MB / 1.073 GB, free: 11.98 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01059/1.402, allocations: 5.718 MB / 1.078 GB, free: 6.254 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2447/1.647, allocations: 9.39 MB / 1.087 GB, free: 368.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.578e-05/1.647, allocations: 87.72 kB / 1.087 GB, free: 368 MB / 0.795 GB Notification: Performance of pre-optimization done (n=694): time 1.15e-05/1.647, allocations: 0 / 1.087 GB, free: 368 MB / 0.795 GB Notification: Performance of matching and sorting (n=694): time 0.03541/1.683, allocations: 18.02 MB / 1.105 GB, free: 364.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/1.683, allocations: 157.9 kB / 1.105 GB, free: 364.7 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003916/1.687, allocations: 2.9 MB / 1.108 GB, free: 363.7 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001222/1.688, allocations: 117.9 kB / 1.108 GB, free: 363.6 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/1.689, allocations: 2.225 MB / 1.11 GB, free: 362.1 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002316/1.692, allocations: 2.301 MB / 1.112 GB, free: 360.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008446/1.692, allocations: 0.5321 MB / 1.113 GB, free: 360.1 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.809e-05/1.692, allocations: 301.1 kB / 1.113 GB, free: 359.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008156/1.701, allocations: 5.016 MB / 1.118 GB, free: 358.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008127/1.709, allocations: 6.141 MB / 1.124 GB, free: 355.3 MB / 0.795 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.thermalElementB[10].deltaE_system = $START.discretizedHEX.thermalElementB[10].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[10].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[9].deltaE_system = $START.discretizedHEX.thermalElementB[9].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[9].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[8].deltaE_system = $START.discretizedHEX.thermalElementB[8].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[8].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[7].deltaE_system = $START.discretizedHEX.thermalElementB[7].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[7].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[6].deltaE_system = $START.discretizedHEX.thermalElementB[6].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[6].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[5].deltaE_system = $START.discretizedHEX.thermalElementB[5].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[5].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[4].deltaE_system = $START.discretizedHEX.thermalElementB[4].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[4].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[3].deltaE_system = $START.discretizedHEX.thermalElementB[3].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[2].deltaE_system = $START.discretizedHEX.thermalElementB[2].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[1].deltaE_system = $START.discretizedHEX.thermalElementB[1].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[10].deltaE_system = $START.discretizedHEX.thermalElementA[10].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[10].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[9].deltaE_system = $START.discretizedHEX.thermalElementA[9].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[9].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[8].deltaE_system = $START.discretizedHEX.thermalElementA[8].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[8].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[7].deltaE_system = $START.discretizedHEX.thermalElementA[7].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[7].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[6].deltaE_system = $START.discretizedHEX.thermalElementA[6].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[6].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[5].deltaE_system = $START.discretizedHEX.thermalElementA[5].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[5].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[4].deltaE_system = $START.discretizedHEX.thermalElementA[4].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[4].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[3].deltaE_system = $START.discretizedHEX.thermalElementA[3].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[2].deltaE_system = $START.discretizedHEX.thermalElementA[2].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[1].deltaE_system = $START.discretizedHEX.thermalElementA[1].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[1].deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/1.727, allocations: 13.51 MB / 1.137 GB, free: 347.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.955e-05/1.727, allocations: 7.438 kB / 1.137 GB, free: 347.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=852) (initialization): time 0.02183/1.749, allocations: 12.82 MB / 1.15 GB, free: 338.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003502/1.75, allocations: 0.9272 MB / 1.151 GB, free: 336.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/1.75, allocations: 24 kB / 1.151 GB, free: 336.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/1.751, allocations: 0.9084 MB / 1.152 GB, free: 335.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00552/1.757, allocations: 1.422 MB / 1.153 GB, free: 334.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/1.77, allocations: 21.19 MB / 1.174 GB, free: 311.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/1.776, allocations: 0.9836 MB / 1.175 GB, free: 310.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001329/1.777, allocations: 345.9 kB / 1.175 GB, free: 310.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/1.777, allocations: 4 kB / 1.175 GB, free: 310.6 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01995/1.797, allocations: 12.36 MB / 1.187 GB, free: 298.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-05/1.797, allocations: 24 kB / 1.187 GB, free: 298.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001746/1.799, allocations: 0.9076 MB / 1.188 GB, free: 297.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005361/1.804, allocations: 1.412 MB / 1.189 GB, free: 295.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/1.818, allocations: 21.2 MB / 1.21 GB, free: 273.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006295/1.824, allocations: 0.9206 MB / 1.211 GB, free: 272.2 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/1.826, allocations: 337.5 kB / 1.211 GB, free: 271.9 MB / 0.795 GB Warning: The initial conditions are over specified. The following 20 initial equations are redundant, so they are removed from the initialization sytem: discretizedHEX.thermalElementB[10].deltaE_system = $START.discretizedHEX.thermalElementB[10].deltaE_system discretizedHEX.thermalElementB[9].deltaE_system = $START.discretizedHEX.thermalElementB[9].deltaE_system discretizedHEX.thermalElementB[8].deltaE_system = $START.discretizedHEX.thermalElementB[8].deltaE_system discretizedHEX.thermalElementB[7].deltaE_system = $START.discretizedHEX.thermalElementB[7].deltaE_system discretizedHEX.thermalElementB[6].deltaE_system = $START.discretizedHEX.thermalElementB[6].deltaE_system discretizedHEX.thermalElementB[5].deltaE_system = $START.discretizedHEX.thermalElementB[5].deltaE_system discretizedHEX.thermalElementB[4].deltaE_system = $START.discretizedHEX.thermalElementB[4].deltaE_system discretizedHEX.thermalElementB[3].deltaE_system = $START.discretizedHEX.thermalElementB[3].deltaE_system discretizedHEX.thermalElementB[2].deltaE_system = $START.discretizedHEX.thermalElementB[2].deltaE_system discretizedHEX.thermalElementB[1].deltaE_system = $START.discretizedHEX.thermalElementB[1].deltaE_system discretizedHEX.thermalElementA[10].deltaE_system = $START.discretizedHEX.thermalElementA[10].deltaE_system discretizedHEX.thermalElementA[9].deltaE_system = $START.discretizedHEX.thermalElementA[9].deltaE_system discretizedHEX.thermalElementA[8].deltaE_system = $START.discretizedHEX.thermalElementA[8].deltaE_system discretizedHEX.thermalElementA[7].deltaE_system = $START.discretizedHEX.thermalElementA[7].deltaE_system discretizedHEX.thermalElementA[6].deltaE_system = $START.discretizedHEX.thermalElementA[6].deltaE_system discretizedHEX.thermalElementA[5].deltaE_system = $START.discretizedHEX.thermalElementA[5].deltaE_system discretizedHEX.thermalElementA[4].deltaE_system = $START.discretizedHEX.thermalElementA[4].deltaE_system discretizedHEX.thermalElementA[3].deltaE_system = $START.discretizedHEX.thermalElementA[3].deltaE_system discretizedHEX.thermalElementA[2].deltaE_system = $START.discretizedHEX.thermalElementA[2].deltaE_system discretizedHEX.thermalElementA[1].deltaE_system = $START.discretizedHEX.thermalElementA[1].deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 38 (multiSensor_Tpm3.state.phase,multiSensor_Tpm3.fore.state_forwards.phase,multiSensor_Tpm3.rear.state_rearwards.phase,multiSensor_Tpm2.state.phase,multiSensor_Tpm2.fore.state_forwards.phase,multiSensor_Tpm2.rear.state_rearwards.phase,discretizedHEX.thermalElementB[10].state.phase,discretizedHEX.thermalElementB[9].state.phase,discretizedHEX.thermalElementB[9].fore.state_forwards.phase,discretizedHEX.thermalElementB[9].fore.state_rearwards.phase,discretizedHEX.thermalElementB[8].state.phase,discretizedHEX.thermalElementB[8].fore.state_forwards.phase,discretizedHEX.thermalElementB[8].fore.state_rearwards.phase,discretizedHEX.thermalElementB[7].state.phase,discretizedHEX.thermalElementB[7].fore.state_forwards.phase,discretizedHEX.thermalElementB[7].fore.state_rearwards.phase,discretizedHEX.thermalElementB[6].state.phase,discretizedHEX.thermalElementB[6].fore.state_forwards.phase,discretizedHEX.thermalElementB[6].fore.state_rearwards.phase,discretizedHEX.thermalElementB[5].state.phase,discretizedHEX.thermalElementB[5].fore.state_forwards.phase,discretizedHEX.thermalElementB[5].fore.state_rearwards.phase,discretizedHEX.thermalElementB[4].state.phase,discretizedHEX.thermalElementB[4].fore.state_forwards.phase,discretizedHEX.thermalElementB[4].fore.state_rearwards.phase,discretizedHEX.thermalElementB[3].state.phase,discretizedHEX.thermalElementB[3].fore.state_forwards.phase,discretizedHEX.thermalElementB[3].fore.state_rearwards.phase,discretizedHEX.thermalElementB[2].state.phase,discretizedHEX.thermalElementB[2].fore.state_forwards.phase,discretizedHEX.thermalElementB[2].fore.state_rearwards.phase,discretizedHEX.thermalElementB[1].state.phase,discretizedHEX.thermalElementB[1].fore.state_forwards.phase,discretizedHEX.thermalElementB[1].fore.state_rearwards.phase,discretizedHEX.stateB_out.phase,discretizedHEX.stateB_in.phase,boundary_fore1.rear.state_forwards.phase,boundary_fore1.rear.state_rearwards.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (640): * Single equations (assignments): 562 * Array equations: 26 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,12,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004872/1.83, allocations: 2.294 MB / 1.214 GB, free: 269.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00139/1.832, allocations: 458.3 kB / 1.214 GB, free: 269.1 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02707/1.859, allocations: 17.92 MB / 1.232 GB, free: 251.4 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02028/1.879, allocations: 12.47 MB / 1.244 GB, free: 238.9 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.52e-05/1.879, allocations: 15.94 kB / 1.244 GB, free: 238.9 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001072/1.879, allocations: 35.86 kB / 1.244 GB, free: 238.9 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03887/1.918, allocations: 25.73 MB / 1.269 GB, free: 212.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/1.918, allocations: 4 kB / 1.269 GB, free: 212.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00569/1.924, allocations: 1.436 MB / 1.27 GB, free: 211.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/1.926, allocations: 0.85 MB / 1.271 GB, free: 210.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/1.927, allocations: 275.5 kB / 1.271 GB, free: 210.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/1.94, allocations: 21.01 MB / 1.292 GB, free: 187.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.94, allocations: 3.938 kB / 1.292 GB, free: 187.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03375/1.974, allocations: 20.8 MB / 1.312 GB, free: 166.7 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004113/1.978, allocations: 1.847 MB / 1.314 GB, free: 164.8 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00123/1.979, allocations: 153.6 kB / 1.314 GB, free: 164.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005227/1.985, allocations: 0.7859 MB / 1.315 GB, free: 163.8 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/1.986, allocations: 0.5246 MB / 1.315 GB, free: 163.3 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007285/1.987, allocations: 299.8 kB / 1.316 GB, free: 163 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002446/1.989, allocations: 1.989 MB / 1.318 GB, free: 161 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.989, allocations: 0 / 1.318 GB, free: 161 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01916/2.008, allocations: 5.864 MB / 1.323 GB, free: 155.5 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 24 (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,discretizedHEX.thermalElementB[1].rear.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,PI1.x,PI.x) * Number of discrete variables: 72 (discretizedHEX.thermalElementB[7].fore.state_rearwards.phase,discretizedHEX.thermalElementB[5].fore.state_rearwards.phase,discretizedHEX.thermalElementB[3].fore.state_rearwards.phase,discretizedHEX.thermalElementB[2].fore.state_rearwards.phase,discretizedHEX.thermalElementB[1].fore.state_rearwards.phase,multiSensor_Tpm2.rear.state_rearwards.phase,discretizedHEX.thermalElementB[1].state.phase,discretizedHEX.thermalElementB[2].state.phase,discretizedHEX.thermalElementB[3].state.phase,discretizedHEX.thermalElementB[4].state.phase,discretizedHEX.thermalElementB[4].fore.state_rearwards.phase,discretizedHEX.thermalElementB[5].state.phase,discretizedHEX.thermalElementB[6].state.phase,discretizedHEX.thermalElementB[6].fore.state_rearwards.phase,discretizedHEX.thermalElementB[7].state.phase,discretizedHEX.thermalElementB[8].state.phase,discretizedHEX.thermalElementB[8].fore.state_rearwards.phase,discretizedHEX.thermalElementB[9].state.phase,discretizedHEX.thermalElementB[9].fore.state_rearwards.phase,discretizedHEX.thermalElementB[10].state.phase,multiSensor_Tpm3.rear.state_rearwards.phase,boundary_fore1.rear.state_rearwards.phase,multiSensor_Tpm2.fore.state_forwards.phase,discretizedHEX.thermalElementB[4].fore.state_forwards.phase,discretizedHEX.thermalElementB[6].fore.state_forwards.phase,discretizedHEX.thermalElementB[7].fore.state_forwards.phase,discretizedHEX.thermalElementB[8].fore.state_forwards.phase,boundary_fore1.rear.state_forwards.phase,multiSensor_Tpm3.fore.state_forwards.phase,discretizedHEX.thermalElementB[9].fore.state_forwards.phase,discretizedHEX.thermalElementB[5].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,$cse1.phase,$cse2.phase,$cse9.phase,$cse10.phase,$cse11.phase,$cse12.phase,$cse13.phase,$cse14.phase,$cse15.phase,$cse16.phase,$cse17.phase,$cse18.phase,$cse19.phase,$cse20.phase,$cse21.phase,$cse22.phase,$cse23.phase,$cse24.phase,$cse25.phase,$cse26.phase,$cse27.phase,$cse28.phase,$cse29.phase,$cse30.phase,$cse31.phase,$cse32.phase,$cse33.phase,$cse34.phase,$cse35.phase,$cse36.phase,$cse37.phase,$cse38.phase,$cse41.phase,$cse42.phase,discretizedHEX.stateB_in.phase,discretizedHEX.stateB_out.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 (685): * Single equations (assignments): 597 * Array equations: 26 * Algorithm blocks: 0 * Record equations: 50 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.06908/2.077, allocations: 13.87 MB / 1.337 GB, free: 142.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.034/2.111, allocations: 25.86 MB / 1.362 GB, free: 115.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/2.111, allocations: 4 kB / 1.362 GB, free: 115.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01163/2.123, allocations: 8.33 MB / 1.37 GB, free: 106.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.016/2.139, allocations: 2.853 MB / 1.373 GB, free: 103.9 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/2.178, allocations: 21.99 MB / 1.395 GB, free: 81.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004792/2.183, allocations: 4.908 MB / 1.399 GB, free: 76.96 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003161/2.186, allocations: 0.7294 MB / 1.4 GB, free: 76.23 MB / 0.795 GB Notification: Performance of SimCode: time 7.42e-07/2.186, allocations: 0 / 1.4 GB, free: 76.23 MB / 0.795 GB Notification: Performance of Templates: time 0.9764/3.162, allocations: 0.6011 GB / 2.001 GB, free: 174.2 MB / 0.795 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.sim & ./ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches