Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.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.001391/0.001391, allocations: 108.2 kB / 17.54 MB, free: 4.637 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.001438/0.001438, allocations: 182.6 kB / 20.71 MB, free: 1.48 MB / 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.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5481/0.5481, allocations: 94.57 MB / 399 MB, free: 15.8 MB / 334.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.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: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 83.88 kB / 0.5442 GB, free: 12.62 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3367, allocations: 71.84 MB / 0.6144 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6113/0.948, allocations: 310.2 MB / 0.9173 GB, free: 1.871 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02878/0.9768, allocations: 38.43 MB / 0.9548 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.979, allocations: 106.2 kB / 0.9549 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.9819, allocations: 1.413 MB / 0.9563 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007241/0.9891, allocations: 3.417 MB / 0.9596 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007812/0.9969, allocations: 3.459 MB / 0.963 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004486/1.001, allocations: 3.829 MB / 0.9668 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006936/1.002, allocations: 0.5163 MB / 0.9673 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/1.005, allocations: 2.409 MB / 0.9696 GB, free: 0.6133 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/1.007, allocations: 1.5 MB / 0.9711 GB, free: 276 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002555/1.007, allocations: 235.2 kB / 0.9713 GB, free: 272 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01067/1.018, allocations: 6.816 MB / 0.978 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004292/1.018, allocations: 0.5833 MB / 0.9785 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001181/1.019, allocations: 1.405 MB / 0.9799 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006636/1.026, allocations: 5.047 MB / 0.9848 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.026, allocations: 4 kB / 0.9848 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.353e-06/1.026, allocations: 2.531 kB / 0.9848 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.661e-05/1.026, allocations: 0 / 0.9848 GB, free: 13.29 MB / 0.7012 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.005995/1.032, allocations: 3.781 MB / 0.9885 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/1.032, allocations: 10.47 kB / 0.9885 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002801/1.032, allocations: 288.3 kB / 0.9888 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/1.036, allocations: 0.6225 MB / 0.9894 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/1.039, allocations: 1.827 MB / 0.9912 GB, free: 9.766 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/1.039, allocations: 412.1 kB / 0.9916 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/1.039, allocations: 216.9 kB / 0.9918 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/1.043, allocations: 2.312 MB / 0.9941 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/1.043, allocations: 0 / 0.9941 GB, free: 8.465 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/1.043, allocations: 86.19 kB / 0.9942 GB, free: 8.445 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/1.043, allocations: 77.34 kB / 0.9942 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003575/1.047, allocations: 1.886 MB / 0.9961 GB, free: 7.051 MB / 0.7012 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.01082/1.058, allocations: 9.284 MB / 1.005 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/1.062, allocations: 1.86 MB / 1.007 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002109/1.064, allocations: 1.004 MB / 1.008 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002039/1.066, allocations: 2.604 MB / 1.01 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.066, allocations: 52.56 kB / 1.011 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 3.397e-06/1.066, allocations: 0 / 1.011 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01602/1.082, allocations: 6.689 MB / 1.017 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/1.082, allocations: 73.41 kB / 1.017 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001956/1.084, allocations: 1.55 MB / 1.019 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.084, allocations: 53.7 kB / 1.019 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008361/1.085, allocations: 1.08 MB / 1.02 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004923/1.085, allocations: 0.6176 MB / 1.02 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005224/1.086, allocations: 323.5 kB / 1.021 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.086, allocations: 305.1 kB / 1.021 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/1.088, allocations: 0.6988 MB / 1.022 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/1.089, allocations: 0.8558 MB / 1.022 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/1.092, allocations: 1.568 MB / 1.024 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/1.092, allocations: 4 kB / 1.024 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006648/1.099, allocations: 2.724 MB / 1.027 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.099, allocations: 4 kB / 1.027 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.099, allocations: 7.938 kB / 1.027 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/1.101, allocations: 0.5611 MB / 1.027 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/1.103, allocations: 425.5 kB / 1.028 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/1.116, allocations: 10.15 MB / 1.038 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.117, allocations: 83.97 kB / 1.038 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/1.118, allocations: 135.9 kB / 1.038 GB, free: 11.51 MB / 0.7481 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.0008017/1.118, allocations: 381.4 kB / 1.038 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003906/1.119, allocations: 234.5 kB / 1.038 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00864/1.127, allocations: 4.055 MB / 1.042 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.127, allocations: 20 kB / 1.042 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.127, allocations: 4 kB / 1.042 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/1.127, allocations: 11.95 kB / 1.042 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/1.138, allocations: 5.292 MB / 1.047 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.138, allocations: 4 kB / 1.047 GB, free: 1.504 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/1.14, allocations: 406.3 kB / 1.048 GB, free: 1.121 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/1.141, allocations: 0.5762 MB / 1.048 GB, free: 0.5312 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/1.141, allocations: 71.95 kB / 1.049 GB, free: 472 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/1.154, allocations: 10.13 MB / 1.058 GB, free: 5.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/1.154, allocations: 4 kB / 1.058 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008551/1.163, allocations: 3.753 MB / 1.062 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007462/1.163, allocations: 455.2 kB / 1.063 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/1.164, allocations: 44 kB / 1.063 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.165, allocations: 83.92 kB / 1.063 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/1.165, allocations: 156.3 kB / 1.063 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/1.165, allocations: 124.1 kB / 1.063 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001343/1.167, allocations: 1.051 MB / 1.064 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/1.167, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002307/1.169, allocations: 0.8777 MB / 1.065 GB, free: 15.08 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.009887/1.179, allocations: 5.26 MB / 1.07 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005355/1.184, allocations: 2.593 MB / 1.072 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.184, allocations: 320 / 1.072 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003578/1.188, allocations: 1.85 MB / 1.074 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.19, allocations: 0.5704 MB / 1.075 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03081/1.221, allocations: 17.42 MB / 1.092 GB, free: 3.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/1.222, allocations: 1.593 MB / 1.093 GB, free: 1.547 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002772/1.225, allocations: 1.432 MB / 1.095 GB, free: 164 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/1.227, allocations: 1.205 MB / 1.096 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of SimCode: time 8.42e-07/1.227, allocations: 3.938 kB / 1.096 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/1.351, allocations: 65.69 MB / 1.16 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.45, allocations: 0 / 1.16 GB, free: 13.7 MB / 0.8731 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 17.61531342499802]