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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8/0.8, allocations: 93.72 MB / 384.1 MB, free: 6.977 MB / 318.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002372, allocations: 84.52 kB / 463.5 MB, free: 21.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1359, allocations: 68.26 MB / 0.5193 GB, free: 6.918 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel): time 0.6276/0.7635, allocations: 307.8 MB / 0.8199 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.415/1.179, allocations: 38 MB / 0.857 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004011/1.183, allocations: 104.6 kB / 0.8571 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005435/1.188, allocations: 1.412 MB / 0.8585 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/1.201, allocations: 3.361 MB / 0.8618 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01088/1.212, allocations: 3.428 MB / 0.8651 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.008811/1.221, allocations: 3.801 MB / 0.8688 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002155/1.223, allocations: 0.8314 MB / 0.8696 GB, free: 16.51 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007018/1.23, allocations: 2.342 MB / 0.8719 GB, free: 16.49 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004159/1.234, allocations: 1.48 MB / 0.8734 GB, free: 16.26 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008485/1.235, allocations: 232.2 kB / 0.8736 GB, free: 16.26 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01797/1.253, allocations: 6.658 MB / 0.8801 GB, free: 16.13 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/1.254, allocations: 0.5827 MB / 0.8807 GB, free: 16.02 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002669/1.257, allocations: 1.41 MB / 0.882 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01639/1.273, allocations: 4.926 MB / 0.8868 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.038e-05/1.273, allocations: 3.125 kB / 0.8868 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of FrontEnd: time 5.992e-06/1.273, allocations: 0 / 0.8868 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001672/1.274, allocations: 1.062 kB / 0.8868 GB, free: 14.84 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01065/1.284, allocations: 3.676 MB / 0.8904 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/1.284, allocations: 11.91 kB / 0.8904 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003814/1.285, allocations: 290.9 kB / 0.8907 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004547/1.289, allocations: 0.6096 MB / 0.8913 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/1.293, allocations: 1.635 MB / 0.8929 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/1.293, allocations: 410.3 kB / 0.8933 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/1.293, allocations: 217.7 kB / 0.8935 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00429/1.298, allocations: 2.321 MB / 0.8958 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/1.298, allocations: 2.812 kB / 0.8958 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/1.298, allocations: 84.28 kB / 0.8959 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.075e-05/1.298, allocations: 80.75 kB / 0.8959 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/1.302, allocations: 1.876 MB / 0.8978 GB, free: 11.91 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.01316/1.315, allocations: 9.347 MB / 0.9069 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/1.319, allocations: 1.971 MB / 0.9088 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001992/1.321, allocations: 1.051 MB / 0.9099 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002283/1.324, allocations: 2.618 MB / 0.9124 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/1.324, allocations: 52.72 kB / 0.9125 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=174): time 4.118e-06/1.324, allocations: 0 / 0.9125 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of matching and sorting (n=176): time 0.01694/1.341, allocations: 6.657 MB / 0.919 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/1.341, allocations: 71.09 kB / 0.919 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/1.343, allocations: 1.56 MB / 0.9206 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001542/1.343, allocations: 51.27 kB / 0.9206 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008561/1.344, allocations: 1.059 MB / 0.9216 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005659/1.344, allocations: 0.5914 MB / 0.9222 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005379/1.345, allocations: 325.6 kB / 0.9225 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.345, allocations: 305.1 kB / 0.9228 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/1.347, allocations: 0.6949 MB / 0.9235 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/1.349, allocations: 0.853 MB / 0.9243 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/1.352, allocations: 1.576 MB / 0.9259 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.352, allocations: 4 kB / 0.9259 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007742/1.36, allocations: 2.727 MB / 0.9285 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/1.36, allocations: 8 kB / 0.9285 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.36, allocations: 0 / 0.9285 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/1.362, allocations: 0.5652 MB / 0.9291 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/1.365, allocations: 425 kB / 0.9295 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/1.38, allocations: 10.14 MB / 0.9394 GB, free: 15.13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/1.382, allocations: 95.88 kB / 0.9395 GB, free: 15.04 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/1.382, allocations: 119.9 kB / 0.9396 GB, free: 14.92 MB / 0.67 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 {(3,1,88.9%), (2,17,100.0%), (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.001504/1.384, allocations: 389.7 kB / 0.94 GB, free: 14.55 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006874/1.384, allocations: 217.2 kB / 0.9402 GB, free: 14.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.395, allocations: 4.088 MB / 0.9442 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.177e-05/1.395, allocations: 19.94 kB / 0.9442 GB, free: 10.25 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.505e-05/1.395, allocations: 8 kB / 0.9442 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.576e-05/1.395, allocations: 15.95 kB / 0.9442 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/1.408, allocations: 5.304 MB / 0.9494 GB, free: 4.879 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.315e-05/1.408, allocations: 4 kB / 0.9494 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/1.41, allocations: 407.2 kB / 0.9498 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/1.412, allocations: 0.5825 MB / 0.9504 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/1.412, allocations: 71.95 kB / 0.9504 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/1.427, allocations: 10.13 MB / 0.9603 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/1.427, allocations: 10.5 kB / 0.9603 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.437, allocations: 3.754 MB / 0.964 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.439, allocations: 442 kB / 0.9644 GB, free: 4.816 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003858/1.439, allocations: 40.11 kB / 0.9645 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.44, allocations: 87.86 kB / 0.9645 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003724/1.441, allocations: 164.3 kB / 0.9647 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002166/1.441, allocations: 115.9 kB / 0.9648 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001576/1.443, allocations: 1.051 MB / 0.9658 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.443, allocations: 0 / 0.9658 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002953/1.446, allocations: 0.8746 MB / 0.9667 GB, free: 2.473 MB / 0.6856 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%), (3,1,88.9%), (3,1,88.9%), (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.01106/1.457, allocations: 5.263 MB / 0.9718 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.007859/1.464, allocations: 2.854 MB / 0.9746 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.465, allocations: 0 / 0.9746 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004561/1.469, allocations: 1.912 MB / 0.9765 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.473, allocations: 0.5742 MB / 0.977 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04269/1.515, allocations: 19.65 MB / 0.9962 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001601/1.517, allocations: 1.597 MB / 0.9978 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004229/1.521, allocations: 1.439 MB / 0.9992 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002552/1.524, allocations: 1.186 MB / 1 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.465e-06/1.524, allocations: 0 / 1 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.718/4.242, allocations: 64.25 MB / 1.063 GB, free: 15.04 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/18.19, allocations: 14.53 kB / 1.063 GB, free: 15.03 MB / 0.795 GB (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 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_parallel.fmu > ThermofluidStream_dev_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_parallel.pipe 2>&1) 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) Reference file matches