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.001325/0.001325, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001475/0.001475, allocations: 220.5 kB / 23.03 MB, free: 4.945 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8233/0.8233, allocations: 94.61 MB / 407.8 MB, free: 8.902 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.002482/0.002482, allocations: 84.84 kB / 0.5557 GB, free: 38.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1477, allocations: 73.06 MB / 0.6271 GB, free: 208 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.694/0.8417, allocations: 271.2 MB / 0.8919 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05397/0.8956, allocations: 34.54 MB / 0.9256 GB, free: 7.199 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.899, allocations: 150.6 kB / 0.9258 GB, free: 7.051 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004856/0.9039, allocations: 1.23 MB / 0.927 GB, free: 5.816 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01234/0.9162, allocations: 3.438 MB / 0.9303 GB, free: 2.363 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.9272, allocations: 3.451 MB / 0.9337 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006427/0.9336, allocations: 3.842 MB / 0.9374 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.935, allocations: 0.5141 MB / 0.9379 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005249/0.9403, allocations: 2.468 MB / 0.9403 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.9431, allocations: 1.509 MB / 0.9418 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000811/0.9439, allocations: 235.9 kB / 0.942 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01451/0.9584, allocations: 6.541 MB / 0.9484 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.9596, allocations: 0.5835 MB / 0.949 GB, free: 15.11 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002336/0.9619, allocations: 1.146 MB / 0.9501 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.9767, allocations: 5.017 MB / 0.955 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.9767, allocations: 0 / 0.955 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.003e-06/0.9767, allocations: 4 kB / 0.955 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001379/0.9768, allocations: 0 / 0.955 GB, free: 8.922 MB / 0.7012 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.009323/0.9861, allocations: 3.709 MB / 0.9586 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.9862, allocations: 8.031 kB / 0.9587 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.207e-05/0.9863, allocations: 52 kB / 0.9587 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005548/0.9868, allocations: 295.3 kB / 0.959 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004756/0.9916, allocations: 0.6343 MB / 0.9596 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003904/0.9955, allocations: 1.69 MB / 0.9613 GB, free: 2.387 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005962/0.9961, allocations: 0.5507 MB / 0.9618 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005572/0.9966, allocations: 219.9 kB / 0.962 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005702/1.002, allocations: 2.323 MB / 0.9643 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.118e-05/1.002, allocations: 3.938 kB / 0.9643 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/1.003, allocations: 88 kB / 0.9644 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/1.003, allocations: 76.03 kB / 0.9644 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004959/1.008, allocations: 1.886 MB / 0.9663 GB, free: 13.04 MB / 0.7169 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.01412/1.022, allocations: 5.84 MB / 0.972 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005011/1.027, allocations: 1.852 MB / 0.9738 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002327/1.029, allocations: 0.9857 MB / 0.9747 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007453/1.03, allocations: 209.8 kB / 0.9749 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/1.03, allocations: 56.5 kB / 0.975 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=174): time 4.549e-06/1.03, allocations: 0 / 0.975 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=176): time 0.01882/1.049, allocations: 6.097 MB / 0.981 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/1.049, allocations: 69.41 kB / 0.981 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/1.051, allocations: 1.554 MB / 0.9825 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002464/1.052, allocations: 57.7 kB / 0.9826 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000973/1.053, allocations: 1.069 MB / 0.9836 GB, free: 11 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007345/1.053, allocations: 0.6196 MB / 0.9842 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007506/1.054, allocations: 323.5 kB / 0.9846 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.054, allocations: 305.1 kB / 0.9848 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/1.056, allocations: 0.6949 MB / 0.9855 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/1.058, allocations: 0.8527 MB / 0.9864 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/1.062, allocations: 1.577 MB / 0.9879 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.062, allocations: 4 kB / 0.9879 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007653/1.069, allocations: 2.729 MB / 0.9906 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/1.069, allocations: 8 kB / 0.9906 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.069, allocations: 0 / 0.9906 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001981/1.071, allocations: 0.5649 MB / 0.9911 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/1.074, allocations: 423.5 kB / 0.9915 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.088, allocations: 9.546 MB / 1.001 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.089, allocations: 87.97 kB / 1.001 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000406/1.09, allocations: 123.9 kB / 1.001 GB, free: 8.508 MB / 0.7481 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.001126/1.091, allocations: 387.2 kB / 1.001 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008833/1.092, allocations: 238.4 kB / 1.002 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/1.102, allocations: 4.062 MB / 1.006 GB, free: 3.801 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/1.102, allocations: 20 kB / 1.006 GB, free: 3.781 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.639e-05/1.102, allocations: 4 kB / 1.006 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.052e-05/1.102, allocations: 11.97 kB / 1.006 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/1.116, allocations: 4.912 MB / 1.01 GB, free: 14.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/1.116, allocations: 3.984 kB / 1.01 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002294/1.118, allocations: 403.8 kB / 1.011 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/1.12, allocations: 0.58 MB / 1.011 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003284/1.12, allocations: 75.94 kB / 1.011 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/1.134, allocations: 9.527 MB / 1.021 GB, free: 3.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.134, allocations: 4.031 kB / 1.021 GB, free: 3.586 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009757/1.144, allocations: 3.757 MB / 1.024 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/1.145, allocations: 374.2 kB / 1.025 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005282/1.146, allocations: 36 kB / 1.025 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.147, allocations: 87.92 kB / 1.025 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004048/1.148, allocations: 173.5 kB / 1.025 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/1.148, allocations: 119.9 kB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001857/1.15, allocations: 1.047 MB / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/1.15, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003115/1.153, allocations: 0.8893 MB / 1.027 GB, free: 13.04 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.01191/1.165, allocations: 5.261 MB / 1.032 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006532/1.171, allocations: 2.59 MB / 1.035 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.171, allocations: 0 / 1.035 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.004412/1.176, allocations: 1.831 MB / 1.037 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/1.179, allocations: 0.5783 MB / 1.037 GB, free: 2.625 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04226/1.221, allocations: 17.43 MB / 1.054 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2978/1.519, allocations: 1.024 MB / 1.055 GB, free: 332.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003653/1.523, allocations: 1.433 MB / 1.057 GB, free: 332.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00191/1.525, allocations: 1.192 MB / 1.058 GB, free: 332.2 MB / 0.795 GB Notification: Performance of SimCode: time 1.372e-06/1.525, allocations: 3.062 kB / 1.058 GB, free: 332.2 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/1.669, allocations: 69.02 MB / 1.125 GB, free: 281.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/18.38, allocations: 11.98 kB / 1.125 GB, free: 281.4 MB / 0.795 GB " [Timeout remaining time 641] (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: 22.551824091933668]