Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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.001685/0.001685, 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.001863/0.001863, allocations: 219.2 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.953 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.7853/0.7853, allocations: 100.3 MB / 412.7 MB, free: 3.648 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_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",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.002486/0.002486, allocations: 83.47 kB / 0.5633 GB, free: 36.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.137, allocations: 74.46 MB / 0.636 GB, free: 7.648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow): time 0.5665/0.7035, allocations: 203.1 MB / 0.8343 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.7212, allocations: 15.21 MB / 0.8492 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.7225, allocations: 65.25 kB / 0.8492 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.7241, allocations: 0.5129 MB / 0.8497 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00462/0.7287, allocations: 1.391 MB / 0.8511 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004336/0.733, allocations: 1.49 MB / 0.8525 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.7351, allocations: 1.399 MB / 0.8539 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.7355, allocations: 172.4 kB / 0.8541 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.738, allocations: 1.149 MB / 0.8552 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009308/0.7389, allocations: 0.5126 MB / 0.8557 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002479/0.7392, allocations: 78.38 kB / 0.8558 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/0.7442, allocations: 2.709 MB / 0.8584 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003642/0.7446, allocations: 210 kB / 0.8586 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006472/0.7452, allocations: 0.5043 MB / 0.8591 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.749, allocations: 1.985 MB / 0.861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.749, allocations: 0 / 0.861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.749, allocations: 0 / 0.861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.553e-05/0.749, allocations: 0 / 0.861 GB, free: 10.64 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003275/0.7523, allocations: 1.538 MB / 0.8626 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.7523, allocations: 14.06 kB / 0.8626 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/0.7525, allocations: 117.6 kB / 0.8627 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.7543, allocations: 246.1 kB / 0.8629 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.7558, allocations: 0.7057 MB / 0.8636 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.7561, allocations: 263.6 kB / 0.8639 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.7562, allocations: 75.92 kB / 0.8639 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.7579, allocations: 0.8239 MB / 0.8647 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.7579, allocations: 3.984 kB / 0.8647 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.287e-05/0.758, allocations: 32 kB / 0.8648 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.758, allocations: 16 kB / 0.8648 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.7597, allocations: 0.6597 MB / 0.8654 GB, free: 7.133 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.004899/0.7646, allocations: 2.927 MB / 0.8683 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.766, allocations: 0.5567 MB / 0.8688 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006893/0.7667, allocations: 320.5 kB / 0.8691 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.7669, allocations: 80.41 kB / 0.8692 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.767, allocations: 43.06 kB / 0.8692 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=58): time 1.643e-06/0.767, allocations: 0 / 0.8692 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58): time 0.005096/0.772, allocations: 1.451 MB / 0.8707 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.7721, allocations: 59.89 kB / 0.8707 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.7731, allocations: 0.6809 MB / 0.8714 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.7732, allocations: 37.7 kB / 0.8714 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003505/0.7735, allocations: 452.8 kB / 0.8719 GB, free: 268 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003176/0.7738, allocations: 210.2 kB / 0.8721 GB, free: 56 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.774, allocations: 118.2 kB / 0.8722 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.7742, allocations: 326 kB / 0.8725 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006546/0.7748, allocations: 257.1 kB / 0.8727 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007473/0.7756, allocations: 313.6 kB / 0.873 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.7769, allocations: 0.5379 MB / 0.8735 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.7769, allocations: 7.938 kB / 0.8736 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002894/0.7798, allocations: 1.034 MB / 0.8746 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.7798, allocations: 12 kB / 0.8746 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.7798, allocations: 0 / 0.8746 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007633/0.7806, allocations: 226.4 kB / 0.8748 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/0.7814, allocations: 147.8 kB / 0.8749 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006283/0.7877, allocations: 4.801 MB / 0.8796 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/0.7882, allocations: 79.56 kB / 0.8797 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.357e-05/0.7883, allocations: 39.98 kB / 0.8797 GB, free: 7.789 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (58): * Single equations (assignments): 55 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003006/0.7886, allocations: 203.8 kB / 0.8799 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.7889, allocations: 83.44 kB / 0.88 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.7925, allocations: 1.396 MB / 0.8814 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.7925, allocations: 7.938 kB / 0.8814 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.7926, allocations: 4 kB / 0.8814 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.7926, allocations: 3.984 kB / 0.8814 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/0.797, allocations: 1.975 MB / 0.8833 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.797, allocations: 8.031 kB / 0.8833 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007452/0.7978, allocations: 135.7 kB / 0.8835 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007039/0.7985, allocations: 234.3 kB / 0.8837 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.7985, allocations: 27.92 kB / 0.8837 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/0.8048, allocations: 4.8 MB / 0.8884 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8048, allocations: 4 kB / 0.8884 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/0.8083, allocations: 1.393 MB / 0.8898 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.8086, allocations: 147.2 kB / 0.8899 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.8087, allocations: 16.75 kB / 0.8899 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.8093, allocations: 31.97 kB / 0.8899 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.8094, allocations: 64.27 kB / 0.89 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.8095, allocations: 35.92 kB / 0.89 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006388/0.8101, allocations: 495 kB / 0.8905 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.81e-07/0.8101, allocations: 0 / 0.8905 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00133/0.8114, allocations: 399 kB / 0.8909 GB, free: 11.87 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,flowResistanceA.inlet.m_flow) * 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 (50): * Single equations (assignments): 47 * 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,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004742/0.8162, allocations: 2.356 MB / 0.8932 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002409/0.8186, allocations: 1.037 MB / 0.8942 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8186, allocations: 0 / 0.8942 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.8201, allocations: 0.7759 MB / 0.895 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.8212, allocations: 228.3 kB / 0.8952 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.8353, allocations: 7.213 MB / 0.9022 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/0.8361, allocations: 0.9971 MB / 0.9032 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001056/0.8372, allocations: 453.8 kB / 0.9036 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007785/0.8379, allocations: 411.2 kB / 0.904 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.8379, allocations: 0 / 0.904 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07928/0.9172, allocations: 26.31 MB / 0.9297 GB, free: 4.047 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.2, allocations: 5.672 kB / 0.9297 GB, free: 4.043 MB / 0.67 GB " [Timeout remaining time 645] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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: 18.878467021975666]