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.001621/0.001621, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001764/0.001764, allocations: 221.5 kB / 22.99 MB, free: 4.914 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.828 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 0.7149/0.7149, allocations: 94.62 MB / 407.8 MB, free: 8.906 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.002534/0.002534, allocations: 86.22 kB / 0.5562 GB, free: 38.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1121, allocations: 73.04 MB / 0.6275 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5824/0.6945, allocations: 271.4 MB / 0.8926 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04614/0.7407, allocations: 34.58 MB / 0.9264 GB, free: 6.602 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.7432, allocations: 146.6 kB / 0.9265 GB, free: 6.457 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003957/0.7471, allocations: 1.241 MB / 0.9277 GB, free: 5.211 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00952/0.7567, allocations: 3.428 MB / 0.9311 GB, free: 1.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009143/0.7658, allocations: 3.462 MB / 0.9344 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005509/0.7713, allocations: 3.838 MB / 0.9382 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009271/0.7722, allocations: 0.4946 MB / 0.9387 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/0.7767, allocations: 2.472 MB / 0.9411 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.7786, allocations: 1.364 MB / 0.9424 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003493/0.7789, allocations: 232 kB / 0.9426 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01211/0.791, allocations: 6.471 MB / 0.949 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.7917, allocations: 0.5796 MB / 0.9495 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001406/0.7931, allocations: 1.147 MB / 0.9506 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009168/0.8023, allocations: 5.029 MB / 0.9556 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8023, allocations: 0 / 0.9556 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.376e-06/0.8023, allocations: 3.984 kB / 0.9556 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.737e-05/0.8024, allocations: 0 / 0.9556 GB, free: 8.551 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.007154/0.8095, allocations: 3.697 MB / 0.9592 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.8095, allocations: 11.97 kB / 0.9592 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004295/0.8138, allocations: 0.6342 MB / 0.9598 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/0.8175, allocations: 1.69 MB / 0.9615 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005875/0.8181, allocations: 0.5507 MB / 0.962 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003676/0.8184, allocations: 216 kB / 0.9622 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004656/0.8231, allocations: 2.327 MB / 0.9645 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.8231, allocations: 8 kB / 0.9645 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.8234, allocations: 83.94 kB / 0.9646 GB, free: 15 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.624e-05/0.8235, allocations: 80.05 kB / 0.9646 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004166/0.8276, allocations: 1.87 MB / 0.9665 GB, free: 13.04 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.01068/0.8383, allocations: 5.559 MB / 0.9719 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004494/0.8428, allocations: 1.851 MB / 0.9737 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002195/0.845, allocations: 0.9856 MB / 0.9747 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006827/0.8457, allocations: 213.8 kB / 0.9749 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.8457, allocations: 52.56 kB / 0.9749 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 4.098e-06/0.8457, allocations: 0 / 0.9749 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01684/0.8626, allocations: 6.074 MB / 0.9808 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.8626, allocations: 73.34 kB / 0.9809 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.8647, allocations: 1.421 MB / 0.9823 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/0.8649, allocations: 53.7 kB / 0.9824 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008974/0.8658, allocations: 1.092 MB / 0.9834 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005786/0.8664, allocations: 0.6196 MB / 0.984 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/0.8669, allocations: 323.5 kB / 0.9843 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.867, allocations: 305.1 kB / 0.9846 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.8687, allocations: 0.6923 MB / 0.9853 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.8706, allocations: 0.8567 MB / 0.9861 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/0.8741, allocations: 1.573 MB / 0.9877 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8741, allocations: 0 / 0.9877 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007349/0.8815, allocations: 2.717 MB / 0.9903 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.8815, allocations: 4 kB / 0.9903 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.8815, allocations: 4 kB / 0.9903 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/0.8834, allocations: 0.5637 MB / 0.9909 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.8853, allocations: 427.5 kB / 0.9913 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/0.899, allocations: 9.432 MB / 1.001 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.9005, allocations: 87.97 kB / 1.001 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/0.9007, allocations: 123.9 kB / 1.001 GB, free: 9.133 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.0008662/0.9016, allocations: 385.5 kB / 1.001 GB, free: 8.746 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/0.902, allocations: 230.5 kB / 1.001 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009243/0.9113, allocations: 4.057 MB / 1.005 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.9113, allocations: 16.11 kB / 1.005 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.9113, allocations: 11.94 kB / 1.005 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.9113, allocations: 7.969 kB / 1.005 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.9222, allocations: 4.674 MB / 1.01 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.9222, allocations: 4 kB / 1.01 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/0.9242, allocations: 411.7 kB / 1.01 GB, free: 15.24 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/0.926, allocations: 0.5699 MB / 1.011 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/0.9262, allocations: 79.94 kB / 1.011 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0133/0.9395, allocations: 9.407 MB / 1.02 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9395, allocations: 0 / 1.02 GB, free: 4.66 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009186/0.9487, allocations: 3.75 MB / 1.024 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009876/0.9497, allocations: 354.3 kB / 1.024 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/0.95, allocations: 40.14 kB / 1.024 GB, free: 476 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.9513, allocations: 83.92 kB / 1.024 GB, free: 392 kB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/0.9516, allocations: 169.6 kB / 1.024 GB, free: 224 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002138/0.9518, allocations: 119.9 kB / 1.024 GB, free: 104 kB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001417/0.9532, allocations: 0.9535 MB / 1.025 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/0.9532, allocations: 0 / 1.025 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00245/0.9557, allocations: 0.8855 MB / 1.026 GB, free: 14.23 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.001728/0.9574, allocations: 1.038 MB / 1.027 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.005751/0.9632, allocations: 2.594 MB / 1.03 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.9632, allocations: 0 / 1.03 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003963/0.9671, allocations: 1.835 MB / 1.032 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/0.9694, allocations: 0.5274 MB / 1.032 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009042/0.9784, allocations: 5.018 MB / 1.037 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.9796, allocations: 1.03 MB / 1.038 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/0.9808, allocations: 391.1 kB / 1.038 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of SimCode: time 7.22e-07/0.9808, allocations: 0 / 1.038 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of Templates: time 0.3207/1.302, allocations: 89.48 MB / 1.126 GB, free: 277.4 MB / 0.795 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: 15.382047343999147]