Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001774/0.001774, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002291/0.002291, allocations: 217.4 kB / 23.04 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7829/0.7829, allocations: 100.3 MB / 413.5 MB, free: 3.66 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_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.002449/0.002449, allocations: 85.62 kB / 0.564 GB, free: 35.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1363, allocations: 74.46 MB / 0.6368 GB, free: 7.656 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6763/0.8126, allocations: 310.3 MB / 0.9398 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.04731/0.8599, allocations: 38.42 MB / 0.9773 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.8638, allocations: 150.6 kB / 0.9775 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005473/0.8692, allocations: 1.415 MB / 0.9789 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009967/0.8792, allocations: 3.455 MB / 0.9822 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01086/0.8901, allocations: 3.483 MB / 0.9856 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006531/0.8966, allocations: 3.834 MB / 0.9894 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.8978, allocations: 0.5219 MB / 0.9899 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00491/0.9027, allocations: 2.469 MB / 0.9923 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.9051, allocations: 1.512 MB / 0.9938 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005048/0.9056, allocations: 236 kB / 0.994 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/0.9202, allocations: 6.93 MB / 1.001 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.9212, allocations: 0.5874 MB / 1.001 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.9232, allocations: 1.406 MB / 1.003 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.935, allocations: 5.056 MB / 1.008 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.935, allocations: 8 kB / 1.008 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.573e-06/0.935, allocations: 0 / 1.008 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.733e-05/0.935, allocations: 0 / 1.008 GB, free: 5.902 MB / 0.7481 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.008516/0.9435, allocations: 3.712 MB / 1.011 GB, free: 2.133 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.9436, allocations: 12.03 kB / 1.011 GB, free: 2.121 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.292e-05/0.9437, allocations: 56 kB / 1.011 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003519/0.944, allocations: 291.3 kB / 1.012 GB, free: 1.77 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.9483, allocations: 0.6304 MB / 1.012 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003963/0.9522, allocations: 1.691 MB / 1.014 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006419/0.9529, allocations: 0.5584 MB / 1.014 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004614/0.9533, allocations: 215.9 kB / 1.015 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004706/0.9581, allocations: 2.315 MB / 1.017 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.9581, allocations: 3.75 kB / 1.017 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000202/0.9583, allocations: 88 kB / 1.017 GB, free: 12 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.918e-05/0.9584, allocations: 80.03 kB / 1.017 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/0.9627, allocations: 1.886 MB / 1.019 GB, free: 10.02 MB / 0.7637 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.01401/0.9768, allocations: 8.751 MB / 1.027 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004681/0.9814, allocations: 1.861 MB / 1.029 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002248/0.9837, allocations: 0.9895 MB / 1.03 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007632/0.9844, allocations: 229.8 kB / 1.03 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.9845, allocations: 60.5 kB / 1.031 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=174): time 3.677e-06/0.9845, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=176): time 0.01802/1.003, allocations: 6.066 MB / 1.036 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.003, allocations: 69.41 kB / 1.037 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002542/1.005, allocations: 1.554 MB / 1.038 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001886/1.005, allocations: 57.7 kB / 1.038 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009334/1.006, allocations: 1.069 MB / 1.039 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006618/1.007, allocations: 0.6273 MB / 1.04 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007635/1.008, allocations: 319.5 kB / 1.04 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002102/1.008, allocations: 305.1 kB / 1.04 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/1.01, allocations: 0.6949 MB / 1.041 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/1.012, allocations: 0.8566 MB / 1.042 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/1.016, allocations: 1.577 MB / 1.043 GB, free: 52 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.016, allocations: 0 / 1.043 GB, free: 52 kB / 0.7794 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00763/1.023, allocations: 2.713 MB / 1.046 GB, free: 13.31 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/1.023, allocations: 12.61 kB / 1.046 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.023, allocations: 3.938 kB / 1.046 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/1.025, allocations: 0.5726 MB / 1.047 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/1.027, allocations: 423.3 kB / 1.047 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.042, allocations: 9.636 MB / 1.056 GB, free: 2.105 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.043, allocations: 83.94 kB / 1.057 GB, free: 2.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004085/1.044, allocations: 123.9 kB / 1.057 GB, free: 1.902 MB / 0.795 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.001079/1.045, allocations: 377.6 kB / 1.057 GB, free: 1.523 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005997/1.046, allocations: 230.4 kB / 1.057 GB, free: 1.297 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2834/1.329, allocations: 4.055 MB / 1.061 GB, free: 325.1 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/1.329, allocations: 18.25 kB / 1.061 GB, free: 325.1 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.022e-05/1.329, allocations: 6 kB / 1.061 GB, free: 325.1 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.582e-05/1.329, allocations: 8.672 kB / 1.061 GB, free: 325.1 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01166/1.341, allocations: 5.174 MB / 1.066 GB, free: 323.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.341, allocations: 1.375 kB / 1.066 GB, free: 323.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/1.343, allocations: 410.8 kB / 1.067 GB, free: 323.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002367/1.345, allocations: 0.5691 MB / 1.067 GB, free: 323.7 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002994/1.345, allocations: 76.3 kB / 1.067 GB, free: 323.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/1.362, allocations: 9.612 MB / 1.077 GB, free: 316.1 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.362, allocations: 4.781 kB / 1.077 GB, free: 316.1 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/1.376, allocations: 3.766 MB / 1.08 GB, free: 314.8 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/1.377, allocations: 373.2 kB / 1.081 GB, free: 314.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000505/1.377, allocations: 38.45 kB / 1.081 GB, free: 314.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.379, allocations: 84.62 kB / 1.081 GB, free: 314.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005176/1.38, allocations: 173.3 kB / 1.081 GB, free: 314.6 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003036/1.38, allocations: 114 kB / 1.081 GB, free: 314.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002092/1.382, allocations: 1.055 MB / 1.082 GB, free: 314.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.382, allocations: 0 / 1.082 GB, free: 314.2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00379/1.386, allocations: 0.8874 MB / 1.083 GB, free: 314.1 MB / 0.795 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.01302/1.399, allocations: 5.254 MB / 1.088 GB, free: 312.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005502/1.405, allocations: 2.59 MB / 1.091 GB, free: 310.9 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/1.405, allocations: 3.188 kB / 1.091 GB, free: 310.9 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003463/1.408, allocations: 1.835 MB / 1.092 GB, free: 310 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.411, allocations: 0.5802 MB / 1.093 GB, free: 309.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03072/1.442, allocations: 17.43 MB / 1.11 GB, free: 295.8 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.443, allocations: 1.589 MB / 1.112 GB, free: 294.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002989/1.446, allocations: 1.438 MB / 1.113 GB, free: 292.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/1.448, allocations: 1.19 MB / 1.114 GB, free: 291.6 MB / 0.795 GB Notification: Performance of SimCode: time 1.062e-06/1.448, allocations: 0 / 1.114 GB, free: 291.6 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.553, allocations: 66.78 MB / 1.179 GB, free: 225.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.73/18.29, allocations: 11.8 kB / 1.179 GB, free: 225.2 MB / 0.795 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 22.318837570026517]