Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000966/0.000966, allocations: 99.86 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.001062/0.001062, allocations: 177.3 kB / 15.94 MB, free: 228 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7515/0.7515, allocations: 89.6 MB / 380.6 MB, free: 11.49 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.000482, allocations: 12.3 kB / 459.9 MB, free: 24.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 68.83 MB / 0.5163 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.5515/0.6792, allocations: 167.1 MB / 0.6795 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01824/0.6975, allocations: 14.47 MB / 0.6936 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.6987, allocations: 19.88 kB / 0.6936 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.7002, allocations: 0.4976 MB / 0.6941 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00435/0.7046, allocations: 1.519 MB / 0.6956 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004742/0.7093, allocations: 1.297 MB / 0.6969 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001794/0.7111, allocations: 1.018 MB / 0.6979 GB, free: 464 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.7115, allocations: 226.3 kB / 0.6981 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.7132, allocations: 0.8961 MB / 0.699 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.7138, allocations: 485.8 kB / 0.6994 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.7139, allocations: 48 kB / 0.6995 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006773/0.7206, allocations: 3.336 MB / 0.7027 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.7209, allocations: 175.2 kB / 0.7029 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.7212, allocations: 221.1 kB / 0.7031 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.7237, allocations: 1.477 MB / 0.7045 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7237, allocations: 0 / 0.7045 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7237, allocations: 3.938 kB / 0.7046 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.7237, allocations: 0 / 0.7046 GB, free: 9.586 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003015/0.7267, allocations: 1.477 MB / 0.706 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.7268, allocations: 12.03 kB / 0.706 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.7287, allocations: 278.2 kB / 0.7063 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.7297, allocations: 0.5946 MB / 0.7069 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002487/0.73, allocations: 208.7 kB / 0.7071 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.7301, allocations: 91.91 kB / 0.7071 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.732, allocations: 1.028 MB / 0.7081 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.732, allocations: 3.938 kB / 0.7081 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.7321, allocations: 36 kB / 0.7082 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/0.7322, allocations: 28 kB / 0.7082 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.7338, allocations: 0.8081 MB / 0.709 GB, free: 4.887 MB / 0.5137 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.005269/0.7391, allocations: 4.09 MB / 0.713 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.741, allocations: 0.9093 MB / 0.7139 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/0.7421, allocations: 1.307 MB / 0.7152 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.7421, allocations: 43.22 kB / 0.7152 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=80): time 3.176e-06/0.7421, allocations: 0 / 0.7152 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=80): time 0.00562/0.7478, allocations: 2.113 MB / 0.7173 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.7479, allocations: 64.02 kB / 0.7173 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007832/0.7486, allocations: 0.6061 MB / 0.7179 GB, free: 11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-05/0.7487, allocations: 41.7 kB / 0.718 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.7491, allocations: 428.1 kB / 0.7184 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.7493, allocations: 279.8 kB / 0.7186 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.7494, allocations: 12 kB / 0.7186 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.7496, allocations: 337.9 kB / 0.719 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/0.7503, allocations: 337.8 kB / 0.7193 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007956/0.7512, allocations: 415 kB / 0.7197 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/0.7519, allocations: 358.9 kB / 0.72 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7519, allocations: 0 / 0.72 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003041/0.7549, allocations: 1.33 MB / 0.7213 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.755, allocations: 10.03 kB / 0.7213 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.755, allocations: 5.297 kB / 0.7213 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008903/0.7559, allocations: 282.3 kB / 0.7216 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009086/0.7568, allocations: 207.7 kB / 0.7218 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00583/0.7627, allocations: 5.111 MB / 0.7268 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/0.7635, allocations: 111.2 kB / 0.7269 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.7636, allocations: 63.92 kB / 0.727 GB, free: 1.277 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003857/0.764, allocations: 209.7 kB / 0.7272 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.7642, allocations: 82.97 kB / 0.7272 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004305/0.7685, allocations: 1.937 MB / 0.7291 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.7685, allocations: 8 kB / 0.7291 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7685, allocations: 4 kB / 0.7291 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.7685, allocations: 3.984 kB / 0.7291 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005012/0.7736, allocations: 2.541 MB / 0.7316 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.7736, allocations: 8.156 kB / 0.7316 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009209/0.7745, allocations: 187.8 kB / 0.7318 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008414/0.7754, allocations: 290.3 kB / 0.7321 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.776e-05/0.7755, allocations: 39.98 kB / 0.7321 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005933/0.7814, allocations: 5.111 MB / 0.7371 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7814, allocations: 4.031 kB / 0.7371 GB, free: 6.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003999/0.7854, allocations: 1.882 MB / 0.739 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.7859, allocations: 239.8 kB / 0.7392 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.7861, allocations: 28 kB / 0.7392 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.7867, allocations: 55.95 kB / 0.7393 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.7869, allocations: 76.52 kB / 0.7393 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.008e-05/0.787, allocations: 47.98 kB / 0.7394 GB, free: 3.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000571/0.7875, allocations: 443 kB / 0.7398 GB, free: 3.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7875, allocations: 0 / 0.7398 GB, free: 3.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001393/0.7889, allocations: 475 kB / 0.7403 GB, free: 3.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.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 (76): * Single equations (assignments): 73 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.79, allocations: 0.5961 MB / 0.7408 GB, free: 2.418 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002733/0.7928, allocations: 1.322 MB / 0.7421 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7928, allocations: 0 / 0.7421 GB, free: 1.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.7946, allocations: 0.9723 MB / 0.7431 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.7957, allocations: 216.3 kB / 0.7433 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.7999, allocations: 2.608 MB / 0.7458 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.8005, allocations: 1.041 MB / 0.7469 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00145/0.802, allocations: 0.6059 MB / 0.7474 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.8024, allocations: 139.3 kB / 0.7476 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of SimCode: time 7.42e-07/0.8024, allocations: 0 / 0.7476 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.03078/0.8332, allocations: 17.83 MB / 0.765 GB, free: 9.648 MB / 0.5762 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches