Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 220.8 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.6792/0.6792, allocations: 94.57 MB / 407.8 MB, free: 9.215 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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|counterFlowNTU1.inletA.m_flow|counterFlowNTU1.inletB.m_flow|mCV.dp_int|mCV1.dp_int|mCV2.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 88.84 kB / 0.5562 GB, free: 38.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1071, allocations: 73.05 MB / 0.6275 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5792/0.6863, allocations: 310.4 MB / 0.9306 GB, free: 8.164 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.04273/0.7291, allocations: 38.42 MB / 0.9681 GB, free: 1.617 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002261/0.7313, allocations: 150.6 kB / 0.9683 GB, free: 1.469 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.003281/0.7346, allocations: 1.412 MB / 0.9697 GB, free: 52 kB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.008123/0.7427, allocations: 3.455 MB / 0.973 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008393/0.7511, allocations: 3.486 MB / 0.9764 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005283/0.7564, allocations: 3.838 MB / 0.9802 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009221/0.7573, allocations: 0.5141 MB / 0.9807 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.7615, allocations: 2.484 MB / 0.9831 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001963/0.7635, allocations: 1.501 MB / 0.9846 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.7639, allocations: 232 kB / 0.9848 GB, free: 448 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01364/0.7775, allocations: 6.935 MB / 0.9916 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009209/0.7784, allocations: 0.5796 MB / 0.9921 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.7802, allocations: 1.414 MB / 0.9935 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009804/0.79, allocations: 5.06 MB / 0.9985 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.79, allocations: 0 / 0.9985 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.383e-06/0.79, allocations: 0 / 0.9985 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.571e-05/0.7901, allocations: 0 / 0.9985 GB, free: 2.41 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.007237/0.7973, allocations: 3.716 MB / 1.002 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.7973, allocations: 12.03 kB / 1.002 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004037/0.8014, allocations: 0.6264 MB / 1.003 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/0.8047, allocations: 1.69 MB / 1.004 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005096/0.8052, allocations: 0.5545 MB / 1.005 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/0.8055, allocations: 212 kB / 1.005 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/0.8098, allocations: 2.331 MB / 1.007 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.289e-05/0.8098, allocations: 0 / 1.007 GB, free: 8.941 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.81, allocations: 91.92 kB / 1.007 GB, free: 8.852 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-05/0.8101, allocations: 76.05 kB / 1.008 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003904/0.814, allocations: 1.886 MB / 1.009 GB, free: 6.871 MB / 0.7481 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.01191/0.8259, allocations: 8.745 MB / 1.018 GB, free: 13.43 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/0.8301, allocations: 1.842 MB / 1.02 GB, free: 11.57 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.8321, allocations: 0.9856 MB / 1.021 GB, free: 10.57 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/0.8328, allocations: 233.8 kB / 1.021 GB, free: 10.35 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/0.8328, allocations: 52.56 kB / 1.021 GB, free: 10.29 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=174): time 3.026e-06/0.8328, allocations: 0 / 1.021 GB, free: 10.29 MB / 0.7638 GB Notification: Performance of matching and sorting (n=176): time 0.01529/0.8481, allocations: 6.085 MB / 1.027 GB, free: 4.16 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.8482, allocations: 69.41 kB / 1.027 GB, free: 4.082 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.8501, allocations: 1.557 MB / 1.028 GB, free: 2.488 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.8502, allocations: 53.7 kB / 1.029 GB, free: 2.43 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008273/0.8511, allocations: 1.073 MB / 1.03 GB, free: 1.344 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005189/0.8516, allocations: 0.6234 MB / 1.03 GB, free: 0.7148 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004985/0.8521, allocations: 319.5 kB / 1.031 GB, free: 404 kB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8522, allocations: 301.1 kB / 1.031 GB, free: 100 kB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001553/0.8538, allocations: 0.7027 MB / 1.031 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.8554, allocations: 0.845 MB / 1.032 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003254/0.8587, allocations: 1.577 MB / 1.034 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.8587, allocations: 0.75 kB / 1.034 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006675/0.8654, allocations: 2.725 MB / 1.037 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.8654, allocations: 4.109 kB / 1.037 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.8654, allocations: 7.938 kB / 1.037 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.8672, allocations: 0.5646 MB / 1.037 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00192/0.8691, allocations: 431.4 kB / 1.037 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2511/1.12, allocations: 9.623 MB / 1.047 GB, free: 316.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.122, allocations: 87.14 kB / 1.047 GB, free: 316.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/1.122, allocations: 124.4 kB / 1.047 GB, free: 316.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,1,88.9%), (2,17,100.0%), (3,1,88.9%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007314/1.123, allocations: 373.5 kB / 1.047 GB, free: 316.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/1.123, allocations: 233.5 kB / 1.048 GB, free: 316.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008195/1.131, allocations: 4.064 MB / 1.052 GB, free: 316 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.131, allocations: 16.84 kB / 1.052 GB, free: 316 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/1.131, allocations: 5.156 kB / 1.052 GB, free: 316 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/1.131, allocations: 12.05 kB / 1.052 GB, free: 316 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009491/1.141, allocations: 5.171 MB / 1.057 GB, free: 314.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.141, allocations: 2.094 kB / 1.057 GB, free: 314.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/1.143, allocations: 410.2 kB / 1.057 GB, free: 314.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00172/1.144, allocations: 0.5771 MB / 1.058 GB, free: 314.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/1.145, allocations: 76.8 kB / 1.058 GB, free: 314.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009766/1.154, allocations: 9.607 MB / 1.067 GB, free: 306.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.154, allocations: 4.031 kB / 1.067 GB, free: 306.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007289/1.162, allocations: 3.762 MB / 1.071 GB, free: 305.4 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007756/1.162, allocations: 385 kB / 1.071 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/1.163, allocations: 35.94 kB / 1.071 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.164, allocations: 87.44 kB / 1.071 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/1.164, allocations: 163.4 kB / 1.071 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.164, allocations: 118.6 kB / 1.072 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001054/1.165, allocations: 1.048 MB / 1.073 GB, free: 304.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/1.165, allocations: 2.719 kB / 1.073 GB, free: 304.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002064/1.167, allocations: 0.888 MB / 1.073 GB, free: 304.6 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 11 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,flowResistanceB2.inlet.m_flow,flowResistanceB1.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int,mCV2.inlet.m_flow,mCV2.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%), (3,1,88.9%), (2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/1.169, allocations: 1.044 MB / 1.074 GB, free: 304.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004489/1.173, allocations: 2.589 MB / 1.077 GB, free: 303.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.173, allocations: 0 / 1.077 GB, free: 303.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002922/1.176, allocations: 1.853 MB / 1.079 GB, free: 302.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.178, allocations: 0.5704 MB / 1.079 GB, free: 302 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006817/1.185, allocations: 5.022 MB / 1.084 GB, free: 299.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/1.186, allocations: 1.589 MB / 1.086 GB, free: 298 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/1.187, allocations: 401.4 kB / 1.086 GB, free: 297.9 MB / 0.7794 GB Notification: Performance of SimCode: time 1.062e-06/1.187, allocations: 4 kB / 1.086 GB, free: 297.9 MB / 0.7794 GB Notification: Performance of Templates: time 0.06042/1.247, allocations: 89.25 MB / 1.173 GB, free: 209.1 MB / 0.7794 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.5890589710325]