Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000906/0.0009063, allocations: 176.1 kB / 15.43 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.7 MB / 241.9 MB, free: 14.67 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007764/0.0007763, allocations: 96.59 kB / 293 MB, free: 4.801 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6959/0.6959, allocations: 91.64 MB / 435.8 MB, free: 32.76 MB / 346.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002913, allocations: 8 kB / 0.5038 GB, free: 4.145 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3314, allocations: 69.3 MB / 0.5715 GB, free: 33.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX): time 0.5659/0.8973, allocations: 285.9 MB / 0.8506 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0682/0.9656, allocations: 77.03 MB / 0.9258 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00244/0.968, allocations: 29.59 kB / 0.9259 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.9718, allocations: 1.407 MB / 0.9272 GB, free: 3.645 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.02345/0.9953, allocations: 7.489 MB / 0.9346 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01954/1.015, allocations: 5.557 MB / 0.94 GB, free: 416 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0154/1.03, allocations: 15.67 MB / 0.9553 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/1.034, allocations: 2.812 MB / 0.958 GB, free: 2.504 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009516/1.044, allocations: 4.603 MB / 0.9625 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006866/1.051, allocations: 4.178 MB / 0.9666 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001216/1.052, allocations: 248 kB / 0.9668 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.116/1.168, allocations: 69.15 MB / 1.034 GB, free: 9.996 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002892/1.171, allocations: 1.421 MB / 1.036 GB, free: 8.934 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.006964/1.178, allocations: 3.402 MB / 1.039 GB, free: 5.641 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.4891/1.667, allocations: 54.35 MB / 1.092 GB, free: 107.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.667, allocations: 0.5312 kB / 1.092 GB, free: 107.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.527e-06/1.667, allocations: 0 / 1.092 GB, free: 107.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003334/1.667, allocations: 0.9688 kB / 1.092 GB, free: 107.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1648 * Number of variables: 1648 Notification: Performance of Generate backend data structure: time 0.04067/1.708, allocations: 9.704 MB / 1.102 GB, free: 102.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/1.708, allocations: 13.67 kB / 1.102 GB, free: 102.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006267/1.714, allocations: 1.18 MB / 1.103 GB, free: 101.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006596/1.721, allocations: 3.254 MB / 1.106 GB, free: 100.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004277/1.722, allocations: 444.6 kB / 1.106 GB, free: 100.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002227/1.724, allocations: 0.5729 MB / 1.107 GB, free: 100.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02171/1.746, allocations: 11.2 MB / 1.118 GB, free: 93.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/1.746, allocations: 13.23 kB / 1.118 GB, free: 93.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001104/1.747, allocations: 238.1 kB / 1.118 GB, free: 93.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004625/1.747, allocations: 0.496 MB / 1.119 GB, free: 93.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02228/1.77, allocations: 12.35 MB / 1.131 GB, free: 84.58 MB / 0.698 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.05776/1.827, allocations: 45.27 MB / 1.175 GB, free: 45.34 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/1.84, allocations: 7.802 MB / 1.183 GB, free: 40.05 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008481/1.849, allocations: 5.66 MB / 1.188 GB, free: 36.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007104/1.856, allocations: 8.419 MB / 1.196 GB, free: 26.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.39e-05/1.856, allocations: 88.84 kB / 1.196 GB, free: 26.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=687): time 1.348e-05/1.856, allocations: 0 / 1.196 GB, free: 26.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=687): time 0.03396/1.89, allocations: 17.91 MB / 1.214 GB, free: 13.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.282e-05/1.89, allocations: 159 kB / 1.214 GB, free: 13.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/1.894, allocations: 2.718 MB / 1.217 GB, free: 11.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001235/1.895, allocations: 118.1 kB / 1.217 GB, free: 11.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001394/1.897, allocations: 2.189 MB / 1.219 GB, free: 9.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00258/1.899, allocations: 2.276 MB / 1.221 GB, free: 7.539 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00105/1.9, allocations: 109.4 kB / 1.221 GB, free: 7.52 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0004355/1.901, allocations: 0.57 MB / 1.222 GB, free: 7.047 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008374/1.909, allocations: 4.951 MB / 1.227 GB, free: 3.695 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009558/1.919, allocations: 6.073 MB / 1.233 GB, free: 14.98 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[10].deltaE_system = $START.discretizedHEX.thermalElementA[10].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[10].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[9].deltaE_system = $START.discretizedHEX.thermalElementA[9].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[9].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[8].deltaE_system = $START.discretizedHEX.thermalElementA[8].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[8].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[7].deltaE_system = $START.discretizedHEX.thermalElementA[7].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[7].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[6].deltaE_system = $START.discretizedHEX.thermalElementA[6].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[6].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[5].deltaE_system = $START.discretizedHEX.thermalElementA[5].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[5].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[4].deltaE_system = $START.discretizedHEX.thermalElementA[4].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[4].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[3].deltaE_system = $START.discretizedHEX.thermalElementA[3].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[2].deltaE_system = $START.discretizedHEX.thermalElementA[2].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementA[1].deltaE_system = $START.discretizedHEX.thermalElementA[1].deltaE_system (0.0 = $START.discretizedHEX.thermalElementA[1].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[10].deltaE_system = $START.discretizedHEX.thermalElementB[10].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[10].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[9].deltaE_system = $START.discretizedHEX.thermalElementB[9].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[9].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[8].deltaE_system = $START.discretizedHEX.thermalElementB[8].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[8].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[7].deltaE_system = $START.discretizedHEX.thermalElementB[7].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[7].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[6].deltaE_system = $START.discretizedHEX.thermalElementB[6].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[6].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[5].deltaE_system = $START.discretizedHEX.thermalElementB[5].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[5].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[4].deltaE_system = $START.discretizedHEX.thermalElementB[4].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[4].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[3].deltaE_system = $START.discretizedHEX.thermalElementB[3].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[3].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[2].deltaE_system = $START.discretizedHEX.thermalElementB[2].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[2].deltaE_system) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX.thermalElementB[1].deltaE_system = $START.discretizedHEX.thermalElementB[1].deltaE_system (0.0 = $START.discretizedHEX.thermalElementB[1].deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.02131/1.94, allocations: 13.39 MB / 1.246 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.715e-05/1.94, allocations: 12 kB / 1.246 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=843) (initialization): time 0.02785/1.968, allocations: 12.73 MB / 1.258 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007327/1.969, allocations: 0.9158 MB / 1.259 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.319e-05/1.969, allocations: 27.94 kB / 1.259 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/1.971, allocations: 0.8981 MB / 1.26 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005946/1.977, allocations: 1.485 MB / 1.261 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/1.995, allocations: 20.94 MB / 1.282 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006436/2.002, allocations: 0.9697 MB / 1.283 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/2.004, allocations: 467.3 kB / 1.283 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/2.004, allocations: 4 kB / 1.283 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02725/2.031, allocations: 12.29 MB / 1.295 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.885e-05/2.031, allocations: 32.06 kB / 1.295 GB, free: 0.8203 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002144/2.033, allocations: 0.9015 MB / 1.296 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006313/2.04, allocations: 1.464 MB / 1.298 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/2.058, allocations: 20.95 MB / 1.318 GB, free: 8.047 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006332/2.065, allocations: 0.9049 MB / 1.319 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002079/2.067, allocations: 466.9 kB / 1.319 GB, free: 6.691 MB / 0.7917 GB Warning: The initial conditions are over specified. The following 20 initial equations are redundant, so they are removed from the initialization sytem: discretizedHEX.thermalElementA[10].deltaE_system = $START.discretizedHEX.thermalElementA[10].deltaE_system discretizedHEX.thermalElementA[9].deltaE_system = $START.discretizedHEX.thermalElementA[9].deltaE_system discretizedHEX.thermalElementA[8].deltaE_system = $START.discretizedHEX.thermalElementA[8].deltaE_system discretizedHEX.thermalElementA[7].deltaE_system = $START.discretizedHEX.thermalElementA[7].deltaE_system discretizedHEX.thermalElementA[6].deltaE_system = $START.discretizedHEX.thermalElementA[6].deltaE_system discretizedHEX.thermalElementA[5].deltaE_system = $START.discretizedHEX.thermalElementA[5].deltaE_system discretizedHEX.thermalElementA[4].deltaE_system = $START.discretizedHEX.thermalElementA[4].deltaE_system discretizedHEX.thermalElementA[3].deltaE_system = $START.discretizedHEX.thermalElementA[3].deltaE_system discretizedHEX.thermalElementA[2].deltaE_system = $START.discretizedHEX.thermalElementA[2].deltaE_system discretizedHEX.thermalElementA[1].deltaE_system = $START.discretizedHEX.thermalElementA[1].deltaE_system discretizedHEX.thermalElementB[10].deltaE_system = $START.discretizedHEX.thermalElementB[10].deltaE_system discretizedHEX.thermalElementB[9].deltaE_system = $START.discretizedHEX.thermalElementB[9].deltaE_system discretizedHEX.thermalElementB[8].deltaE_system = $START.discretizedHEX.thermalElementB[8].deltaE_system discretizedHEX.thermalElementB[7].deltaE_system = $START.discretizedHEX.thermalElementB[7].deltaE_system discretizedHEX.thermalElementB[6].deltaE_system = $START.discretizedHEX.thermalElementB[6].deltaE_system discretizedHEX.thermalElementB[5].deltaE_system = $START.discretizedHEX.thermalElementB[5].deltaE_system discretizedHEX.thermalElementB[4].deltaE_system = $START.discretizedHEX.thermalElementB[4].deltaE_system discretizedHEX.thermalElementB[3].deltaE_system = $START.discretizedHEX.thermalElementB[3].deltaE_system discretizedHEX.thermalElementB[2].deltaE_system = $START.discretizedHEX.thermalElementB[2].deltaE_system discretizedHEX.thermalElementB[1].deltaE_system = $START.discretizedHEX.thermalElementB[1].deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 36 (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].fore.state_rearwards.phase,discretizedHEX.thermalElementB[9].fore.state_forwards.phase,discretizedHEX.thermalElementB[9].state.phase,discretizedHEX.thermalElementB[10].state.phase,multiSensor_Tpm2.rear.state_rearwards.phase,multiSensor_Tpm2.fore.state_forwards.phase,multiSensor_Tpm2.state.phase,multiSensor_Tpm3.rear.state_rearwards.phase,multiSensor_Tpm3.fore.state_forwards.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 (639): * Single equations (assignments): 563 * Array equations: 26 * Algorithm blocks: 0 * Record equations: 38 * 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.006215/2.073, allocations: 2.278 MB / 1.322 GB, free: 4.477 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002011/2.075, allocations: 450.5 kB / 1.322 GB, free: 4.031 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2878/2.363, allocations: 15.65 MB / 1.337 GB, free: 330.3 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02128/2.384, allocations: 12.43 MB / 1.349 GB, free: 329.9 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/2.384, allocations: 10.97 kB / 1.349 GB, free: 329.9 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.635e-05/2.384, allocations: 39.89 kB / 1.349 GB, free: 329.9 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0415/2.426, allocations: 25.64 MB / 1.374 GB, free: 320 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.593e-05/2.426, allocations: 2.406 kB / 1.374 GB, free: 320 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005713/2.432, allocations: 1.52 MB / 1.376 GB, free: 319.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/2.434, allocations: 0.8393 MB / 1.377 GB, free: 319.7 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/2.435, allocations: 300.3 kB / 1.377 GB, free: 319.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/2.448, allocations: 20.79 MB / 1.397 GB, free: 301.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/2.448, allocations: 0 / 1.397 GB, free: 301.8 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03141/2.48, allocations: 20.84 MB / 1.418 GB, free: 294.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004305/2.484, allocations: 1.885 MB / 1.42 GB, free: 292.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001633/2.486, allocations: 152.3 kB / 1.42 GB, free: 292.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005082/2.491, allocations: 0.7745 MB / 1.42 GB, free: 292.1 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00162/2.493, allocations: 0.5588 MB / 1.421 GB, free: 291.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001344/2.494, allocations: 426 kB / 1.421 GB, free: 291.4 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003365/2.497, allocations: 1.833 MB / 1.423 GB, free: 289.9 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.11e-07/2.497, allocations: 0 / 1.423 GB, free: 289.9 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.02858/2.526, allocations: 5.88 MB / 1.429 GB, free: 284.5 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 24 (flowResistanceA.rear.m_flow,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,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].h,PI1.x,PI.x) * Number of discrete variables: 68 (discretizedHEX.thermalElementB[8].fore.state_rearwards.phase,discretizedHEX.thermalElementB[7].fore.state_rearwards.phase,discretizedHEX.thermalElementB[6].fore.state_rearwards.phase,discretizedHEX.thermalElementB[5].fore.state_rearwards.phase,discretizedHEX.thermalElementB[4].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[5].state.phase,discretizedHEX.thermalElementB[6].state.phase,discretizedHEX.thermalElementB[7].state.phase,discretizedHEX.thermalElementB[8].state.phase,discretizedHEX.thermalElementB[9].state.phase,discretizedHEX.thermalElementB[9].fore.state_rearwards.phase,discretizedHEX.thermalElementB[10].state.phase,multiSensor_Tpm3.rear.state_rearwards.phase,discretizedHEX.thermalElementB[2].fore.state_forwards.phase,discretizedHEX.thermalElementB[5].fore.state_forwards.phase,discretizedHEX.thermalElementB[7].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[8].fore.state_forwards.phase,discretizedHEX.thermalElementB[6].fore.state_forwards.phase,discretizedHEX.thermalElementB[4].fore.state_forwards.phase,discretizedHEX.thermalElementB[3].fore.state_forwards.phase,discretizedHEX.thermalElementB[1].fore.state_forwards.phase,$cse7.phase,$cse8.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,$cse47.phase,$cse48.phase,boundary_fore1.rear.state_rearwards.phase,multiSensor_Tpm2.fore.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 (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.08435/2.61, allocations: 13.68 MB / 1.442 GB, free: 272.3 MB / 0.7917 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {multiSensor_Tpm1.rear.state_rearwards.X[1], multiSensor_Tpm1.rear.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState102.X Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {multiSensor_Tpm1.rear.state_rearwards.X[1], multiSensor_Tpm1.rear.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState1072.X Notification: Performance of simCode: created initialization part: time 0.03483/2.645, allocations: 25.77 MB / 1.467 GB, free: 248.6 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/2.645, allocations: 0 / 1.467 GB, free: 248.6 MB / 0.7917 GB Warning: SimCodeUtil.makeSES_SIMPLE_ASSIGN failed for: {multiSensor_Tpm1.rear.state_rearwards.X[1], multiSensor_Tpm1.rear.state_rearwards.X[2]} = $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState2133.X Notification: Performance of simCode: created simulation system equations: time 0.01284/2.658, allocations: 8.459 MB / 1.476 GB, free: 240 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01451/2.673, allocations: 2.757 MB / 1.478 GB, free: 237.4 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03239/2.705, allocations: 21.33 MB / 1.499 GB, free: 216.1 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004228/2.709, allocations: 4.864 MB / 1.504 GB, free: 211.2 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.01477/2.724, allocations: 4.592 MB / 1.508 GB, free: 206.6 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003115/2.727, allocations: 0.7959 MB / 1.509 GB, free: 205.8 MB / 0.7917 GB Notification: Performance of SimCode: time 7.62e-07/2.727, allocations: 0 / 1.509 GB, free: 205.8 MB / 0.7917 GB Notification: Performance of Templates: time 0.518/3.245, allocations: 207.1 MB / 1.712 GB, free: 301.3 MB / 0.7917 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","../files/ThermofluidStream_ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches