Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.002263/0.002263, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00254/0.00254, allocations: 217 kB / 22.25 MB, free: 5.082 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.747/1.747, allocations: 230.6 MB / 256 MB, free: 8.027 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.9682/0.9682, allocations: 94.56 MB / 407 MB, free: 9.191 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_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.002603/0.002603, allocations: 93.41 kB / 0.555 GB, free: 38.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2026, allocations: 73.05 MB / 0.6263 GB, free: 488 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.9027/1.105, allocations: 236.7 MB / 0.8574 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03213/1.137, allocations: 22.55 MB / 0.8794 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/1.14, allocations: 91.19 kB / 0.8795 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002997/1.143, allocations: 0.802 MB / 0.8803 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008204/1.151, allocations: 2.107 MB / 0.8824 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00799/1.159, allocations: 2.205 MB / 0.8845 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004629/1.164, allocations: 2.259 MB / 0.8867 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006553/1.164, allocations: 261.7 kB / 0.887 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004024/1.168, allocations: 1.471 MB / 0.8884 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/1.17, allocations: 0.8513 MB / 0.8892 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/1.17, allocations: 136 kB / 0.8894 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01088/1.181, allocations: 4.225 MB / 0.8935 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004947/1.181, allocations: 350.5 kB / 0.8938 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001367/1.183, allocations: 0.8235 MB / 0.8946 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0109/1.194, allocations: 3.052 MB / 0.8976 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/1.194, allocations: 0 / 0.8976 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.013e-06/1.194, allocations: 0 / 0.8976 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001057/1.194, allocations: 0 / 0.8976 GB, free: 9.082 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.008147/1.202, allocations: 2.329 MB / 0.8999 GB, free: 6.711 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 8.23e-05/1.202, allocations: 8.031 kB / 0.8999 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004167/1.202, allocations: 189.8 kB / 0.9001 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/1.206, allocations: 426.4 kB / 0.9005 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/1.209, allocations: 1.032 MB / 0.9015 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006248/1.209, allocations: 0.4944 MB / 0.902 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/1.21, allocations: 132 kB / 0.9021 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003539/1.213, allocations: 1.45 MB / 0.9035 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/1.213, allocations: 0 / 0.9035 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/1.213, allocations: 48 kB / 0.9036 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/1.213, allocations: 32 kB / 0.9036 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002967/1.216, allocations: 1.196 MB / 0.9048 GB, free: 1.516 MB / 0.6387 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.009791/1.226, allocations: 5.163 MB / 0.9098 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/1.229, allocations: 1.24 MB / 0.911 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/1.231, allocations: 0.6738 MB / 0.9117 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/1.231, allocations: 160.7 kB / 0.9118 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/1.231, allocations: 43.56 kB / 0.9119 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=113): time 2.191e-05/1.231, allocations: 0 / 0.9119 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of matching and sorting (n=113): time 0.009042/1.24, allocations: 2.751 MB / 0.9146 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/1.241, allocations: 60.41 kB / 0.9146 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/1.242, allocations: 0.9096 MB / 0.9155 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/1.242, allocations: 45.7 kB / 0.9155 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006058/1.243, allocations: 0.6428 MB / 0.9162 GB, free: 5.395 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/1.243, allocations: 408.4 kB / 0.9166 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004169/1.244, allocations: 202.9 kB / 0.9168 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002468/1.244, allocations: 353.9 kB / 0.9171 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/1.245, allocations: 0.4905 MB / 0.9176 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/1.246, allocations: 0.5818 MB / 0.9181 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/1.249, allocations: 1.054 MB / 0.9192 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.249, allocations: 0 / 0.9192 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005521/1.254, allocations: 1.92 MB / 0.921 GB, free: 348 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.254, allocations: 4 kB / 0.921 GB, free: 344 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.254, allocations: 7.984 kB / 0.9211 GB, free: 336 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/1.256, allocations: 409.4 kB / 0.9214 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.257, allocations: 295.6 kB / 0.9217 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/1.268, allocations: 7.027 MB / 0.9286 GB, free: 8.145 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/1.269, allocations: 127.3 kB / 0.9287 GB, free: 8.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/1.27, allocations: 71.97 kB / 0.9288 GB, free: 7.949 MB / 0.67 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 (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,1,88.9%), (3,1,88.9%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001007/1.271, allocations: 265.6 kB / 0.929 GB, free: 7.68 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005109/1.271, allocations: 135.1 kB / 0.9292 GB, free: 7.547 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007349/1.279, allocations: 2.715 MB / 0.9318 GB, free: 4.805 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.5e-05/1.279, allocations: 12 kB / 0.9318 GB, free: 4.793 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/1.279, allocations: 4 kB / 0.9318 GB, free: 4.789 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.279, allocations: 7.922 kB / 0.9318 GB, free: 4.781 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00934/1.288, allocations: 3.493 MB / 0.9352 GB, free: 1.215 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.288, allocations: 384 / 0.9352 GB, free: 1.215 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.29, allocations: 295.8 kB / 0.9355 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/1.291, allocations: 418.9 kB / 0.9359 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/1.291, allocations: 55.91 kB / 0.936 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/1.302, allocations: 7.009 MB / 0.9428 GB, free: 8.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/1.302, allocations: 7.969 kB / 0.9428 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007432/1.31, allocations: 2.607 MB / 0.9454 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008299/1.31, allocations: 242.6 kB / 0.9456 GB, free: 6.086 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/1.311, allocations: 31.94 kB / 0.9456 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/1.311, allocations: 71.88 kB / 0.9457 GB, free: 5.984 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/1.312, allocations: 104.8 kB / 0.9458 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/1.312, allocations: 67.95 kB / 0.9459 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001002/1.313, allocations: 0.6313 MB / 0.9465 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/1.313, allocations: 0 / 0.9465 GB, free: 5.18 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0023/1.315, allocations: 0.6118 MB / 0.9471 GB, free: 4.566 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.h_out_A,counterFlowNTU1.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 (106): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,5,100.0%), (3,1,88.9%), (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.008372/1.323, allocations: 3.723 MB / 0.9507 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004771/1.328, allocations: 1.827 MB / 0.9525 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.328, allocations: 0 / 0.9525 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002954/1.331, allocations: 1.34 MB / 0.9538 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/1.333, allocations: 322.8 kB / 0.9541 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02589/1.359, allocations: 11.33 MB / 0.9652 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.36, allocations: 1.206 MB / 0.9664 GB, free: 440 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002166/1.362, allocations: 0.8454 MB / 0.9672 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/1.363, allocations: 0.6749 MB / 0.9679 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of SimCode: time 1.673e-06/1.363, allocations: 0 / 0.9679 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1108/1.474, allocations: 39.82 MB / 1.007 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/17.67, allocations: 7.812 kB / 1.007 GB, free: 7.355 MB / 0.7481 GB " [Timeout remaining time 642] (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.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.263496818952262]