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.001332/0.001332, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001571/0.001571, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.969 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.7947/0.7947, allocations: 100.3 MB / 412.7 MB, free: 3.621 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",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.002526/0.002526, allocations: 84.81 kB / 0.5633 GB, free: 35.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1362, allocations: 74.47 MB / 0.636 GB, free: 7.617 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6999/0.8361, allocations: 310.3 MB / 0.9391 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.05395/0.8901, allocations: 38.43 MB / 0.9766 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002958/0.893, allocations: 146.6 kB / 0.9767 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004397/0.8974, allocations: 1.409 MB / 0.9781 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01028/0.9077, allocations: 3.455 MB / 0.9815 GB, free: 28 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.9184, allocations: 3.49 MB / 0.9849 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006559/0.9249, allocations: 3.834 MB / 0.9886 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.9262, allocations: 0.518 MB / 0.9891 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004994/0.9311, allocations: 2.476 MB / 0.9916 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.9338, allocations: 1.505 MB / 0.993 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008226/0.9346, allocations: 232 kB / 0.9932 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01492/0.9495, allocations: 6.939 MB / 1 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008622/0.9504, allocations: 0.5757 MB / 1.001 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.9529, allocations: 1.41 MB / 1.002 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01349/0.9663, allocations: 5.06 MB / 1.007 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.9663, allocations: 0 / 1.007 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9664, allocations: 0 / 1.007 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001203/0.9665, allocations: 0 / 1.007 GB, free: 5.859 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.009821/0.9763, allocations: 3.716 MB / 1.011 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.9763, allocations: 8.031 kB / 1.011 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004936/0.9768, allocations: 291.3 kB / 1.011 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004427/0.9813, allocations: 0.6342 MB / 1.011 GB, free: 1.145 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/0.9854, allocations: 1.69 MB / 1.013 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005721/0.986, allocations: 0.5624 MB / 1.014 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000555/0.9866, allocations: 211.9 kB / 1.014 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005052/0.9916, allocations: 2.315 MB / 1.016 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.9917, allocations: 4 kB / 1.016 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.9919, allocations: 95.92 kB / 1.016 GB, free: 12 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.84e-05/0.9919, allocations: 79.97 kB / 1.016 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004389/0.9963, allocations: 1.886 MB / 1.018 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.01377/1.01, allocations: 8.746 MB / 1.027 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/1.015, allocations: 1.864 MB / 1.028 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002325/1.017, allocations: 0.9855 MB / 1.029 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006869/1.018, allocations: 227.2 kB / 1.03 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/1.018, allocations: 56.56 kB / 1.03 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=174): time 2.996e-06/1.018, allocations: 0 / 1.03 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=176): time 0.01675/1.034, allocations: 6.081 MB / 1.036 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/1.034, allocations: 69.41 kB / 1.036 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/1.037, allocations: 1.55 MB / 1.037 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/1.037, allocations: 57.69 kB / 1.037 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009544/1.038, allocations: 1.069 MB / 1.038 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005859/1.039, allocations: 0.6196 MB / 1.039 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007177/1.039, allocations: 319.5 kB / 1.039 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.04, allocations: 305.1 kB / 1.04 GB, free: 3.242 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/1.041, allocations: 0.7066 MB / 1.04 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001983/1.043, allocations: 0.845 MB / 1.041 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003564/1.047, allocations: 1.581 MB / 1.043 GB, free: 56 kB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.047, allocations: 0 / 1.043 GB, free: 56 kB / 0.7794 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007453/1.054, allocations: 2.717 MB / 1.045 GB, free: 13.31 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.055, allocations: 4 kB / 1.045 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/1.055, allocations: 4 kB / 1.045 GB, free: 13.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/1.056, allocations: 0.5739 MB / 1.046 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/1.058, allocations: 431.4 kB / 1.046 GB, free: 12.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/1.073, allocations: 9.625 MB / 1.056 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/1.075, allocations: 87.97 kB / 1.056 GB, free: 2.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004864/1.075, allocations: 124 kB / 1.056 GB, free: 1.906 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.00112/1.076, allocations: 373.6 kB / 1.056 GB, free: 1.531 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000688/1.077, allocations: 238.4 kB / 1.056 GB, free: 1.297 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3045/1.381, allocations: 4.048 MB / 1.06 GB, free: 325.2 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/1.381, allocations: 19.25 kB / 1.06 GB, free: 325.2 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/1.381, allocations: 6.703 kB / 1.06 GB, free: 325.2 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-05/1.382, allocations: 8.672 kB / 1.06 GB, free: 325.2 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/1.393, allocations: 5.171 MB / 1.065 GB, free: 323.9 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.393, allocations: 5.969 kB / 1.065 GB, free: 323.9 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/1.395, allocations: 405.8 kB / 1.066 GB, free: 323.9 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/1.397, allocations: 0.5679 MB / 1.066 GB, free: 323.7 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001727/1.397, allocations: 79.73 kB / 1.066 GB, free: 323.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/1.409, allocations: 9.616 MB / 1.076 GB, free: 316.1 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.409, allocations: 6.125 kB / 1.076 GB, free: 316.1 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009161/1.418, allocations: 3.746 MB / 1.08 GB, free: 314.8 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.419, allocations: 384.1 kB / 1.08 GB, free: 314.7 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/1.42, allocations: 38.5 kB / 1.08 GB, free: 314.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.421, allocations: 86.75 kB / 1.08 GB, free: 314.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.421, allocations: 161.1 kB / 1.08 GB, free: 314.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.421, allocations: 116.8 kB / 1.08 GB, free: 314.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001426/1.423, allocations: 1.06 MB / 1.081 GB, free: 314.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/1.423, allocations: 3.391 kB / 1.081 GB, free: 314.2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.002586/1.425, allocations: 0.8893 MB / 1.082 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.009058/1.434, allocations: 5.258 MB / 1.087 GB, free: 312.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004798/1.439, allocations: 2.586 MB / 1.09 GB, free: 311 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.439, allocations: 0 / 1.09 GB, free: 311 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.003139/1.442, allocations: 1.84 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.002579/1.445, allocations: 0.582 MB / 1.092 GB, free: 309.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02744/1.472, allocations: 17.43 MB / 1.109 GB, free: 295.9 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009419/1.473, allocations: 1.585 MB / 1.111 GB, free: 294.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00249/1.476, allocations: 1.437 MB / 1.112 GB, free: 292.9 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/1.477, allocations: 1.194 MB / 1.113 GB, free: 291.7 MB / 0.795 GB Notification: Performance of SimCode: time 7.32e-07/1.477, allocations: 4 kB / 1.113 GB, free: 291.7 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/1.602, allocations: 66.74 MB / 1.179 GB, free: 225.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/18.27, allocations: 10.81 kB / 1.179 GB, free: 225.3 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.027310954174027]