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.001507/0.001507, allocations: 107 kB / 16.46 MB, free: 6.504 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.00172/0.00172, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.505/1.505, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8521/0.8521, allocations: 94.6 MB / 397.3 MB, free: 0.7617 MB / 302.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: "" <> 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.003697/0.003697, allocations: 82.75 kB / 0.5416 GB, free: 42.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1644, allocations: 71.86 MB / 0.6118 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.8137/0.9781, allocations: 309.1 MB / 0.9136 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.05196/1.03, allocations: 38.17 MB / 0.9509 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00385/1.034, allocations: 107.2 kB / 0.951 GB, free: 1.723 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004801/1.039, allocations: 1.416 MB / 0.9524 GB, free: 308 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/1.05, allocations: 3.415 MB / 0.9557 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.01125/1.061, allocations: 3.445 MB / 0.9591 GB, free: 9.414 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007639/1.069, allocations: 3.827 MB / 0.9628 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/1.071, allocations: 0.5259 MB / 0.9633 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005992/1.077, allocations: 2.402 MB / 0.9657 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/1.079, allocations: 1.505 MB / 0.9672 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005557/1.08, allocations: 232 kB / 0.9674 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01588/1.096, allocations: 6.767 MB / 0.974 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001326/1.097, allocations: 0.5796 MB / 0.9745 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00223/1.099, allocations: 1.41 MB / 0.9759 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01351/1.113, allocations: 5.052 MB / 0.9809 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/1.113, allocations: 0 / 0.9809 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/1.113, allocations: 0 / 0.9809 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.315e-05/1.113, allocations: 0 / 0.9809 GB, free: 2.996 MB / 0.7169 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.008796/1.122, allocations: 3.784 MB / 0.9846 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.122, allocations: 8.031 kB / 0.9846 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003852/1.122, allocations: 295.3 kB / 0.9848 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004404/1.126, allocations: 0.6264 MB / 0.9855 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003985/1.13, allocations: 1.825 MB / 0.9872 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004746/1.131, allocations: 405.7 kB / 0.9876 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003411/1.131, allocations: 219.9 kB / 0.9878 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004838/1.136, allocations: 2.319 MB / 0.9901 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/1.136, allocations: 3.938 kB / 0.9901 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/1.136, allocations: 83.94 kB / 0.9902 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-05/1.136, allocations: 80.03 kB / 0.9903 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004202/1.141, allocations: 1.878 MB / 0.9921 GB, free: 7.16 MB / 0.7325 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.01327/1.154, allocations: 9.286 MB / 1.001 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/1.158, allocations: 1.849 MB / 1.003 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/1.16, allocations: 0.991 MB / 1.004 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002096/1.162, allocations: 2.614 MB / 1.006 GB, free: 7.016 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/1.162, allocations: 52.5 kB / 1.007 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=174): time 3.416e-06/1.162, allocations: 0 / 1.007 GB, free: 6.953 MB / 0.7481 GB Notification: Performance of matching and sorting (n=176): time 0.01712/1.179, allocations: 6.684 MB / 1.013 GB, free: 84 kB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.179, allocations: 69.41 kB / 1.013 GB, free: 4 kB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002351/1.182, allocations: 1.554 MB / 1.015 GB, free: 14.41 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004375/1.182, allocations: 57.7 kB / 1.015 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008963/1.183, allocations: 1.073 MB / 1.016 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006533/1.184, allocations: 0.6274 MB / 1.016 GB, free: 12.63 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000639/1.184, allocations: 319.5 kB / 1.017 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.185, allocations: 305.1 kB / 1.017 GB, free: 12.01 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/1.186, allocations: 0.6988 MB / 1.018 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/1.188, allocations: 0.8488 MB / 1.018 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/1.192, allocations: 1.583 MB / 1.02 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/1.192, allocations: 0 / 1.02 GB, free: 8.832 MB / 0.7637 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007891/1.2, allocations: 2.721 MB / 1.023 GB, free: 6.086 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.2, allocations: 8 kB / 1.023 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.2, allocations: 0 / 1.023 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/1.202, allocations: 0.5676 MB / 1.023 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/1.204, allocations: 423.5 kB / 1.024 GB, free: 5.082 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/1.22, allocations: 10.14 MB / 1.034 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/1.222, allocations: 87.97 kB / 1.034 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/1.222, allocations: 120 kB / 1.034 GB, free: 10.04 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.001125/1.223, allocations: 389.5 kB / 1.034 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005495/1.224, allocations: 230.4 kB / 1.034 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.235, allocations: 4.065 MB / 1.038 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-05/1.235, allocations: 16 kB / 1.038 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.567e-05/1.235, allocations: 8 kB / 1.038 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.761e-05/1.235, allocations: 7.969 kB / 1.038 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3576/1.592, allocations: 5.275 MB / 1.043 GB, free: 324.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/1.592, allocations: 1.578 kB / 1.043 GB, free: 324.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/1.595, allocations: 412.5 kB / 1.044 GB, free: 324.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001972/1.597, allocations: 0.5747 MB / 1.044 GB, free: 324.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002557/1.597, allocations: 74.61 kB / 1.045 GB, free: 324.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.608, allocations: 10.13 MB / 1.054 GB, free: 317.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.608, allocations: 0 / 1.054 GB, free: 317.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009271/1.618, allocations: 3.755 MB / 1.058 GB, free: 317.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.619, allocations: 452.6 kB / 1.058 GB, free: 316.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003422/1.619, allocations: 43.89 kB / 1.059 GB, free: 316.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.621, allocations: 83.08 kB / 1.059 GB, free: 316.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004621/1.621, allocations: 160.8 kB / 1.059 GB, free: 316.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002569/1.621, allocations: 112.7 kB / 1.059 GB, free: 316.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001718/1.623, allocations: 1.056 MB / 1.06 GB, free: 316.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/1.623, allocations: 0 / 1.06 GB, free: 316.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00321/1.626, allocations: 0.8849 MB / 1.061 GB, free: 316.3 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.009944/1.636, allocations: 5.266 MB / 1.066 GB, free: 314.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005208/1.641, allocations: 2.589 MB / 1.068 GB, free: 313.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.641, allocations: 0 / 1.068 GB, free: 313.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003456/1.645, allocations: 1.852 MB / 1.07 GB, free: 312.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/1.647, allocations: 0.5744 MB / 1.071 GB, free: 312.1 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/1.676, allocations: 17.44 MB / 1.088 GB, free: 301.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008538/1.677, allocations: 1.585 MB / 1.089 GB, free: 299.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002576/1.68, allocations: 1.442 MB / 1.091 GB, free: 298.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.681, allocations: 1.197 MB / 1.092 GB, free: 297.1 MB / 0.7794 GB Notification: Performance of SimCode: time 1.102e-06/1.681, allocations: 0 / 1.092 GB, free: 297.1 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/1.806, allocations: 65.44 MB / 1.156 GB, free: 232 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/16.69, allocations: 11.69 kB / 1.156 GB, free: 232 MB / 0.7794 GB " [Timeout remaining time 643] (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 --stepSize=0.1 --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_2/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: 20.750170624349266]