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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 220 kB / 23.05 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7378/0.7378, allocations: 94.57 MB / 407.8 MB, free: 9.184 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 81.31 kB / 0.5557 GB, free: 38.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.116, allocations: 73.06 MB / 0.6271 GB, free: 484 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6227/0.7387, allocations: 310.4 MB / 0.9302 GB, free: 8.457 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0457/0.7844, allocations: 38.41 MB / 0.9677 GB, free: 1.922 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003253/0.7877, allocations: 146.6 kB / 0.9678 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004549/0.7922, allocations: 1.424 MB / 0.9692 GB, free: 356 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.009958/0.8022, allocations: 3.45 MB / 0.9726 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009614/0.8118, allocations: 3.483 MB / 0.976 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006395/0.8182, allocations: 3.846 MB / 0.9797 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.8194, allocations: 0.518 MB / 0.9802 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00524/0.8247, allocations: 2.468 MB / 0.9827 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.8272, allocations: 1.512 MB / 0.9841 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007072/0.8279, allocations: 232 kB / 0.9843 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01435/0.8423, allocations: 6.936 MB / 0.9911 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.8434, allocations: 0.5835 MB / 0.9917 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002222/0.8456, allocations: 1.406 MB / 0.9931 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0136/0.8592, allocations: 5.064 MB / 0.998 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.8592, allocations: 0 / 0.998 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8592, allocations: 0 / 0.998 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001386/0.8594, allocations: 0 / 0.998 GB, free: 2.707 MB / 0.7325 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.009762/0.8691, allocations: 3.715 MB / 1.002 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.8692, allocations: 8.031 kB / 1.002 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.174e-05/0.8692, allocations: 52 kB / 1.002 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003595/0.8696, allocations: 299.3 kB / 1.002 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00433/0.8739, allocations: 0.6298 MB / 1.003 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/0.878, allocations: 1.698 MB / 1.004 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005832/0.8786, allocations: 0.5546 MB / 1.005 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005771/0.8792, allocations: 212 kB / 1.005 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005123/0.8843, allocations: 2.319 MB / 1.007 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.322e-05/0.8843, allocations: 11.94 kB / 1.007 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.8846, allocations: 80 kB / 1.007 GB, free: 8.805 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.998e-05/0.8846, allocations: 76.05 kB / 1.007 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004456/0.8891, allocations: 1.889 MB / 1.009 GB, free: 6.82 MB / 0.7481 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.01351/0.9026, allocations: 8.74 MB / 1.018 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00454/0.9072, allocations: 1.856 MB / 1.02 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/0.9094, allocations: 0.9793 MB / 1.021 GB, free: 10.52 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007309/0.9101, allocations: 237.7 kB / 1.021 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/0.9101, allocations: 56.56 kB / 1.021 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=174): time 3.436e-06/0.9101, allocations: 0 / 1.021 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of matching and sorting (n=176): time 0.01704/0.9272, allocations: 6.077 MB / 1.027 GB, free: 4.105 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.9272, allocations: 69.41 kB / 1.027 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002294/0.9295, allocations: 1.557 MB / 1.028 GB, free: 2.434 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0003388/0.9299, allocations: 53.7 kB / 1.028 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008599/0.9307, allocations: 1.073 MB / 1.029 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/0.9314, allocations: 0.6196 MB / 1.03 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006066/0.932, allocations: 319.5 kB / 1.03 GB, free: 352 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.9322, allocations: 305.1 kB / 1.031 GB, free: 44 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.934, allocations: 0.7028 MB / 1.031 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001925/0.9359, allocations: 0.8488 MB / 1.032 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/0.9396, allocations: 1.577 MB / 1.034 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.9396, allocations: 0 / 1.034 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007559/0.9472, allocations: 2.724 MB / 1.036 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.9472, allocations: 4 kB / 1.036 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.9472, allocations: 4 kB / 1.036 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.9492, allocations: 0.5623 MB / 1.037 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/0.9513, allocations: 427.5 kB / 1.037 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2695/1.221, allocations: 9.619 MB / 1.047 GB, free: 316.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/1.222, allocations: 87.58 kB / 1.047 GB, free: 316.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/1.223, allocations: 122.4 kB / 1.047 GB, free: 316.8 MB / 0.7794 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.001109/1.224, allocations: 386.4 kB / 1.047 GB, free: 316.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/1.225, allocations: 231.4 kB / 1.048 GB, free: 316.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00923/1.234, allocations: 4.064 MB / 1.052 GB, free: 316.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/1.234, allocations: 17.59 kB / 1.052 GB, free: 316.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.919e-05/1.234, allocations: 6.469 kB / 1.052 GB, free: 316.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.251e-05/1.234, allocations: 9.656 kB / 1.052 GB, free: 316.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/1.244, allocations: 5.182 MB / 1.057 GB, free: 314.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.244, allocations: 6.391 kB / 1.057 GB, free: 314.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/1.247, allocations: 406.3 kB / 1.057 GB, free: 314.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001991/1.249, allocations: 0.5753 MB / 1.058 GB, free: 314.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002894/1.249, allocations: 81.03 kB / 1.058 GB, free: 314.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/1.26, allocations: 9.61 MB / 1.067 GB, free: 307.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.26, allocations: 3.281 kB / 1.067 GB, free: 307.2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007931/1.268, allocations: 3.75 MB / 1.071 GB, free: 305.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008627/1.268, allocations: 382.8 kB / 1.071 GB, free: 305.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003157/1.269, allocations: 39.88 kB / 1.071 GB, free: 305.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.27, allocations: 82.91 kB / 1.071 GB, free: 305.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/1.27, allocations: 164.2 kB / 1.071 GB, free: 305.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/1.27, allocations: 118.6 kB / 1.071 GB, free: 305.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001139/1.271, allocations: 1.053 MB / 1.072 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/1.271, allocations: 0 / 1.072 GB, free: 305.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002352/1.274, allocations: 0.8929 MB / 1.073 GB, free: 305.1 MB / 0.7794 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.009001/1.283, allocations: 5.251 MB / 1.078 GB, free: 302.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00526/1.288, allocations: 2.586 MB / 1.081 GB, free: 301.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.288, allocations: 3.688 kB / 1.081 GB, free: 301.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003436/1.291, allocations: 1.847 MB / 1.083 GB, free: 300.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.294, allocations: 0.5654 MB / 1.083 GB, free: 299.9 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02653/1.32, allocations: 17.44 MB / 1.1 GB, free: 283.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007541/1.321, allocations: 1.589 MB / 1.102 GB, free: 281.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002416/1.324, allocations: 1.436 MB / 1.103 GB, free: 280.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/1.325, allocations: 1.19 MB / 1.104 GB, free: 279.2 MB / 0.7794 GB Notification: Performance of SimCode: time 1.062e-06/1.325, allocations: 224 / 1.104 GB, free: 279.2 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/1.432, allocations: 66.78 MB / 1.17 GB, free: 212.8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.26/17.69, allocations: 8.062 kB / 1.17 GB, free: 212.8 MB / 0.7794 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1260.0] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.466190584003925]