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.001691/0.001691, allocations: 104.5 kB / 16.35 MB, free: 5.875 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.001809/0.001809, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.6481/0.6481, allocations: 89.5 MB / 380.6 MB, free: 8.652 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 83.88 kB / 459.7 MB, free: 10.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1054, allocations: 67.31 MB / 0.5146 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.7043/0.8097, allocations: 307.3 MB / 0.8148 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02791/0.8377, allocations: 37.82 MB / 0.8517 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00185/0.8395, allocations: 49.69 kB / 0.8517 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.8423, allocations: 1.382 MB / 0.8531 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006841/0.8492, allocations: 3.226 MB / 0.8562 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007239/0.8564, allocations: 3.43 MB / 0.8596 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003686/0.8601, allocations: 3.481 MB / 0.863 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008366/0.861, allocations: 0.766 MB / 0.8637 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.864, allocations: 2.196 MB / 0.8659 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.8654, allocations: 1.414 MB / 0.8673 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.8656, allocations: 236 kB / 0.8675 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01098/0.8766, allocations: 6.709 MB / 0.874 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004196/0.877, allocations: 0.5495 MB / 0.8746 GB, free: 2.086 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001216/0.8783, allocations: 1.317 MB / 0.8759 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006736/0.885, allocations: 4.686 MB / 0.8804 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.885, allocations: 0 / 0.8804 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.348e-06/0.885, allocations: 0 / 0.8804 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.8851, allocations: 3.938 kB / 0.8804 GB, free: 12.42 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.005586/0.8906, allocations: 3.332 MB / 0.8837 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.8907, allocations: 15.97 kB / 0.8837 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003833/0.8945, allocations: 0.5738 MB / 0.8843 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.8965, allocations: 1.236 MB / 0.8855 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/0.8969, allocations: 409.7 kB / 0.8859 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.8972, allocations: 211.9 kB / 0.8861 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.901, allocations: 2.32 MB / 0.8883 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.901, allocations: 7.125 kB / 0.8883 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001762/0.9012, allocations: 84 kB / 0.8884 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.986e-05/0.9013, allocations: 76.05 kB / 0.8885 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/0.9048, allocations: 1.883 MB / 0.8903 GB, free: 2.137 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.009921/0.9147, allocations: 9.146 MB / 0.8993 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/0.9184, allocations: 1.968 MB / 0.9012 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.9202, allocations: 1.059 MB / 0.9022 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/0.9217, allocations: 2.603 MB / 0.9048 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.9217, allocations: 56.19 kB / 0.9048 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=174): time 2.775e-06/0.9218, allocations: 4 kB / 0.9048 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of matching and sorting (n=176): time 0.01385/0.9356, allocations: 6.543 MB / 0.9112 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.9357, allocations: 81.39 kB / 0.9113 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.937, allocations: 1.193 MB / 0.9124 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.9371, allocations: 57.7 kB / 0.9125 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000467/0.9376, allocations: 0.8695 MB / 0.9133 GB, free: 9.156 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/0.9379, allocations: 0.5951 MB / 0.9139 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000465/0.9384, allocations: 323.4 kB / 0.9142 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.859e-05/0.9385, allocations: 301.1 kB / 0.9145 GB, free: 7.945 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.9398, allocations: 0.6949 MB / 0.9152 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.9413, allocations: 0.8553 MB / 0.916 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.9441, allocations: 1.583 MB / 0.9176 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.9441, allocations: 0 / 0.9176 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.005665/0.9498, allocations: 2.681 MB / 0.9202 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.9498, allocations: 8 kB / 0.9202 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.9498, allocations: 0.75 kB / 0.9202 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.9513, allocations: 0.5688 MB / 0.9208 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.9531, allocations: 426.5 kB / 0.9212 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/0.9637, allocations: 10.14 MB / 0.9311 GB, free: 6.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.9648, allocations: 87.92 kB / 0.9312 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002/0.965, allocations: 125.9 kB / 0.9313 GB, free: 6.113 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.0006252/0.9656, allocations: 361.9 kB / 0.9316 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.9659, allocations: 185.6 kB / 0.9318 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007609/0.9735, allocations: 4.044 MB / 0.9358 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.9736, allocations: 16 kB / 0.9358 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.9736, allocations: 8 kB / 0.9358 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.9736, allocations: 11.95 kB / 0.9358 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00889/0.9825, allocations: 5.168 MB / 0.9408 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.9825, allocations: 4 kB / 0.9408 GB, free: 12.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.9843, allocations: 407.5 kB / 0.9412 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.9857, allocations: 0.5681 MB / 0.9418 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.9859, allocations: 79.94 kB / 0.9419 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.9962, allocations: 10.13 MB / 0.9517 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9962, allocations: 4.031 kB / 0.9518 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006991/1.003, allocations: 3.712 MB / 0.9554 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005726/1.004, allocations: 410.5 kB / 0.9558 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002224/1.004, allocations: 40 kB / 0.9558 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009757/1.005, allocations: 87.86 kB / 0.9559 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/1.005, allocations: 152.6 kB / 0.956 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001774/1.005, allocations: 120 kB / 0.9562 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008762/1.006, allocations: 0.8339 MB / 0.957 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/1.006, allocations: 0 / 0.957 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001828/1.008, allocations: 0.8707 MB / 0.9578 GB, free: 10.25 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.001427/1.01, allocations: 1.042 MB / 0.9588 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004557/1.014, allocations: 2.684 MB / 0.9615 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.014, allocations: 4 kB / 0.9615 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003061/1.017, allocations: 1.916 MB / 0.9633 GB, free: 4.637 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/1.019, allocations: 0.539 MB / 0.9639 GB, free: 4.145 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0063/1.025, allocations: 4.434 MB / 0.9682 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000822/1.026, allocations: 1.471 MB / 0.9696 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002186/1.028, allocations: 1.401 MB / 0.971 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007723/1.029, allocations: 291.2 kB / 0.9713 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of SimCode: time 3.01e-07/1.029, allocations: 0 / 0.9713 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of Templates: time 0.4377/1.467, allocations: 41.71 MB / 1.012 GB, free: 3.391 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 cvode -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