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.00132/0.00132, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00154/0.00154, allocations: 214.1 kB / 23.03 MB, free: 4.926 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.488/1.488, 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.7914/0.7914, allocations: 94.62 MB / 407.8 MB, free: 8.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.002413/0.002413, allocations: 80.31 kB / 0.5557 GB, free: 38.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1514, allocations: 73.06 MB / 0.627 GB, free: 196 kB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial): time 0.6183/0.7697, allocations: 205.6 MB / 0.8279 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02971/0.7994, allocations: 20.28 MB / 0.8477 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002397/0.8018, allocations: 90.5 kB / 0.8478 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.8044, allocations: 0.7085 MB / 0.8484 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006468/0.8109, allocations: 2.091 MB / 0.8505 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006388/0.8173, allocations: 2.192 MB / 0.8526 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003463/0.8207, allocations: 2.239 MB / 0.8548 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006701/0.8214, allocations: 273.2 kB / 0.8551 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.8246, allocations: 1.467 MB / 0.8565 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.8262, allocations: 0.8535 MB / 0.8573 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003772/0.8266, allocations: 133.8 kB / 0.8575 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008119/0.8347, allocations: 3.986 MB / 0.8614 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005373/0.8352, allocations: 347.7 kB / 0.8617 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001314/0.8365, allocations: 0.6682 MB / 0.8623 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007013/0.8435, allocations: 3.032 MB / 0.8653 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.8436, allocations: 3.984 kB / 0.8653 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8436, allocations: 0 / 0.8653 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.792e-05/0.8436, allocations: 0 / 0.8653 GB, free: 5.195 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: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.005378/0.849, allocations: 2.319 MB / 0.8676 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.849, allocations: 10.66 kB / 0.8676 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.443e-05/0.8491, allocations: 30.39 kB / 0.8676 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002788/0.8494, allocations: 193.9 kB / 0.8678 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003315/0.8527, allocations: 430.5 kB / 0.8682 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00243/0.8551, allocations: 1.025 MB / 0.8692 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005212/0.8556, allocations: 0.4944 MB / 0.8697 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002839/0.8559, allocations: 127.9 kB / 0.8698 GB, free: 424 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/0.8593, allocations: 1.454 MB / 0.8712 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.8593, allocations: 3.938 kB / 0.8712 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.8595, allocations: 52 kB / 0.8713 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.8595, allocations: 32 kB / 0.8713 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.8625, allocations: 1.192 MB / 0.8725 GB, free: 13.62 MB / 0.6231 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.007956/0.8704, allocations: 3.649 MB / 0.876 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003334/0.8738, allocations: 1.252 MB / 0.8773 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.8754, allocations: 0.6738 MB / 0.8779 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005429/0.876, allocations: 140.9 kB / 0.8781 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.876, allocations: 43.56 kB / 0.8781 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=113): time 5.801e-06/0.876, allocations: 3.984 kB / 0.8781 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of matching and sorting (n=113): time 0.009445/0.8855, allocations: 2.747 MB / 0.8808 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.8855, allocations: 64.41 kB / 0.8808 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.887, allocations: 0.9135 MB / 0.8817 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.8872, allocations: 41.7 kB / 0.8818 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005557/0.8877, allocations: 0.6428 MB / 0.8824 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004466/0.8882, allocations: 412.4 kB / 0.8828 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/0.8886, allocations: 210.9 kB / 0.883 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.8888, allocations: 341.9 kB / 0.8833 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.8901, allocations: 498.3 kB / 0.8838 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.8915, allocations: 0.5972 MB / 0.8844 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002684/0.8942, allocations: 1.051 MB / 0.8854 GB, free: 196 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.8942, allocations: 0 / 0.8854 GB, free: 196 kB / 0.6231 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005814/0.9, allocations: 1.92 MB / 0.8873 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.9, allocations: 8 kB / 0.8873 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.9, allocations: 0 / 0.8873 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.9015, allocations: 409.6 kB / 0.8877 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.903, allocations: 303.6 kB / 0.888 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.9134, allocations: 6.961 MB / 0.8948 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.9145, allocations: 135.3 kB / 0.8949 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002376/0.9148, allocations: 67.97 kB / 0.895 GB, free: 5.918 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 (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.0006604/0.9154, allocations: 263.7 kB / 0.8952 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/0.9159, allocations: 139.1 kB / 0.8954 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006897/0.9228, allocations: 2.719 MB / 0.898 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.9228, allocations: 12 kB / 0.898 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.9228, allocations: 4 kB / 0.898 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.9228, allocations: 15.91 kB / 0.898 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007978/0.9308, allocations: 3.318 MB / 0.9013 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.9308, allocations: 4 kB / 0.9013 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.9324, allocations: 299.8 kB / 0.9016 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/0.9337, allocations: 422.9 kB / 0.902 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.9338, allocations: 43.97 kB / 0.902 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009744/0.9435, allocations: 6.97 MB / 0.9088 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.9436, allocations: 4.031 kB / 0.9088 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006855/0.9504, allocations: 2.603 MB / 0.9114 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006259/0.951, allocations: 246.6 kB / 0.9116 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.9512, allocations: 28 kB / 0.9116 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008587/0.9521, allocations: 71.88 kB / 0.9117 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.9523, allocations: 104.8 kB / 0.9118 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.9525, allocations: 71.95 kB / 0.9119 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008765/0.9533, allocations: 0.6273 MB / 0.9125 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9533, allocations: 0 / 0.9125 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001749/0.9551, allocations: 0.6079 MB / 0.9131 GB, free: 2.754 MB / 0.6544 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.008133/0.9632, allocations: 3.735 MB / 0.9167 GB, free: 14.97 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004467/0.9677, allocations: 1.838 MB / 0.9185 GB, free: 13.08 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.9677, allocations: 0 / 0.9185 GB, free: 13.08 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00292/0.9706, allocations: 1.336 MB / 0.9198 GB, free: 11.69 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.9721, allocations: 304.9 kB / 0.9201 GB, free: 11.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/0.9955, allocations: 11.33 MB / 0.9312 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/0.9962, allocations: 0.621 MB / 0.9318 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001831/0.998, allocations: 0.843 MB / 0.9326 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/0.9992, allocations: 0.6866 MB / 0.9333 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of SimCode: time 1.262e-06/0.9992, allocations: 0 / 0.9333 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0888/1.088, allocations: 41.06 MB / 0.9734 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/16.06, allocations: 4.062 kB / 0.9734 GB, free: 4.984 MB / 0.7169 GB " [Timeout remaining time 644] (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: 20.046287812059745]