Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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) 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) Running command: "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009155/0.009155, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 100.2 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.01094/0.01094, allocations: 1.556 MB / 342.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7373/0.7373, allocations: 90.3 MB / 484.6 MB, free: 21.91 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004928, allocations: 20.12 kB / 0.5527 GB, free: 30.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1811, allocations: 69.37 MB / 0.6204 GB, free: 5.543 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.119/2.3, allocations: 0.7558 GB / 1.376 GB, free: 52.43 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/2.3, allocations: 79.97 kB / 1.376 GB, free: 52.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.712/4.012, allocations: 478.2 MB / 1.843 GB, free: 82.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.565e-06/4.012, allocations: 0 / 1.843 GB, free: 82.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.668e-05/4.012, allocations: 31.98 kB / 1.843 GB, free: 82.44 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005296/4.017, allocations: 2.03 MB / 1.845 GB, free: 80.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/4.017, allocations: 11.98 kB / 1.845 GB, free: 80.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/4.018, allocations: 135.2 kB / 1.845 GB, free: 80.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/4.019, allocations: 238.5 kB / 1.846 GB, free: 79.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009353/4.02, allocations: 0.5684 MB / 1.846 GB, free: 79.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002019/4.021, allocations: 204.7 kB / 1.846 GB, free: 79.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/4.021, allocations: 84 kB / 1.847 GB, free: 79.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/4.022, allocations: 0.9777 MB / 1.847 GB, free: 78.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/4.022, allocations: 3.938 kB / 1.847 GB, free: 78.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.071e-05/4.023, allocations: 32 kB / 1.848 GB, free: 78.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/4.023, allocations: 27.98 kB / 1.848 GB, free: 78.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/4.024, allocations: 0.7763 MB / 1.848 GB, free: 77.24 MB / 0.6198 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.003827/4.028, allocations: 3.622 MB / 1.852 GB, free: 73.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/4.029, allocations: 0.9025 MB / 1.853 GB, free: 72.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008539/4.03, allocations: 1.382 MB / 1.854 GB, free: 70.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/4.03, allocations: 43.22 kB / 1.854 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 3.226e-06/4.03, allocations: 0 / 1.854 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83): time 0.005443/4.036, allocations: 2.376 MB / 1.856 GB, free: 68.26 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/4.036, allocations: 67.88 kB / 1.856 GB, free: 68.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/4.036, allocations: 434.3 kB / 1.857 GB, free: 67.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.434e-05/4.036, allocations: 37.7 kB / 1.857 GB, free: 67.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/4.037, allocations: 380.3 kB / 1.857 GB, free: 67.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000162/4.037, allocations: 291.8 kB / 1.858 GB, free: 67.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/4.037, allocations: 8 kB / 1.858 GB, free: 67.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001071/4.037, allocations: 386.7 kB / 1.858 GB, free: 66.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/4.038, allocations: 352.9 kB / 1.858 GB, free: 66.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006643/4.038, allocations: 423.1 kB / 1.859 GB, free: 65.89 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/4.039, allocations: 366.9 kB / 1.859 GB, free: 65.53 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/4.039, allocations: 0 / 1.859 GB, free: 65.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002859/4.042, allocations: 1.35 MB / 1.86 GB, free: 64.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/4.042, allocations: 12.12 kB / 1.86 GB, free: 64.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/4.042, allocations: 0 / 1.86 GB, free: 64.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007902/4.043, allocations: 274 kB / 1.861 GB, free: 63.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000868/4.044, allocations: 199.8 kB / 1.861 GB, free: 63.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004644/4.048, allocations: 5.094 MB / 1.866 GB, free: 58.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/4.049, allocations: 103.3 kB / 1.866 GB, free: 58.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/4.049, allocations: 63.92 kB / 1.866 GB, free: 58.02 MB / 0.6198 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 (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004409/4.05, allocations: 201.7 kB / 1.866 GB, free: 57.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/4.05, allocations: 78.86 kB / 1.866 GB, free: 57.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004316/4.054, allocations: 1.961 MB / 1.868 GB, free: 55.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/4.054, allocations: 8 kB / 1.868 GB, free: 55.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/4.054, allocations: 4 kB / 1.868 GB, free: 55.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/4.054, allocations: 7.984 kB / 1.868 GB, free: 55.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004624/4.059, allocations: 2.527 MB / 1.871 GB, free: 53.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/4.059, allocations: 0 / 1.871 GB, free: 53.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009691/4.06, allocations: 211.8 kB / 1.871 GB, free: 52.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007203/4.061, allocations: 282 kB / 1.871 GB, free: 52.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-05/4.061, allocations: 39.97 kB / 1.871 GB, free: 52.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00475/4.065, allocations: 5.104 MB / 1.876 GB, free: 47.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/4.065, allocations: 0 / 1.876 GB, free: 47.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003995/4.069, allocations: 1.936 MB / 1.878 GB, free: 45.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004377/4.07, allocations: 235.8 kB / 1.878 GB, free: 44.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/4.07, allocations: 24 kB / 1.878 GB, free: 44.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/4.071, allocations: 68.02 kB / 1.878 GB, free: 44.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/4.071, allocations: 80.89 kB / 1.878 GB, free: 44.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/4.071, allocations: 63.94 kB / 1.878 GB, free: 44.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004275/4.071, allocations: 334.8 kB / 1.879 GB, free: 44.34 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/4.071, allocations: 0 / 1.879 GB, free: 44.34 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00272/4.074, allocations: 0.5732 MB / 1.879 GB, free: 43.76 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceB.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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008067/4.082, allocations: 3.93 MB / 1.883 GB, free: 39.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002762/4.085, allocations: 1.437 MB / 1.885 GB, free: 38.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/4.085, allocations: 7.938 kB / 1.885 GB, free: 38.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/4.087, allocations: 1.067 MB / 1.886 GB, free: 37.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/4.088, allocations: 185.8 kB / 1.886 GB, free: 37.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/4.098, allocations: 6.447 MB / 1.892 GB, free: 30.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/4.099, allocations: 1.017 MB / 1.893 GB, free: 29.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001494/4.1, allocations: 0.6135 MB / 1.894 GB, free: 28.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006896/4.101, allocations: 419.2 kB / 1.894 GB, free: 28.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/4.101, allocations: 0 / 1.894 GB, free: 28.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4362/4.537, allocations: 40.59 MB / 1.934 GB, free: 101.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/4.538, allocations: 249.7 kB / 1.934 GB, free: 101.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.559/8.097, allocations: 2.188 kB / 1.934 GB, free: 101.5 MB / 0.6198 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1)