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 dev (/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.001277/0.001277, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001446/0.001446, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.753/0.753, allocations: 89.6 MB / 380.6 MB, free: 11.44 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003742, allocations: 7.75 kB / 459.9 MB, free: 24.37 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.138, allocations: 68.82 MB / 0.5163 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.5871/0.7252, allocations: 225.8 MB / 0.7368 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03805/0.7633, allocations: 30.97 MB / 0.7671 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.7665, allocations: 43.75 kB / 0.7671 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004165/0.7707, allocations: 1.155 MB / 0.7683 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.7816, allocations: 2.987 MB / 0.7712 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01102/0.7927, allocations: 2.671 MB / 0.7738 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00618/0.7989, allocations: 2.322 MB / 0.776 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.8003, allocations: 0.5893 MB / 0.7766 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005659/0.8059, allocations: 1.788 MB / 0.7784 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.8087, allocations: 1.085 MB / 0.7794 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005626/0.8093, allocations: 112 kB / 0.7795 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01801/0.8273, allocations: 6.602 MB / 0.786 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.8286, allocations: 414.2 kB / 0.7864 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.8301, allocations: 484.4 kB / 0.7868 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.8408, allocations: 3.184 MB / 0.79 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.8409, allocations: 0 / 0.79 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.387e-06/0.8409, allocations: 0 / 0.79 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001223/0.841, allocations: 0 / 0.79 GB, free: 1.91 MB / 0.5919 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.008248/0.8493, allocations: 2.92 MB / 0.7928 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.8493, allocations: 12.03 kB / 0.7928 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004591/0.8539, allocations: 0.5706 MB / 0.7934 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.8567, allocations: 1.15 MB / 0.7945 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000481/0.8572, allocations: 421.7 kB / 0.7949 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005411/0.8578, allocations: 215.8 kB / 0.7951 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004834/0.8626, allocations: 2.35 MB / 0.7974 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.8627, allocations: 3.938 kB / 0.7974 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.8629, allocations: 83.98 kB / 0.7975 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.163e-05/0.863, allocations: 84.03 kB / 0.7976 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/0.867, allocations: 1.929 MB / 0.7994 GB, free: 7.898 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.3571/1.224, allocations: 9.227 MB / 0.8085 GB, free: 224.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005239/1.229, allocations: 2.038 MB / 0.8104 GB, free: 224.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/1.231, allocations: 2.614 MB / 0.813 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/1.231, allocations: 51.69 kB / 0.813 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=174): time 3.797e-06/1.231, allocations: 0 / 0.813 GB, free: 221.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=176): time 0.01761/1.249, allocations: 7.055 MB / 0.8199 GB, free: 218.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/1.249, allocations: 70.59 kB / 0.82 GB, free: 218.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/1.251, allocations: 1.193 MB / 0.8212 GB, free: 218.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002837/1.251, allocations: 57.48 kB / 0.8212 GB, free: 218.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006369/1.252, allocations: 0.8732 MB / 0.8221 GB, free: 217.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005956/1.252, allocations: 0.5907 MB / 0.8227 GB, free: 217 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.253, allocations: 31.25 kB / 0.8227 GB, free: 216.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.253, allocations: 365.6 kB / 0.823 GB, free: 216.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/1.254, allocations: 0.7376 MB / 0.8238 GB, free: 216.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/1.256, allocations: 0.8867 MB / 0.8246 GB, free: 216 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/1.258, allocations: 0.7982 MB / 0.8254 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/1.258, allocations: 1.219 kB / 0.8254 GB, free: 215.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007333/1.265, allocations: 2.894 MB / 0.8282 GB, free: 214.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/1.265, allocations: 12.22 kB / 0.8282 GB, free: 214.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.265, allocations: 7.719 kB / 0.8282 GB, free: 214.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/1.267, allocations: 0.6243 MB / 0.8289 GB, free: 214.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00339/1.271, allocations: 437.2 kB / 0.8293 GB, free: 214.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/1.288, allocations: 9.814 MB / 0.8389 GB, free: 207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/1.291, allocations: 147.8 kB / 0.839 GB, free: 206.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004831/1.292, allocations: 122.2 kB / 0.8391 GB, free: 206.9 MB / 0.6075 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 (169): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,88.9%) 1,(3,88.9%) 15,(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001289/1.293, allocations: 367.8 kB / 0.8395 GB, free: 206.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000691/1.294, allocations: 175.3 kB / 0.8396 GB, free: 206.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/1.307, allocations: 4.264 MB / 0.8438 GB, free: 205.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/1.307, allocations: 19.84 kB / 0.8438 GB, free: 205.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.684e-05/1.307, allocations: 7.938 kB / 0.8438 GB, free: 205.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/1.307, allocations: 11.81 kB / 0.8438 GB, free: 205.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/1.322, allocations: 5.343 MB / 0.8491 GB, free: 202.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.322, allocations: 8.156 kB / 0.8491 GB, free: 202.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002512/1.325, allocations: 412.3 kB / 0.8495 GB, free: 202.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001804/1.326, allocations: 0.6494 MB / 0.8501 GB, free: 202 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/1.327, allocations: 74.98 kB / 0.8502 GB, free: 201.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01009/1.337, allocations: 9.821 MB / 0.8597 GB, free: 193.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.337, allocations: 7.484 kB / 0.8598 GB, free: 193.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007516/1.344, allocations: 4.047 MB / 0.8637 GB, free: 190.5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000808/1.345, allocations: 414.5 kB / 0.8641 GB, free: 190.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/1.346, allocations: 43.98 kB / 0.8641 GB, free: 190.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/1.347, allocations: 143.8 kB / 0.8643 GB, free: 189.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/1.347, allocations: 169.7 kB / 0.8644 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.347, allocations: 115.9 kB / 0.8646 GB, free: 189.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008506/1.348, allocations: 0.8066 MB / 0.8653 GB, free: 188.9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/1.348, allocations: 0 / 0.8653 GB, free: 188.9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00254/1.351, allocations: 0.8745 MB / 0.8662 GB, free: 188 MB / 0.6075 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,flowResistanceB.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 (160): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1,(3,88.9%) 1,(3,88.9%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001723/1.352, allocations: 1.126 MB / 0.8673 GB, free: 187.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005038/1.357, allocations: 2.841 MB / 0.8701 GB, free: 184.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.357, allocations: 4.062 kB / 0.8701 GB, free: 184.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003365/1.361, allocations: 2.03 MB / 0.8721 GB, free: 182.1 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/1.363, allocations: 471 kB / 0.8725 GB, free: 181.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007949/1.371, allocations: 5.448 MB / 0.8778 GB, free: 176.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.372, allocations: 1.523 MB / 0.8793 GB, free: 174.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.004845/1.377, allocations: 1.402 MB / 0.8807 GB, free: 173.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/1.378, allocations: 287.2 kB / 0.881 GB, free: 172.9 MB / 0.6075 GB Notification: Performance of SimCode: time 8.81e-07/1.378, allocations: 0 / 0.881 GB, free: 172.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.08378/1.462, allocations: 38.81 MB / 0.9189 GB, free: 134.4 MB / 0.6075 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 -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","../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches