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.0008851/0.0008852, allocations: 169.7 kB / 16.1 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.186/1.186, allocations: 205 MB / 221.9 MB, free: 9.137 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.0006966/0.0006967, allocations: 91.86 kB / 269.9 MB, free: 8.664 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.6033/0.6033, allocations: 90.52 MB / 408.3 MB, free: 3.918 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002754, allocations: 8.219 kB / 484.9 MB, free: 7.188 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2355, allocations: 65.81 MB / 0.5378 GB, free: 34.89 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.HeatExchangers.Tests.TestDiscretizedHEX): time 0.4389/0.6744, allocations: 268.3 MB / 0.7998 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.05528/0.7297, allocations: 58.49 MB / 0.8569 GB, free: 11.85 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.7317, allocations: 31.88 kB / 0.8569 GB, free: 11.82 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.7351, allocations: 1.4 MB / 0.8583 GB, free: 10.41 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01963/0.7547, allocations: 7.497 MB / 0.8656 GB, free: 2.895 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01487/0.7696, allocations: 5.553 MB / 0.871 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.01286/0.7825, allocations: 15.67 MB / 0.8863 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003047/0.7856, allocations: 2.825 MB / 0.8891 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007909/0.7935, allocations: 4.529 MB / 0.8935 GB, free: 6.172 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005446/0.7989, allocations: 4.189 MB / 0.8976 GB, free: 1.965 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0006057/0.7996, allocations: 244 kB / 0.8978 GB, free: 1.727 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3558/1.155, allocations: 63.62 MB / 0.96 GB, free: 36.44 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001974/1.157, allocations: 1.429 MB / 0.9614 GB, free: 36.44 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.004121/1.162, allocations: 3.375 MB / 0.9647 GB, free: 36.44 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.06046/1.222, allocations: 31.84 MB / 0.9958 GB, free: 30.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.222, allocations: 1 kB / 0.9958 GB, free: 30.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.465e-06/1.222, allocations: 0 / 0.9958 GB, free: 30.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001774/1.222, allocations: 0 / 0.9958 GB, free: 30.45 MB / 0.6355 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.02973/1.252, allocations: 9.696 MB / 1.005 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/1.252, allocations: 8.031 kB / 1.005 GB, free: 23.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005026/1.257, allocations: 1.183 MB / 1.006 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004608/1.262, allocations: 3.249 MB / 1.01 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/1.262, allocations: 452.6 kB / 1.01 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009319/1.263, allocations: 0.5744 MB / 1.011 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/1.278, allocations: 11.24 MB / 1.022 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.415e-05/1.278, allocations: 6.719 kB / 1.022 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004979/1.279, allocations: 233.5 kB / 1.022 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003853/1.279, allocations: 0.4962 MB / 1.022 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/1.296, allocations: 12.39 MB / 1.034 GB, free: 2.34 MB / 0.6355 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.04938/1.345, allocations: 45.28 MB / 1.079 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01252/1.358, allocations: 7.821 MB / 1.086 GB, free: 5.395 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008573/1.366, allocations: 5.671 MB / 1.092 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008347/1.374, allocations: 8.42 MB / 1.1 GB, free: 5.832 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.231e-05/1.375, allocations: 90.78 kB / 1.1 GB, free: 5.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=687): time 9.247e-06/1.375, allocations: 0 / 1.1 GB, free: 5.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=687): time 0.03159/1.406, allocations: 17.94 MB / 1.118 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/1.406, allocations: 155 kB / 1.118 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003475/1.41, allocations: 2.756 MB / 1.12 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006886/1.41, allocations: 117.4 kB / 1.121 GB, free: 444 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/1.412, allocations: 2.187 MB / 1.123 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.002053/1.414, allocations: 2.281 MB / 1.125 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/1.414, allocations: 114.3 kB / 1.125 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003396/1.415, allocations: 0.5631 MB / 1.126 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007707/1.423, allocations: 4.977 MB / 1.13 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008869/1.431, allocations: 6.09 MB / 1.136 GB, free: 15.89 MB / 0.7448 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.01964/1.451, allocations: 13.44 MB / 1.149 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.36e-05/1.451, allocations: 11.98 kB / 1.149 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of matching and sorting (n=843) (initialization): time 0.0231/1.474, allocations: 12.77 MB / 1.162 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.000595/1.475, allocations: 0.9158 MB / 1.163 GB, free: 3.785 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.031e-05/1.475, allocations: 28 kB / 1.163 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/1.477, allocations: 0.8947 MB / 1.164 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005117/1.482, allocations: 1.479 MB / 1.165 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/1.499, allocations: 20.98 MB / 1.186 GB, free: 11 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005721/1.504, allocations: 0.9766 MB / 1.187 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009279/1.505, allocations: 462.7 kB / 1.187 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/1.505, allocations: 7.844 kB / 1.187 GB, free: 9.566 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0238/1.529, allocations: 12.34 MB / 1.199 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.57e-05/1.529, allocations: 28 kB / 1.199 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/1.531, allocations: 0.8944 MB / 1.2 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005092/1.537, allocations: 1.468 MB / 1.201 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2234/1.76, allocations: 20.97 MB / 1.222 GB, free: 378.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005664/1.766, allocations: 0.9044 MB / 1.223 GB, free: 378.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.767, allocations: 456.9 kB / 1.223 GB, free: 378.8 MB / 0.8073 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.00441/1.771, allocations: 2.282 MB / 1.225 GB, free: 378.6 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001516/1.773, allocations: 450.8 kB / 1.226 GB, free: 378.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02613/1.799, allocations: 15.7 MB / 1.241 GB, free: 375.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01908/1.818, allocations: 12.48 MB / 1.253 GB, free: 371.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.459e-05/1.818, allocations: 7.125 kB / 1.253 GB, free: 371.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.646e-05/1.818, allocations: 40.14 kB / 1.253 GB, free: 371.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03307/1.851, allocations: 25.67 MB / 1.279 GB, free: 358.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.852, allocations: 1.312 kB / 1.279 GB, free: 358.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004683/1.856, allocations: 1.521 MB / 1.28 GB, free: 357.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/1.858, allocations: 0.8521 MB / 1.281 GB, free: 356.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005128/1.858, allocations: 295.8 kB / 1.281 GB, free: 356 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/1.87, allocations: 20.8 MB / 1.301 GB, free: 333.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.87, allocations: 3.938 kB / 1.301 GB, free: 333.7 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02737/1.897, allocations: 20.9 MB / 1.322 GB, free: 312.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003545/1.901, allocations: 1.882 MB / 1.324 GB, free: 310.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/1.902, allocations: 148 kB / 1.324 GB, free: 310.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004127/1.906, allocations: 0.7662 MB / 1.325 GB, free: 310 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009707/1.907, allocations: 0.566 MB / 1.325 GB, free: 309.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006504/1.908, allocations: 429.1 kB / 1.326 GB, free: 309 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001911/1.91, allocations: 1.852 MB / 1.327 GB, free: 307.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/1.91, allocations: 0 / 1.327 GB, free: 307.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01731/1.927, allocations: 5.875 MB / 1.333 GB, free: 301.6 MB / 0.8073 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.06335/1.99, allocations: 13.69 MB / 1.346 GB, free: 288.8 MB / 0.8073 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.03108/2.021, allocations: 25.82 MB / 1.372 GB, free: 261.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/2.022, allocations: 0 / 1.372 GB, free: 261.8 MB / 0.8073 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.01021/2.032, allocations: 8.487 MB / 1.38 GB, free: 253.1 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01053/2.042, allocations: 2.737 MB / 1.383 GB, free: 250.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02279/2.065, allocations: 21.27 MB / 1.403 GB, free: 229.1 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003408/2.069, allocations: 4.857 MB / 1.408 GB, free: 224.2 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003747/2.072, allocations: 0.9754 MB / 1.409 GB, free: 223.3 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/2.072, allocations: 0 / 1.409 GB, free: 223.3 MB / 0.8073 GB Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState102.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14392:9-14392:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:79: $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState102.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState102.X index:(128) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState102.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14392:9-14392:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:80: $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState102.X[2] (no alias) protected hideResult initial: no arrCref index:(129) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState1072.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14392:9-14392:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:83: $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState1072.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState1072.X index:(132) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState1072.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14392:9-14392:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:84: $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState1072.X[2] (no alias) protected hideResult initial: no arrCref index:(133) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState2133.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14392:9-14392:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:87: $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState2133.X[1] (no alias) protected hideResult initial: arrCref:$TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState2133.X index:(136) [] Error: Internal error GetVarIndexListByMapping: No Element for $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState2133.X found! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:14392:9-14392:123:writable] Error: Internal error invalid return value from getVarIndexByMapping for index:88: $TMP_ThermofluidStream_Undirected_HeatExchangers_Tests_TestDiscretizedHEX_boundary__fore_rear_Medium_ThermodynamicState2133.X[2] (no alias) protected hideResult initial: no arrCref index:(137) [] Error: Template error: A template call failed (/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics).