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.002282/0.002282, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003552/0.003552, allocations: 213.1 kB / 22.24 MB, free: 5.262 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.771/1.771, allocations: 230.6 MB / 256 MB, free: 7.77 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.034/1.034, allocations: 94.62 MB / 407 MB, free: 8.852 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.002732/0.002732, allocations: 85 kB / 0.5549 GB, free: 38.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2331, allocations: 73.05 MB / 0.6263 GB, free: 172 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 1.041/1.274, allocations: 271.4 MB / 0.8914 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05625/1.331, allocations: 34.59 MB / 0.9251 GB, free: 6.887 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004955/1.336, allocations: 146.6 kB / 0.9253 GB, free: 6.742 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005509/1.341, allocations: 1.241 MB / 0.9265 GB, free: 5.496 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01521/1.356, allocations: 3.43 MB / 0.9298 GB, free: 2.051 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01414/1.37, allocations: 3.458 MB / 0.9332 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008788/1.379, allocations: 3.834 MB / 0.937 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/1.381, allocations: 0.4985 MB / 0.9375 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006154/1.387, allocations: 2.468 MB / 0.9399 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/1.389, allocations: 1.364 MB / 0.9412 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000444/1.39, allocations: 232 kB / 0.9414 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0174/1.407, allocations: 6.47 MB / 0.9477 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001592/1.409, allocations: 0.5913 MB / 0.9483 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00244/1.411, allocations: 1.146 MB / 0.9494 GB, free: 13.88 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01817/1.429, allocations: 5.017 MB / 0.9543 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/1.429, allocations: 0 / 0.9543 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.068e-06/1.429, allocations: 0 / 0.9543 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001346/1.429, allocations: 3.938 kB / 0.9543 GB, free: 8.844 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.011/1.44, allocations: 3.701 MB / 0.9579 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 6.833e-05/1.441, allocations: 8.031 kB / 0.958 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004557/1.441, allocations: 295.3 kB / 0.9582 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004709/1.446, allocations: 0.6342 MB / 0.9589 GB, free: 4.141 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/1.45, allocations: 1.69 MB / 0.9605 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006207/1.451, allocations: 0.5624 MB / 0.9611 GB, free: 1.715 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/1.451, allocations: 212 kB / 0.9613 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005005/1.456, allocations: 2.323 MB / 0.9635 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.646e-05/1.456, allocations: 3.938 kB / 0.9635 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/1.456, allocations: 87.94 kB / 0.9636 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/1.456, allocations: 72.05 kB / 0.9637 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004264/1.461, allocations: 1.878 MB / 0.9655 GB, free: 13.02 MB / 0.7169 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.01214/1.473, allocations: 5.847 MB / 0.9712 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0044/1.477, allocations: 1.847 MB / 0.973 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/1.479, allocations: 0.9778 MB / 0.974 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007321/1.48, allocations: 221.9 kB / 0.9742 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/1.48, allocations: 52.5 kB / 0.9742 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 4.078e-06/1.48, allocations: 8 kB / 0.9743 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01695/1.497, allocations: 6.077 MB / 0.9802 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/1.497, allocations: 77.34 kB / 0.9803 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/1.5, allocations: 1.569 MB / 0.9818 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001457/1.5, allocations: 53.7 kB / 0.9818 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/1.501, allocations: 1.069 MB / 0.9829 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008511/1.502, allocations: 0.6235 MB / 0.9835 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008164/1.502, allocations: 323.5 kB / 0.9838 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.503, allocations: 301.1 kB / 0.9841 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/1.504, allocations: 0.7027 MB / 0.9848 GB, free: 9.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/1.506, allocations: 0.8489 MB / 0.9856 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/1.51, allocations: 1.574 MB / 0.9872 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.51, allocations: 0 / 0.9872 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007531/1.518, allocations: 2.729 MB / 0.9898 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/1.518, allocations: 6.344 kB / 0.9898 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.518, allocations: 8.094 kB / 0.9898 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/1.52, allocations: 0.5599 MB / 0.9904 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/1.522, allocations: 427.4 kB / 0.9908 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/1.538, allocations: 9.547 MB / 1 GB, free: 8.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/1.54, allocations: 87.97 kB / 1 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006935/1.541, allocations: 120 kB / 1 GB, free: 8.496 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.001702/1.542, allocations: 389.4 kB / 1.001 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009301/1.543, allocations: 238.5 kB / 1.001 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/1.555, allocations: 4.058 MB / 1.005 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-05/1.555, allocations: 19.94 kB / 1.005 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.673e-05/1.555, allocations: 8 kB / 1.005 GB, free: 3.762 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/1.555, allocations: 7.969 kB / 1.005 GB, free: 3.754 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/1.57, allocations: 4.912 MB / 1.01 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.57, allocations: 4 kB / 1.01 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002166/1.572, allocations: 415.6 kB / 1.01 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002168/1.574, allocations: 0.566 MB / 1.011 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002812/1.575, allocations: 79.94 kB / 1.011 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01645/1.591, allocations: 9.523 MB / 1.02 GB, free: 3.582 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/1.591, allocations: 4.031 kB / 1.02 GB, free: 3.578 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.602, allocations: 3.757 MB / 1.024 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/1.603, allocations: 382.1 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/1.603, allocations: 36.14 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.605, allocations: 83.92 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004284/1.605, allocations: 173.6 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000312/1.605, allocations: 116 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001997/1.607, allocations: 1.047 MB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.607, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003686/1.611, allocations: 0.8932 MB / 1.026 GB, free: 13.03 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.01265/1.624, allocations: 5.249 MB / 1.031 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00705/1.631, allocations: 2.586 MB / 1.034 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.631, allocations: 4 kB / 1.034 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004701/1.635, allocations: 1.85 MB / 1.036 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/1.639, allocations: 0.5763 MB / 1.036 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04078/1.679, allocations: 17.43 MB / 1.053 GB, free: 0.832 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5059/2.185, allocations: 1.021 MB / 1.054 GB, free: 332.1 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005435/2.191, allocations: 1.434 MB / 1.056 GB, free: 332.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002442/2.193, allocations: 1.195 MB / 1.057 GB, free: 332.1 MB / 0.795 GB Notification: Performance of SimCode: time 2.825e-06/2.193, allocations: 4.719 kB / 1.057 GB, free: 332.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1746/2.368, allocations: 69.03 MB / 1.124 GB, free: 281.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.93/20.3, allocations: 3.984 kB / 1.124 GB, free: 281.2 MB / 0.795 GB " [Timeout remaining time 640] (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: 25.28674684325233]