Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.002141/0.002141, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002156/0.002156, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.648/1.648, allocations: 230.6 MB / 256 MB, free: 7.797 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 1.057/1.057, allocations: 100.9 MB / 413.3 MB, free: 2.883 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_parallel,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel",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.003322/0.003322, allocations: 84.92 kB / 0.5641 GB, free: 35.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2457, allocations: 74.61 MB / 0.6369 GB, free: 6.477 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 1.043/1.288, allocations: 271.4 MB / 0.902 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.06484/1.353, allocations: 34.57 MB / 0.9358 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006296/1.36, allocations: 150.6 kB / 0.9359 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.006451/1.366, allocations: 1.238 MB / 0.9371 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01739/1.383, allocations: 3.432 MB / 0.9405 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01699/1.4, allocations: 3.443 MB / 0.9438 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01008/1.411, allocations: 3.815 MB / 0.9476 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/1.412, allocations: 0.4985 MB / 0.9481 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007803/1.42, allocations: 2.461 MB / 0.9505 GB, free: 8.934 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003593/1.424, allocations: 1.352 MB / 0.9518 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0007941/1.424, allocations: 231.9 kB / 0.952 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0179/1.442, allocations: 6.482 MB / 0.9583 GB, free: 0.8555 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001712/1.444, allocations: 0.5796 MB / 0.9589 GB, free: 280 kB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002815/1.447, allocations: 1.139 MB / 0.96 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.02302/1.47, allocations: 5.006 MB / 0.9649 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/1.47, allocations: 4 kB / 0.9649 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.078e-06/1.47, allocations: 0 / 0.9649 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002711/1.47, allocations: 4 kB / 0.9649 GB, free: 10.1 MB / 0.7169 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.01479/1.485, allocations: 3.689 MB / 0.9685 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 9.09e-05/1.485, allocations: 9.469 kB / 0.9685 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001093/1.486, allocations: 299.3 kB / 0.9688 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005578/1.492, allocations: 0.6382 MB / 0.9694 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006295/1.498, allocations: 1.686 MB / 0.9711 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009197/1.499, allocations: 0.6048 MB / 0.9717 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009534/1.5, allocations: 215.9 kB / 0.9719 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007756/1.508, allocations: 2.28 MB / 0.9741 GB, free: 336 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.569e-05/1.508, allocations: 3.938 kB / 0.9741 GB, free: 332 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005217/1.508, allocations: 80 kB / 0.9742 GB, free: 252 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/1.508, allocations: 79.98 kB / 0.9742 GB, free: 168 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006382/1.515, allocations: 1.964 MB / 0.9762 GB, free: 14.18 MB / 0.7325 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.01808/1.533, allocations: 5.629 MB / 0.9817 GB, free: 8.426 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005378/1.538, allocations: 1.851 MB / 0.9835 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/1.541, allocations: 0.9558 MB / 0.9844 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007897/1.541, allocations: 217.9 kB / 0.9846 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/1.542, allocations: 52.5 kB / 0.9847 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=174): time 4.288e-06/1.542, allocations: 0 / 0.9847 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=176): time 0.01953/1.561, allocations: 6.085 MB / 0.9906 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/1.561, allocations: 73.34 kB / 0.9907 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003086/1.564, allocations: 1.557 MB / 0.9922 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002143/1.565, allocations: 57.7 kB / 0.9923 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/1.566, allocations: 1.073 MB / 0.9933 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009879/1.567, allocations: 0.6235 MB / 0.9939 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006519/1.567, allocations: 319.5 kB / 0.9942 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.567, allocations: 305.1 kB / 0.9945 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/1.569, allocations: 0.6637 MB / 0.9952 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/1.571, allocations: 0.8098 MB / 0.9959 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/1.575, allocations: 1.523 MB / 0.9974 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.575, allocations: 0 / 0.9974 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007496/1.582, allocations: 2.549 MB / 0.9999 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/1.582, allocations: 11.98 kB / 0.9999 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.582, allocations: 0 / 0.9999 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/1.585, allocations: 0.5311 MB / 1 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/1.587, allocations: 367.5 kB / 1.001 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/1.602, allocations: 9.445 MB / 1.01 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00226/1.604, allocations: 91.86 kB / 1.01 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003412/1.605, allocations: 120 kB / 1.01 GB, free: 10.38 MB / 0.7637 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 {(2,2,100.0%), (2,17,100.0%), (2,2,100.0%), (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.001148/1.606, allocations: 395.2 kB / 1.011 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007384/1.606, allocations: 234.6 kB / 1.011 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009036/1.616, allocations: 3.888 MB / 1.015 GB, free: 5.852 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/1.616, allocations: 20 kB / 1.015 GB, free: 5.832 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.152e-05/1.616, allocations: 8 kB / 1.015 GB, free: 5.824 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.616, allocations: 7.969 kB / 1.015 GB, free: 5.816 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.628, allocations: 4.639 MB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.628, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/1.629, allocations: 347.5 kB / 1.02 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001933/1.631, allocations: 0.5413 MB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/1.631, allocations: 91.83 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.648, allocations: 9.431 MB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.648, allocations: 0 / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/1.659, allocations: 3.652 MB / 1.033 GB, free: 2.391 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/1.661, allocations: 374.1 kB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/1.661, allocations: 39.98 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.662, allocations: 87.88 kB / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/1.663, allocations: 173.6 kB / 1.034 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000253/1.663, allocations: 108 kB / 1.034 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002187/1.665, allocations: 1.059 MB / 1.035 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7e-08/1.665, allocations: 0 / 1.035 GB, free: 0.543 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003987/1.669, allocations: 0.8855 MB / 1.036 GB, free: 15.65 MB / 0.795 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%), (2,2,100.0%), (2,2,100.0%), (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.01171/1.681, allocations: 5.136 MB / 1.041 GB, free: 10.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005733/1.687, allocations: 2.469 MB / 1.043 GB, free: 7.945 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.687, allocations: 4.062 kB / 1.043 GB, free: 7.941 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004746/1.692, allocations: 1.713 MB / 1.045 GB, free: 6.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/1.696, allocations: 0.5691 MB / 1.045 GB, free: 5.609 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5389/2.235, allocations: 17.18 MB / 1.062 GB, free: 320.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/2.237, allocations: 1.031 MB / 1.063 GB, free: 320.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004483/2.241, allocations: 1.443 MB / 1.064 GB, free: 320.2 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/2.244, allocations: 1.193 MB / 1.066 GB, free: 319.4 MB / 0.795 GB Notification: Performance of SimCode: time 1.282e-06/2.244, allocations: 0 / 1.066 GB, free: 319.4 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1484/2.392, allocations: 68.99 MB / 1.133 GB, free: 262.1 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/19.42, allocations: 4 kB / 1.133 GB, free: 262.1 MB / 0.795 GB " [Timeout remaining time 640] (rm -f ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 24.23658895911649]