Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Examples.ReverseHeatPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 111.1 kB / 18.68 MB, free: 3.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 200.4 kB / 21.93 MB, free: 100 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 250.6 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.781/0.781, allocations: 94.59 MB / 400.4 MB, free: 15.84 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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.Examples.ReverseHeatPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI1.x|PI2.x|PI_Valve.x|TEVcooling.rear.m_flow|Time|accumulator.M|accumulator.U_med|accumulator.m_flow_in|boundaryFore1.rear.m_flow|boundaryRear.fore.m_flow|compressor.m_flow|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX1.thermalElementA.1..h|discretizedHEX1.thermalElementA.2..h|discretizedHEX1.thermalElementA.3..h|discretizedHEX1.thermalElementA.4..h|discretizedHEX1.thermalElementA.5..h|discretizedHEX1.thermalElementB.1..h|discretizedHEX1.thermalElementB.2..h|discretizedHEX1.thermalElementB.3..h|discretizedHEX1.thermalElementB.4..h|discretizedHEX1.thermalElementB.5..h|firstOrder.y|receiver.M|receiver.U_med|twoPhaseSensorSelect.value|twoPhaseSensorSelect1.value|valveCompressorInletHeating.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.ReverseHeatPump") translateModel(ThermofluidStream.Examples.ReverseHeatPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI1.x|PI2.x|PI_Valve.x|TEVcooling.rear.m_flow|Time|accumulator.M|accumulator.U_med|accumulator.m_flow_in|boundaryFore1.rear.m_flow|boundaryRear.fore.m_flow|compressor.m_flow|discretizedHEX.thermalElementA.1..h|discretizedHEX.thermalElementA.2..h|discretizedHEX.thermalElementA.3..h|discretizedHEX.thermalElementA.4..h|discretizedHEX.thermalElementA.5..h|discretizedHEX.thermalElementB.1..h|discretizedHEX.thermalElementB.2..h|discretizedHEX.thermalElementB.3..h|discretizedHEX.thermalElementB.4..h|discretizedHEX.thermalElementB.5..h|discretizedHEX1.thermalElementA.1..h|discretizedHEX1.thermalElementA.2..h|discretizedHEX1.thermalElementA.3..h|discretizedHEX1.thermalElementA.4..h|discretizedHEX1.thermalElementA.5..h|discretizedHEX1.thermalElementB.1..h|discretizedHEX1.thermalElementB.2..h|discretizedHEX1.thermalElementB.3..h|discretizedHEX1.thermalElementB.4..h|discretizedHEX1.thermalElementB.5..h|firstOrder.y|receiver.M|receiver.U_med|twoPhaseSensorSelect.value|twoPhaseSensorSelect1.value|valveCompressorInletHeating.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Examples.ReverseHeatPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003467/0.003467, allocations: 88.31 kB / 0.5464 GB, free: 42.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1517, allocations: 71.84 MB / 0.6166 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.ReverseHeatPump): time 1.389/1.541, allocations: 450.1 MB / 1.056 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2053/1.746, allocations: 204.2 MB / 1.256 GB, free: 172 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009441/1.756, allocations: 149.2 kB / 1.256 GB, free: 76 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01583/1.772, allocations: 4.82 MB / 1.26 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0511/1.823, allocations: 14.67 MB / 1.275 GB, free: 14.02 MB / 0.8263 GB Notification: Performance of NFTyping.typeClassSections: time 0.07473/1.897, allocations: 22.44 MB / 1.297 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02407/1.922, allocations: 17.17 MB / 1.313 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005243/1.927, allocations: 2.071 MB / 1.315 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01661/1.943, allocations: 8.105 MB / 1.323 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02477/1.968, allocations: 13.61 MB / 1.337 GB, free: 14.34 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.005055/1.973, allocations: 1.066 MB / 1.338 GB, free: 13.27 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1416/2.115, allocations: 56.23 MB / 1.393 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00533/2.12, allocations: 2.51 MB / 1.395 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.01248/2.133, allocations: 6.031 MB / 1.401 GB, free: 12.34 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.8643/2.997, allocations: 84.07 MB / 1.483 GB, free: 75.95 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/2.997, allocations: 4 kB / 1.483 GB, free: 75.95 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.653e-06/2.997, allocations: 0 / 1.483 GB, free: 75.95 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.000698/2.998, allocations: 0.6562 kB / 1.483 GB, free: 75.95 MB / 0.9513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2442 * Number of variables: 2442 Notification: Performance of Generate backend data structure: time 0.1059/3.104, allocations: 16.06 MB / 1.499 GB, free: 64.13 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/3.104, allocations: 8.031 kB / 1.499 GB, free: 64.12 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0164/3.12, allocations: 2.271 MB / 1.501 GB, free: 62.51 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01553/3.136, allocations: 5.374 MB / 1.506 GB, free: 59.49 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009809/3.137, allocations: 0.693 MB / 1.507 GB, free: 59.08 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004655/3.141, allocations: 0.8716 MB / 1.508 GB, free: 58.5 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04047/3.182, allocations: 12.7 MB / 1.52 GB, free: 52.18 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003462/3.182, allocations: 11.41 kB / 1.52 GB, free: 52.17 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004443/3.186, allocations: 353.7 kB / 1.52 GB, free: 52.1 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004547/3.187, allocations: 399 kB / 1.521 GB, free: 51.79 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02887/3.216, allocations: 11.76 MB / 1.532 GB, free: 45.84 MB / 0.9513 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.09677/3.313, allocations: 59.78 MB / 1.591 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/3.331, allocations: 7.37 MB / 1.598 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01114/3.342, allocations: 4.861 MB / 1.603 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04202/3.384, allocations: 32.07 MB / 1.634 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/3.384, allocations: 106.7 kB / 1.634 GB, free: 13.73 MB / 1.014 GB Notification: Performance of pre-optimization done (n=893): time 1.105e-05/3.384, allocations: 0 / 1.634 GB, free: 13.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=905): time 0.09201/3.476, allocations: 31.31 MB / 1.665 GB, free: 6.449 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002048/3.476, allocations: 199.2 kB / 1.665 GB, free: 6.223 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/3.487, allocations: 4.381 MB / 1.669 GB, free: 2.457 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.002166/3.49, allocations: 145.7 kB / 1.669 GB, free: 2.309 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.004094/3.494, allocations: 3.672 MB / 1.673 GB, free: 14.65 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.006416/3.5, allocations: 3.109 MB / 1.676 GB, free: 11.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009322/3.509, allocations: 1.738 MB / 1.678 GB, free: 9.844 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000173/3.51, allocations: 306.9 kB / 1.678 GB, free: 9.543 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01462/3.524, allocations: 4.556 MB / 1.682 GB, free: 4.973 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01601/3.54, allocations: 5.994 MB / 1.688 GB, free: 14.49 MB / 1.061 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX1.thermalElementB[5].deltaE_system = $START.discretizedHEX1.thermalElementB[5].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementB[4].deltaE_system = $START.discretizedHEX1.thermalElementB[4].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementB[3].deltaE_system = $START.discretizedHEX1.thermalElementB[3].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementB[2].deltaE_system = $START.discretizedHEX1.thermalElementB[2].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementB[1].deltaE_system = $START.discretizedHEX1.thermalElementB[1].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementA[5].deltaE_system = $START.discretizedHEX1.thermalElementA[5].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementA[4].deltaE_system = $START.discretizedHEX1.thermalElementA[4].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementA[3].deltaE_system = $START.discretizedHEX1.thermalElementA[3].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementA[2].deltaE_system = $START.discretizedHEX1.thermalElementA[2].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementA[1].deltaE_system = $START.discretizedHEX1.thermalElementA[1].deltaE_system (0.0 = $START.discretizedHEX1.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[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[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.03087/3.571, allocations: 12.88 MB / 1.701 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.338e-05/3.571, allocations: 8 kB / 1.701 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.03904/3.61, allocations: 13.12 MB / 1.714 GB, free: 4.082 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.738e-05/3.61, allocations: 21.69 kB / 1.714 GB, free: 4.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/3.61, allocations: 40 kB / 1.714 GB, free: 4.023 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/3.624, allocations: 1.84 MB / 1.715 GB, free: 2.145 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008592/3.633, allocations: 1.813 MB / 1.717 GB, free: 420 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0372/3.67, allocations: 29.06 MB / 1.746 GB, free: 1.664 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00891/3.679, allocations: 497.9 kB / 1.746 GB, free: 1.18 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002887/3.682, allocations: 0.6335 MB / 1.747 GB, free: 0.5469 MB / 1.108 GB Warning: The initial conditions are over specified. The following 20 initial equations are redundant, so they are removed from the initialization system: discretizedHEX1.thermalElementB[5].deltaE_system = $START.discretizedHEX1.thermalElementB[5].deltaE_system discretizedHEX1.thermalElementB[4].deltaE_system = $START.discretizedHEX1.thermalElementB[4].deltaE_system discretizedHEX1.thermalElementB[3].deltaE_system = $START.discretizedHEX1.thermalElementB[3].deltaE_system discretizedHEX1.thermalElementB[2].deltaE_system = $START.discretizedHEX1.thermalElementB[2].deltaE_system discretizedHEX1.thermalElementB[1].deltaE_system = $START.discretizedHEX1.thermalElementB[1].deltaE_system discretizedHEX1.thermalElementA[5].deltaE_system = $START.discretizedHEX1.thermalElementA[5].deltaE_system discretizedHEX1.thermalElementA[4].deltaE_system = $START.discretizedHEX1.thermalElementA[4].deltaE_system discretizedHEX1.thermalElementA[3].deltaE_system = $START.discretizedHEX1.thermalElementA[3].deltaE_system discretizedHEX1.thermalElementA[2].deltaE_system = $START.discretizedHEX1.thermalElementA[2].deltaE_system discretizedHEX1.thermalElementA[1].deltaE_system = $START.discretizedHEX1.thermalElementA[1].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[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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02079/3.703, allocations: 6.654 MB / 1.753 GB, free: 9.883 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01523/3.718, allocations: 5.959 MB / 1.759 GB, free: 3.434 MB / 1.123 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: discretizedHEX1.thermalElementB[5].deltaE_system = $START.discretizedHEX1.thermalElementB[5].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementB[4].deltaE_system = $START.discretizedHEX1.thermalElementB[4].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementB[3].deltaE_system = $START.discretizedHEX1.thermalElementB[3].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementB[2].deltaE_system = $START.discretizedHEX1.thermalElementB[2].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementB[1].deltaE_system = $START.discretizedHEX1.thermalElementB[1].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementA[5].deltaE_system = $START.discretizedHEX1.thermalElementA[5].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementA[4].deltaE_system = $START.discretizedHEX1.thermalElementA[4].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementA[3].deltaE_system = $START.discretizedHEX1.thermalElementA[3].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementA[2].deltaE_system = $START.discretizedHEX1.thermalElementA[2].deltaE_system (0.0 = $START.discretizedHEX1.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: discretizedHEX1.thermalElementA[1].deltaE_system = $START.discretizedHEX1.thermalElementA[1].deltaE_system (0.0 = $START.discretizedHEX1.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[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[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_lambda0): time 0.02951/3.747, allocations: 12.82 MB / 1.771 GB, free: 5.973 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.659e-05/3.747, allocations: 12 kB / 1.771 GB, free: 5.961 MB / 1.139 GB Notification: Performance of matching and sorting (n=1114) (initialization_lambda0): time 0.04107/3.788, allocations: 13.05 MB / 1.784 GB, free: 9.152 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/3.788, allocations: 20 kB / 1.784 GB, free: 9.133 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.512e-05/3.789, allocations: 44.09 kB / 1.784 GB, free: 9.09 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01337/3.802, allocations: 1.837 MB / 1.786 GB, free: 7.219 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00835/3.81, allocations: 1.805 MB / 1.788 GB, free: 5.496 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0362/3.846, allocations: 29.07 MB / 1.816 GB, free: 6.742 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008621/3.855, allocations: 491.5 kB / 1.817 GB, free: 6.262 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003078/3.858, allocations: 0.6287 MB / 1.817 GB, free: 5.633 MB / 1.186 GB Warning: The initial conditions are over specified. The following 20 initial equations are redundant, so they are removed from the initialization_lambda0 system: discretizedHEX1.thermalElementB[5].deltaE_system = $START.discretizedHEX1.thermalElementB[5].deltaE_system discretizedHEX1.thermalElementB[4].deltaE_system = $START.discretizedHEX1.thermalElementB[4].deltaE_system discretizedHEX1.thermalElementB[3].deltaE_system = $START.discretizedHEX1.thermalElementB[3].deltaE_system discretizedHEX1.thermalElementB[2].deltaE_system = $START.discretizedHEX1.thermalElementB[2].deltaE_system discretizedHEX1.thermalElementB[1].deltaE_system = $START.discretizedHEX1.thermalElementB[1].deltaE_system discretizedHEX1.thermalElementA[5].deltaE_system = $START.discretizedHEX1.thermalElementA[5].deltaE_system discretizedHEX1.thermalElementA[4].deltaE_system = $START.discretizedHEX1.thermalElementA[4].deltaE_system discretizedHEX1.thermalElementA[3].deltaE_system = $START.discretizedHEX1.thermalElementA[3].deltaE_system discretizedHEX1.thermalElementA[2].deltaE_system = $START.discretizedHEX1.thermalElementA[2].deltaE_system discretizedHEX1.thermalElementA[1].deltaE_system = $START.discretizedHEX1.thermalElementA[1].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[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: 154 * Number of states: 0 () * Number of discrete variables: 62 (accumulator.medium.phase,receiver.medium.phase,multiSensor_Tpm7.outlet.state.phase,multiSensor_Tpm.outlet.state.phase,multiSensor_Tpm6.state.phase,multiSensor_Tpm6.fore.state_forwards.phase,multiSensor_Tpm6.rear.state_rearwards.phase,multiSensor_Tpm5.state.phase,multiSensor_Tpm5.fore.state_forwards.phase,multiSensor_Tpm5.rear.state_rearwards.phase,booleanStep.y,booleanExpression1.y,twoPhaseSensorSelect1.state.phase,twoPhaseSensorSelect1.fore.state_forwards.phase,twoPhaseSensorSelect1.rear.state_rearwards.phase,twoPhaseSensorSelect.state.phase,twoPhaseSensorSelect.fore.state_forwards.phase,twoPhaseSensorSelect.rear.state_rearwards.phase,connectRearOutlet1.outlet.state.phase,connectInletFore1.fore.state_forwards.phase,connectInletFore1.fore.state_rearwards.phase,connectInletFore.fore.state_forwards.phase,connectInletFore.fore.state_rearwards.phase,accumulator.outlet.state.phase,accumulator.inlet.state.phase,receiver.fore.state_forwards.phase,receiver.fore.state_rearwards.phase,receiver.rear.state_forwards.phase,connectRearOutlet.outlet.state.phase,compressorSplitter.splitterN.outlets[2].state.phase,discretizedHEX1.thermalElementB[5].state.phase,discretizedHEX1.thermalElementB[4].state.phase,discretizedHEX1.thermalElementB[4].fore.state_forwards.phase,discretizedHEX1.thermalElementB[4].fore.state_rearwards.phase,discretizedHEX1.thermalElementB[3].state.phase,discretizedHEX1.thermalElementB[3].fore.state_forwards.phase,discretizedHEX1.thermalElementB[3].fore.state_rearwards.phase,discretizedHEX1.thermalElementB[2].state.phase,discretizedHEX1.thermalElementB[2].fore.state_forwards.phase,discretizedHEX1.thermalElementB[2].fore.state_rearwards.phase,discretizedHEX1.thermalElementB[1].state.phase,discretizedHEX1.thermalElementB[1].fore.state_forwards.phase,discretizedHEX1.thermalElementB[1].fore.state_rearwards.phase,discretizedHEX1.stateB_out.phase,discretizedHEX1.stateB_in.phase,discretizedHEX.thermalElementB[5].state.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,connectRearOutlet1.rear.state_rearwards.phase,connectRearOutlet.rear.state_rearwards.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (783): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 61 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,7,100.0%), (6,51,61.1%), (1,3,100.0%), (1,7,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.005169/3.863, allocations: 0.7622 MB / 1.818 GB, free: 4.945 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003719/3.867, allocations: 0.7025 MB / 1.819 GB, free: 4.238 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8548/4.722, allocations: 23.4 MB / 1.842 GB, free: 0.5623 GB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002696/4.722, allocations: 35.02 kB / 1.842 GB, free: 0.5623 GB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-05/4.722, allocations: 6.656 kB / 1.842 GB, free: 0.5623 GB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006899/4.729, allocations: 1.906 MB / 1.843 GB, free: 0.5622 GB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003615/4.733, allocations: 157 kB / 1.844 GB, free: 0.5622 GB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006684/4.739, allocations: 445.6 kB / 1.844 GB, free: 0.5622 GB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002535/4.742, allocations: 0.6507 MB / 1.845 GB, free: 0.5622 GB / 1.186 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): receiver.medium.u = receiver.medium.h - receiver.medium.p / receiver.medium.d 2/2 (9): $cse51 = ThermofluidStream.Examples.ReverseHeatPump.receiver.Medium.derivsOf_ph(receiver.medium.p, receiver.medium.h, $cse52) 3/11 (1): receiver.medium.d = $cse51.rho 4/12 (1): $cse52 = ThermofluidStream.Examples.ReverseHeatPump.receiver.Medium.getPhase_ph(receiver.medium.p, receiver.medium.h) Variables: 1: $cse52:DISCRETE(protected = true ) type: Integer unreplaceable 2: $cse51.phase:DISCRETE(protected = true ) type: Integer unreplaceable 3: $cse51.dpT:VARIABLE(protected = true ) type: Real unreplaceable 4: $cse51.cv:VARIABLE(protected = true ) type: Real unreplaceable 5: $cse51.h:VARIABLE(protected = true ) type: Real unreplaceable 6: $cse51.p:VARIABLE(protected = true ) type: Real unreplaceable 7: receiver.medium.p:DUMMY_STATE(flow=false min = 0.0 max = 1e8 start = 3e5 unit = \"Pa\" nominal = 1e5 stateSelect=StateSelect.prefer ) \"Absolute pressure of medium\" type: Real 8: $cse51.T:VARIABLE(protected = true ) type: Real unreplaceable 9: $cse51.pt:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse51.rho:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse51.pd:VARIABLE(protected = true ) type: Real unreplaceable 12: receiver.medium.h:DUMMY_STATE(flow=false min = -1e10 max = 1e10 start = 4.2e5 unit = \"J/kg\" nominal = 5e5 stateSelect=StateSelect.prefer ) \"Specific enthalpy of medium\" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9806:5-9807:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001352/4.743, allocations: 338.1 kB / 1.845 GB, free: 0.5621 GB / 1.186 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermofluidStream.Examples.ReverseHeatPump could not be translated " [Timeout remaining time 655] [Calling sys.exit(0), Time elapsed: 8.757993625011295] Failed to read output from testmodel.py, exit status != 0: 4.755112003011163 4.764303086 1.764522766 Calling exit ...