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.0009951/0.0009951, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008033/0.008034, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.686/0.686, allocations: 91.32 MB / 382.7 MB, free: 9.672 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003868, allocations: 14.78 kB / 462.7 MB, free: 23.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1238, allocations: 69.22 MB / 0.5195 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.9788/1.103, allocations: 303.4 MB / 0.8157 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04093/1.144, allocations: 37.88 MB / 0.8527 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00364/1.147, allocations: 109 kB / 0.8528 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.004069/1.151, allocations: 1.237 MB / 0.854 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009611/1.161, allocations: 3.015 MB / 0.857 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00833/1.169, allocations: 2.98 MB / 0.8599 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005903/1.175, allocations: 4.258 MB / 0.864 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/1.177, allocations: 0.7533 MB / 0.8648 GB, free: 16.5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005094/1.182, allocations: 2.184 MB / 0.8669 GB, free: 16.47 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003067/1.185, allocations: 1.337 MB / 0.8682 GB, free: 16.47 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0007781/1.186, allocations: 107.1 kB / 0.8683 GB, free: 16.47 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01354/1.2, allocations: 7.001 MB / 0.8752 GB, free: 16.28 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008964/1.2, allocations: 448.5 kB / 0.8756 GB, free: 16.28 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00275/1.203, allocations: 1.281 MB / 0.8768 GB, free: 16.25 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/1.214, allocations: 4.669 MB / 0.8814 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.214, allocations: 4.172 kB / 0.8814 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.254e-06/1.214, allocations: 0 / 0.8814 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001237/1.214, allocations: 0 / 0.8814 GB, free: 15.72 MB / 0.6231 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.007454/1.222, allocations: 3.14 MB / 0.8845 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.222, allocations: 6.562 kB / 0.8845 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004737/1.226, allocations: 0.6126 MB / 0.8851 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003417/1.23, allocations: 1.581 MB / 0.8866 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005507/1.23, allocations: 425 kB / 0.887 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005906/1.231, allocations: 212.2 kB / 0.8872 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00532/1.236, allocations: 2.372 MB / 0.8895 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.04e-05/1.236, allocations: 1.125 kB / 0.8895 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002287/1.237, allocations: 81.5 kB / 0.8896 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.289e-05/1.237, allocations: 79.2 kB / 0.8897 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004178/1.241, allocations: 1.942 MB / 0.8916 GB, free: 11.6 MB / 0.6231 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.01411/1.255, allocations: 9.345 MB / 0.9007 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004622/1.26, allocations: 2.052 MB / 0.9027 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002204/1.262, allocations: 1.099 MB / 0.9038 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001935/1.264, allocations: 2.608 MB / 0.9063 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/1.264, allocations: 49.19 kB / 0.9064 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=174): time 3.877e-06/1.264, allocations: 4 kB / 0.9064 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of matching and sorting (n=176): time 0.01806/1.282, allocations: 7.179 MB / 0.9134 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/1.282, allocations: 69.41 kB / 0.9135 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/1.284, allocations: 1.499 MB / 0.9149 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002418/1.285, allocations: 59.27 kB / 0.915 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006923/1.285, allocations: 1.028 MB / 0.916 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006521/1.286, allocations: 0.5896 MB / 0.9166 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/1.286, allocations: 127.3 kB / 0.9167 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/1.286, allocations: 305.1 kB / 0.917 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/1.288, allocations: 0.7472 MB / 0.9177 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/1.29, allocations: 0.9108 MB / 0.9186 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003681/1.294, allocations: 1.672 MB / 0.9202 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.294, allocations: 0 / 0.9202 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007658/1.301, allocations: 2.963 MB / 0.9231 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/1.301, allocations: 7.938 kB / 0.9231 GB, free: 7.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/1.301, allocations: 4 kB / 0.9231 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/1.303, allocations: 0.6336 MB / 0.9237 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/1.306, allocations: 430.5 kB / 0.9242 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/1.319, allocations: 9.754 MB / 0.9337 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/1.322, allocations: 146.5 kB / 0.9338 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/1.322, allocations: 119.1 kB / 0.9339 GB, free: 13.07 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.001107/1.323, allocations: 383.4 kB / 0.9343 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005089/1.324, allocations: 213.3 kB / 0.9345 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.334, allocations: 4.306 MB / 0.9387 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/1.334, allocations: 20 kB / 0.9387 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.334, allocations: 8 kB / 0.9387 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.628e-05/1.334, allocations: 19.89 kB / 0.9388 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/1.347, allocations: 5.539 MB / 0.9442 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/1.347, allocations: 4 kB / 0.9442 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/1.349, allocations: 423 kB / 0.9446 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/1.351, allocations: 0.6407 MB / 0.9452 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/1.351, allocations: 75.94 kB / 0.9453 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/1.365, allocations: 9.736 MB / 0.9548 GB, free: 7.27 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.365, allocations: 2.812 kB / 0.9548 GB, free: 7.27 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009469/1.374, allocations: 4.031 MB / 0.9587 GB, free: 3.207 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009934/1.375, allocations: 438.2 kB / 0.9591 GB, free: 2.758 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003032/1.375, allocations: 43.98 kB / 0.9592 GB, free: 2.715 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.377, allocations: 147.8 kB / 0.9593 GB, free: 2.57 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003175/1.377, allocations: 160.6 kB / 0.9595 GB, free: 2.414 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/1.377, allocations: 111.9 kB / 0.9596 GB, free: 2.305 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001377/1.379, allocations: 1.026 MB / 0.9606 GB, free: 1.258 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/1.379, allocations: 0 / 0.9606 GB, free: 1.258 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002594/1.381, allocations: 0.8785 MB / 0.9614 GB, free: 388 kB / 0.67 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.001988/1.383, allocations: 1.135 MB / 0.9625 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006239/1.39, allocations: 2.853 MB / 0.9653 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/1.39, allocations: 0 / 0.9653 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004254/1.394, allocations: 2.032 MB / 0.9673 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/1.398, allocations: 0.5136 MB / 0.9678 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.408, allocations: 6.127 MB / 0.9738 GB, free: 3.703 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/1.409, allocations: 1.566 MB / 0.9753 GB, free: 2.102 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003752/1.413, allocations: 1.438 MB / 0.9767 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/1.414, allocations: 323.2 kB / 0.977 GB, free: 400 kB / 0.6856 GB Notification: Performance of SimCode: time 1.012e-06/1.414, allocations: 0 / 0.977 GB, free: 400 kB / 0.6856 GB Notification: Performance of Templates: time 0.06883/1.483, allocations: 40.93 MB / 1.017 GB, free: 7.859 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches