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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) 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: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 114.9 kB / 16.37 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 189.4 kB / 17.3 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6725/0.6725, allocations: 89.49 MB / 380.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 75.89 kB / 459.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1246, allocations: 67.31 MB / 0.5146 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.7348/0.8594, allocations: 307.3 MB / 0.8148 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03147/0.8909, allocations: 37.83 MB / 0.8517 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/0.8934, allocations: 49.31 kB / 0.8518 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003532/0.897, allocations: 1.387 MB / 0.8531 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008345/0.9054, allocations: 3.218 MB / 0.8562 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008339/0.9137, allocations: 3.436 MB / 0.8596 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004671/0.9184, allocations: 3.473 MB / 0.863 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.9195, allocations: 0.7679 MB / 0.8637 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.9231, allocations: 2.188 MB / 0.8659 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.9247, allocations: 1.415 MB / 0.8673 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002996/0.925, allocations: 232 kB / 0.8675 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01226/0.9373, allocations: 6.717 MB / 0.874 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005653/0.9379, allocations: 0.5571 MB / 0.8746 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.9395, allocations: 1.306 MB / 0.8759 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008493/0.948, allocations: 4.69 MB / 0.8804 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.948, allocations: 4 kB / 0.8804 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.948, allocations: 0 / 0.8804 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.744e-05/0.9481, allocations: 0 / 0.8804 GB, free: 12.48 MB / 0.6075 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.006265/0.9543, allocations: 3.332 MB / 0.8837 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.9544, allocations: 8.031 kB / 0.8837 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/0.9585, allocations: 0.5746 MB / 0.8843 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.9606, allocations: 1.245 MB / 0.8855 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.961, allocations: 409.7 kB / 0.8859 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003278/0.9614, allocations: 207.9 kB / 0.8861 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/0.9655, allocations: 2.324 MB / 0.8883 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-05/0.9655, allocations: 7.031 kB / 0.8884 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.9657, allocations: 80 kB / 0.8884 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.587e-05/0.9658, allocations: 80.03 kB / 0.8885 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/0.9696, allocations: 1.88 MB / 0.8903 GB, free: 2.195 MB / 0.6075 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.01105/0.9807, allocations: 9.156 MB / 0.8993 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.9848, allocations: 1.96 MB / 0.9012 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.9867, allocations: 1.054 MB / 0.9022 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001647/0.9884, allocations: 2.61 MB / 0.9048 GB, free: 2.227 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.9885, allocations: 48.56 kB / 0.9048 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=174): time 3.227e-06/0.9885, allocations: 4 kB / 0.9048 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of matching and sorting (n=176): time 0.01531/1.004, allocations: 6.548 MB / 0.9112 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/1.004, allocations: 69.41 kB / 0.9113 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/1.005, allocations: 1.205 MB / 0.9125 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000128/1.005, allocations: 57.7 kB / 0.9125 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005728/1.006, allocations: 0.8734 MB / 0.9134 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000446/1.006, allocations: 0.5905 MB / 0.9139 GB, free: 8.625 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005269/1.007, allocations: 319.5 kB / 0.9143 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/1.007, allocations: 305.1 kB / 0.9145 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/1.009, allocations: 0.6988 MB / 0.9152 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/1.01, allocations: 0.8477 MB / 0.9161 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/1.014, allocations: 1.578 MB / 0.9176 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.014, allocations: 1.062 kB / 0.9176 GB, free: 4.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006615/1.02, allocations: 2.685 MB / 0.9202 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.02, allocations: 4 kB / 0.9202 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.02, allocations: 4 kB / 0.9202 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/1.022, allocations: 0.5748 MB / 0.9208 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/1.024, allocations: 423.8 kB / 0.9212 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.036, allocations: 10.13 MB / 0.9311 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/1.038, allocations: 88.84 kB / 0.9312 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/1.038, allocations: 120 kB / 0.9313 GB, free: 6.184 MB / 0.6544 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.0007683/1.039, allocations: 368.2 kB / 0.9316 GB, free: 5.832 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/1.039, allocations: 177.7 kB / 0.9318 GB, free: 5.656 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008743/1.048, allocations: 4.039 MB / 0.9357 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/1.048, allocations: 20 kB / 0.9358 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/1.048, allocations: 4 kB / 0.9358 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/1.048, allocations: 15.91 kB / 0.9358 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/1.058, allocations: 5.172 MB / 0.9408 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.058, allocations: 4.031 kB / 0.9408 GB, free: 12.39 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/1.06, allocations: 406.5 kB / 0.9412 GB, free: 12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001619/1.062, allocations: 0.575 MB / 0.9418 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/1.062, allocations: 75.95 kB / 0.9419 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/1.074, allocations: 10.14 MB / 0.9518 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.074, allocations: 0 / 0.9518 GB, free: 0.5664 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008294/1.082, allocations: 3.713 MB / 0.9554 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008126/1.083, allocations: 402.6 kB / 0.9558 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/1.083, allocations: 36 kB / 0.9558 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.085, allocations: 91.86 kB / 0.9559 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/1.085, allocations: 157.8 kB / 0.956 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.085, allocations: 111.9 kB / 0.9562 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00108/1.086, allocations: 0.8295 MB / 0.957 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/1.086, allocations: 4 kB / 0.957 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002393/1.089, allocations: 0.8746 MB / 0.9578 GB, free: 10.32 MB / 0.6856 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.001717/1.09, allocations: 1.04 MB / 0.9588 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005419/1.096, allocations: 2.693 MB / 0.9615 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.096, allocations: 0 / 0.9615 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003638/1.099, allocations: 1.905 MB / 0.9633 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/1.102, allocations: 0.5449 MB / 0.9639 GB, free: 4.211 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007607/1.109, allocations: 4.441 MB / 0.9682 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000988/1.11, allocations: 1.475 MB / 0.9696 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002639/1.113, allocations: 1.396 MB / 0.971 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008646/1.114, allocations: 291.2 kB / 0.9713 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of SimCode: time 6.31e-07/1.114, allocations: 3.938 kB / 0.9713 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of Templates: time 0.06083/1.175, allocations: 41.72 MB / 1.012 GB, free: 3.441 MB / 0.7325 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.makefile (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 gbode -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) 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) Reference file matches