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.001464/0.001464, allocations: 79.42 kB / 19.76 MB, free: 2.031 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.001674/0.001674, allocations: 155.8 kB / 23.01 MB, free: 4.941 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.534/1.534, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.7787/0.7787, allocations: 74.91 MB / 334.7 MB, free: 15.52 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.002666/0.002666, allocations: 87.86 kB / 496.4 MB, free: 29.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1306, allocations: 73.02 MB / 0.5561 GB, free: 15.56 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.7248/0.8554, allocations: 271.5 MB / 0.8212 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.05011/0.9055, allocations: 34.6 MB / 0.855 GB, free: 15.6 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/0.9082, allocations: 146.6 kB / 0.8551 GB, free: 15.45 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004263/0.9125, allocations: 1.237 MB / 0.8563 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.9234, allocations: 3.428 MB / 0.8597 GB, free: 10.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0122/0.9356, allocations: 3.452 MB / 0.863 GB, free: 7.305 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007054/0.9426, allocations: 3.842 MB / 0.8668 GB, free: 3.445 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.9439, allocations: 0.4985 MB / 0.8673 GB, free: 2.891 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005677/0.9496, allocations: 2.476 MB / 0.8697 GB, free: 416 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.9523, allocations: 1.36 MB / 0.871 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008582/0.9532, allocations: 232 kB / 0.8712 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01509/0.9683, allocations: 6.483 MB / 0.8776 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.9695, allocations: 0.5874 MB / 0.8781 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002511/0.972, allocations: 1.143 MB / 0.8793 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.9846, allocations: 5.021 MB / 0.8842 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.9846, allocations: 0 / 0.8842 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9846, allocations: 0 / 0.8842 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001046/0.9847, allocations: 0 / 0.8842 GB, free: 1.543 MB / 0.6856 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.009001/0.9937, allocations: 3.701 MB / 0.8878 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.9938, allocations: 8.031 kB / 0.8878 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/0.9989, allocations: 0.6459 MB / 0.8884 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004254/1.003, allocations: 1.683 MB / 0.8901 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006425/1.004, allocations: 0.5584 MB / 0.8906 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005714/1.004, allocations: 215.9 kB / 0.8908 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006234/1.011, allocations: 2.323 MB / 0.8931 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/1.011, allocations: 4 kB / 0.8931 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/1.011, allocations: 83.98 kB / 0.8932 GB, free: 8 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001099/1.011, allocations: 76.05 kB / 0.8932 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00515/1.016, allocations: 1.878 MB / 0.8951 GB, free: 6.027 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.01309/1.029, allocations: 5.555 MB / 0.9005 GB, free: 372 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004963/1.034, allocations: 1.846 MB / 0.9023 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00254/1.037, allocations: 0.9871 MB / 0.9033 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000802/1.037, allocations: 213.8 kB / 0.9035 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.447e-05/1.038, allocations: 60.48 kB / 0.9035 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 4.278e-06/1.038, allocations: 0 / 0.9035 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.02022/1.058, allocations: 6.07 MB / 0.9094 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/1.058, allocations: 69.41 kB / 0.9095 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/1.06, allocations: 1.421 MB / 0.9109 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004318/1.061, allocations: 53.7 kB / 0.9109 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.062, allocations: 1.088 MB / 0.912 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000975/1.063, allocations: 0.6235 MB / 0.9126 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009189/1.064, allocations: 319.5 kB / 0.9129 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.064, allocations: 313 kB / 0.9132 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/1.066, allocations: 0.6949 MB / 0.9139 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/1.068, allocations: 0.8527 MB / 0.9147 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00438/1.073, allocations: 1.573 MB / 0.9163 GB, free: 0 / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/1.073, allocations: 0.8594 kB / 0.9163 GB, free: 0 / 0.7169 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.009179/1.082, allocations: 2.721 MB / 0.9189 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/1.082, allocations: 4 kB / 0.9189 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/1.082, allocations: 4 kB / 0.9189 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/1.084, allocations: 0.5555 MB / 0.9195 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002512/1.086, allocations: 427.5 kB / 0.9199 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01566/1.102, allocations: 9.429 MB / 0.9291 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/1.104, allocations: 91.97 kB / 0.9292 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005598/1.105, allocations: 116 kB / 0.9293 GB, free: 2.133 MB / 0.7325 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.001364/1.106, allocations: 393.4 kB / 0.9297 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009337/1.107, allocations: 230.6 kB / 0.9299 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.118, allocations: 4.051 MB / 0.9338 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/1.118, allocations: 16 kB / 0.9339 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.083e-05/1.118, allocations: 8 kB / 0.9339 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.415e-05/1.118, allocations: 7.969 kB / 0.9339 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01409/1.132, allocations: 4.682 MB / 0.9384 GB, free: 8.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.542e-05/1.132, allocations: 4 kB / 0.9385 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002518/1.135, allocations: 407.7 kB / 0.9388 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002232/1.137, allocations: 0.5698 MB / 0.9394 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000441/1.138, allocations: 83.95 kB / 0.9395 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/1.153, allocations: 9.412 MB / 0.9487 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/1.153, allocations: 4.125 kB / 0.9487 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/1.164, allocations: 3.758 MB / 0.9523 GB, free: 9.836 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/1.166, allocations: 350.3 kB / 0.9527 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006385/1.166, allocations: 40 kB / 0.9527 GB, free: 9.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/1.168, allocations: 88.11 kB / 0.9528 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/1.169, allocations: 173.6 kB / 0.953 GB, free: 9.199 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003404/1.169, allocations: 112 kB / 0.9531 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001842/1.171, allocations: 0.9535 MB / 0.954 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of sort global known variables: time 9e-08/1.171, allocations: 0 / 0.954 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00378/1.175, allocations: 0.8854 MB / 0.9549 GB, free: 7.227 MB / 0.7637 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.00262/1.177, allocations: 1.042 MB / 0.9559 GB, free: 6.199 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007378/1.185, allocations: 2.59 MB / 0.9584 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.185, allocations: 0 / 0.9584 GB, free: 3.543 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004918/1.189, allocations: 1.839 MB / 0.9602 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/1.193, allocations: 0.5188 MB / 0.9607 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/1.204, allocations: 4.944 MB / 0.9655 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.206, allocations: 1.026 MB / 0.9665 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003782/1.21, allocations: 1.423 MB / 0.9679 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/1.211, allocations: 316.2 kB / 0.9682 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of SimCode: time 9.72e-07/1.211, allocations: 0 / 0.9682 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of Templates: time 0.3553/1.567, allocations: 42.51 MB / 1.01 GB, free: 347.4 MB / 0.8106 GB " [Timeout remaining time 658] 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 -s ida -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: 9.013590428978205]