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.002345/0.002345, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002952/0.002952, allocations: 219.8 kB / 22.26 MB, free: 5.125 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.964/1.964, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] 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 1.076/1.076, allocations: 94.56 MB / 407 MB, free: 9.195 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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) [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.002685/0.002685, allocations: 84.14 kB / 0.555 GB, free: 38.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2118, allocations: 73.05 MB / 0.6263 GB, free: 476 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 1.135/1.347, allocations: 310.4 MB / 0.9294 GB, free: 8.422 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.07297/1.419, allocations: 38.41 MB / 0.9669 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00573/1.425, allocations: 150.6 kB / 0.9671 GB, free: 1.738 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.008173/1.433, allocations: 1.416 MB / 0.9684 GB, free: 324 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01942/1.453, allocations: 3.454 MB / 0.9718 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01705/1.47, allocations: 3.487 MB / 0.9752 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01154/1.481, allocations: 3.842 MB / 0.979 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002849/1.484, allocations: 0.5141 MB / 0.9795 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00879/1.493, allocations: 2.476 MB / 0.9819 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004424/1.497, allocations: 1.509 MB / 0.9834 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00147/1.499, allocations: 232 kB / 0.9836 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02/1.519, allocations: 6.927 MB / 0.9903 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001663/1.521, allocations: 0.5913 MB / 0.9909 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004022/1.525, allocations: 1.406 MB / 0.9923 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02536/1.55, allocations: 5.06 MB / 0.9972 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.292e-05/1.55, allocations: 0 / 0.9972 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.162e-06/1.55, allocations: 0 / 0.9972 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003382/1.55, allocations: 3.938 kB / 0.9972 GB, free: 2.668 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.01829/1.569, allocations: 3.707 MB / 1.001 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 8.135e-05/1.569, allocations: 8.031 kB / 1.001 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00136/1.57, allocations: 295.3 kB / 1.001 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006384/1.576, allocations: 0.6303 MB / 1.002 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00712/1.584, allocations: 1.69 MB / 1.003 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007727/1.584, allocations: 0.5585 MB / 1.004 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/1.585, allocations: 215.9 kB / 1.004 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009337/1.595, allocations: 2.323 MB / 1.006 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-05/1.595, allocations: 4.5 kB / 1.006 GB, free: 8.906 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004209/1.595, allocations: 87.94 kB / 1.007 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/1.595, allocations: 80.03 kB / 1.007 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005388/1.601, allocations: 1.886 MB / 1.008 GB, free: 6.836 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.01782/1.619, allocations: 8.748 MB / 1.017 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005047/1.624, allocations: 1.85 MB / 1.019 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002662/1.626, allocations: 0.9896 MB / 1.02 GB, free: 10.53 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008696/1.627, allocations: 229.8 kB / 1.02 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/1.627, allocations: 52.56 kB / 1.02 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=174): time 2.501e-05/1.627, allocations: 0 / 1.02 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of matching and sorting (n=176): time 0.02093/1.648, allocations: 6.077 MB / 1.026 GB, free: 4.125 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/1.648, allocations: 77.34 kB / 1.026 GB, free: 4.039 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003035/1.651, allocations: 1.554 MB / 1.028 GB, free: 2.449 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003363/1.652, allocations: 53.7 kB / 1.028 GB, free: 2.391 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001285/1.653, allocations: 1.073 MB / 1.029 GB, free: 1.305 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009305/1.654, allocations: 0.6235 MB / 1.029 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009675/1.655, allocations: 323.5 kB / 1.03 GB, free: 360 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002022/1.655, allocations: 301.1 kB / 1.03 GB, free: 56 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/1.657, allocations: 0.6988 MB / 1.031 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/1.659, allocations: 0.8489 MB / 1.031 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/1.664, allocations: 1.577 MB / 1.033 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/1.664, allocations: 3.984 kB / 1.033 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008299/1.672, allocations: 2.717 MB / 1.036 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/1.672, allocations: 4 kB / 1.036 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.672, allocations: 8.094 kB / 1.036 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002171/1.674, allocations: 0.5687 MB / 1.036 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/1.676, allocations: 419.5 kB / 1.037 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4871/2.164, allocations: 9.619 MB / 1.046 GB, free: 316.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/2.166, allocations: 85.3 kB / 1.046 GB, free: 316.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003917/2.166, allocations: 125.5 kB / 1.046 GB, free: 316.6 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.001252/2.167, allocations: 377.7 kB / 1.046 GB, free: 316.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007503/2.168, allocations: 232.5 kB / 1.047 GB, free: 316.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/2.179, allocations: 4.063 MB / 1.051 GB, free: 316.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/2.179, allocations: 18.69 kB / 1.051 GB, free: 316.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/2.179, allocations: 9.469 kB / 1.051 GB, free: 316.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.972e-05/2.179, allocations: 9.281 kB / 1.051 GB, free: 316.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/2.193, allocations: 5.173 MB / 1.056 GB, free: 314.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/2.193, allocations: 2.156 kB / 1.056 GB, free: 314.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/2.196, allocations: 410 kB / 1.056 GB, free: 314.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00254/2.198, allocations: 0.5803 MB / 1.057 GB, free: 314.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005138/2.199, allocations: 73.52 kB / 1.057 GB, free: 314.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0139/2.213, allocations: 9.615 MB / 1.066 GB, free: 307 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/2.213, allocations: 2.469 kB / 1.066 GB, free: 307 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/2.224, allocations: 3.748 MB / 1.07 GB, free: 305.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/2.225, allocations: 383.6 kB / 1.07 GB, free: 305.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005737/2.226, allocations: 39.12 kB / 1.07 GB, free: 305.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/2.227, allocations: 91 kB / 1.07 GB, free: 305.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/2.228, allocations: 163.6 kB / 1.07 GB, free: 305.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/2.228, allocations: 123.1 kB / 1.071 GB, free: 305.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001472/2.229, allocations: 1.048 MB / 1.072 GB, free: 305 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7e-08/2.229, allocations: 0 / 1.072 GB, free: 305 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003578/2.233, allocations: 0.8845 MB / 1.072 GB, free: 304.9 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.01019/2.243, allocations: 5.261 MB / 1.078 GB, free: 302.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005838/2.249, allocations: 2.581 MB / 1.08 GB, free: 301.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.249, allocations: 0 / 1.08 GB, free: 301.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003783/2.253, allocations: 1.858 MB / 1.082 GB, free: 300.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/2.256, allocations: 0.5746 MB / 1.083 GB, free: 299.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0323/2.288, allocations: 17.43 MB / 1.1 GB, free: 283.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009767/2.289, allocations: 1.597 MB / 1.101 GB, free: 281.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003108/2.292, allocations: 1.437 MB / 1.103 GB, free: 280.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/2.294, allocations: 1.186 MB / 1.104 GB, free: 279.2 MB / 0.7794 GB Notification: Performance of SimCode: time 1.123e-06/2.294, allocations: 0 / 1.104 GB, free: 279.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/2.441, allocations: 66.74 MB / 1.169 GB, free: 212.8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/20.92, allocations: 7.984 kB / 1.169 GB, free: 212.8 MB / 0.7794 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1260.0] 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: 26.0679181329906]