Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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.001946/0.001946, 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.002609/0.002609, allocations: 221.5 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.907/1.907, allocations: 230.6 MB / 256 MB, free: 7.973 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.9985/0.9985, allocations: 94.57 MB / 407 MB, free: 9.164 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,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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.003046/0.003046, allocations: 84.09 kB / 0.555 GB, free: 38.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1921, allocations: 73.05 MB / 0.6263 GB, free: 472 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU): time 0.9595/1.152, allocations: 215.8 MB / 0.837 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02792/1.18, allocations: 17.61 MB / 0.8542 GB, free: 1.445 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/1.182, allocations: 76.03 kB / 0.8543 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002657/1.184, allocations: 0.6186 MB / 0.8549 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007773/1.192, allocations: 1.805 MB / 0.8566 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006762/1.199, allocations: 1.695 MB / 0.8583 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004262/1.203, allocations: 1.737 MB / 0.86 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004882/1.204, allocations: 185.6 kB / 0.8602 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/1.207, allocations: 1.258 MB / 0.8614 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000901/1.208, allocations: 0.6452 MB / 0.862 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/1.208, allocations: 93.66 kB / 0.8621 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/1.22, allocations: 3.559 MB / 0.8656 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005274/1.22, allocations: 254.9 kB / 0.8658 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001333/1.221, allocations: 0.6176 MB / 0.8664 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008937/1.23, allocations: 2.394 MB / 0.8688 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/1.23, allocations: 0 / 0.8688 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.465e-06/1.23, allocations: 0 / 0.8688 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.184e-05/1.23, allocations: 0 / 0.8688 GB, free: 6.684 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.004899/1.235, allocations: 1.84 MB / 0.8706 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/1.235, allocations: 8.031 kB / 0.8706 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/1.236, allocations: 143.6 kB / 0.8707 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/1.238, allocations: 294.8 kB / 0.871 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/1.24, allocations: 0.8458 MB / 0.8718 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005936/1.241, allocations: 277.8 kB / 0.8721 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002306/1.241, allocations: 88 kB / 0.8722 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/1.243, allocations: 1.016 MB / 0.8732 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/1.243, allocations: 4.5 kB / 0.8732 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.264e-05/1.243, allocations: 36 kB / 0.8732 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/1.243, allocations: 24 kB / 0.8732 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/1.245, allocations: 0.7924 MB / 0.874 GB, free: 1.176 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.006925/1.252, allocations: 3.836 MB / 0.8777 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/1.255, allocations: 0.8236 MB / 0.8785 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/1.256, allocations: 407.2 kB / 0.8789 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003903/1.256, allocations: 108.5 kB / 0.879 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/1.256, allocations: 39.22 kB / 0.8791 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=80): time 2.745e-06/1.256, allocations: 0 / 0.8791 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=80): time 0.005987/1.262, allocations: 1.709 MB / 0.8807 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/1.262, allocations: 60.06 kB / 0.8808 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/1.263, allocations: 0.7995 MB / 0.8816 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.081e-05/1.263, allocations: 37.7 kB / 0.8816 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006907/1.264, allocations: 0.5167 MB / 0.8821 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/1.264, allocations: 293.5 kB / 0.8824 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/1.265, allocations: 150.6 kB / 0.8825 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000304/1.265, allocations: 337.9 kB / 0.8829 GB, free: 7.707 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/1.266, allocations: 317.8 kB / 0.8832 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000921/1.267, allocations: 387.1 kB / 0.8835 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/1.268, allocations: 0.6979 MB / 0.8842 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.268, allocations: 0 / 0.8842 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003551/1.272, allocations: 1.237 MB / 0.8854 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.165e-05/1.272, allocations: 8 kB / 0.8854 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.272, allocations: 0 / 0.8854 GB, free: 5.031 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/1.273, allocations: 254.4 kB / 0.8857 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/1.274, allocations: 203.7 kB / 0.8859 GB, free: 4.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00777/1.282, allocations: 4.926 MB / 0.8907 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009368/1.283, allocations: 91.47 kB / 0.8908 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/1.283, allocations: 51.98 kB / 0.8908 GB, free: 15.16 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0005927/1.284, allocations: 230.5 kB / 0.891 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/1.284, allocations: 107.3 kB / 0.8911 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/1.289, allocations: 1.823 MB / 0.8929 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.612e-05/1.289, allocations: 8 kB / 0.8929 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.979e-05/1.289, allocations: 4 kB / 0.8929 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.289, allocations: 11.91 kB / 0.8929 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006458/1.296, allocations: 2.381 MB / 0.8953 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/1.296, allocations: 0 / 0.8953 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009764/1.297, allocations: 199.8 kB / 0.8955 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007931/1.298, allocations: 262.4 kB / 0.8957 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/1.298, allocations: 27.98 kB / 0.8957 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007136/1.305, allocations: 4.928 MB / 0.9005 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.305, allocations: 0 / 0.9005 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004356/1.309, allocations: 1.732 MB / 0.9022 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004875/1.31, allocations: 183 kB / 0.9024 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.31, allocations: 23.94 kB / 0.9024 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005514/1.31, allocations: 39.97 kB / 0.9025 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.311, allocations: 76.52 kB / 0.9025 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/1.311, allocations: 52.23 kB / 0.9026 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000814/1.312, allocations: 0.5643 MB / 0.9031 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/1.312, allocations: 0 / 0.9031 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001709/1.313, allocations: 482.8 kB / 0.9036 GB, free: 1.559 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.inlet.m_flow,mCV.dp_int,mCV1.inlet.m_flow,mCV1.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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (3,1,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005619/1.319, allocations: 2.726 MB / 0.9063 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003246/1.322, allocations: 1.212 MB / 0.9075 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.322, allocations: 0 / 0.9075 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/1.324, allocations: 0.8786 MB / 0.9083 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/1.326, allocations: 264.9 kB / 0.9086 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01959/1.345, allocations: 8.63 MB / 0.917 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/1.347, allocations: 1.084 MB / 0.9181 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001914/1.349, allocations: 0.6236 MB / 0.9187 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/1.35, allocations: 0.5187 MB / 0.9192 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of SimCode: time 1.993e-06/1.35, allocations: 0 / 0.9192 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/1.463, allocations: 31.46 MB / 0.9499 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.39/18.85, allocations: 12 kB / 0.9499 GB, free: 2.055 MB / 0.6856 GB " [Timeout remaining time 641] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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: 23.651829991023988]