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/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.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial",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.009062/0.009062, allocations: 171.6 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.464/1.464, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009679/0.0009678, allocations: 91.83 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.009069/0.009069, allocations: 1.556 MB / 342.9 MB, free: 9.27 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7788/0.7788, allocations: 90.31 MB / 484.6 MB, free: 21.9 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004851, allocations: 15.03 kB / 0.5527 GB, free: 30.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 69.36 MB / 0.6204 GB, free: 5.539 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.032/2.188, allocations: 0.7559 GB / 1.376 GB, free: 52.28 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/2.188, allocations: 87.89 kB / 1.376 GB, free: 52.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.597/4.786, allocations: 0.5938 GB / 1.97 GB, free: 77.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/4.786, allocations: 0 / 1.97 GB, free: 77.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001464/4.786, allocations: 40.98 kB / 1.97 GB, free: 77.96 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.00769/4.793, allocations: 2.535 MB / 1.973 GB, free: 77.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/4.794, allocations: 13.42 kB / 1.973 GB, free: 77.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005101/4.794, allocations: 176.3 kB / 1.973 GB, free: 76.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/4.797, allocations: 352.7 kB / 1.973 GB, free: 76.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/4.798, allocations: 0.6885 MB / 1.974 GB, free: 76.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/4.799, allocations: 355.8 kB / 1.974 GB, free: 76.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/4.799, allocations: 118.2 kB / 1.974 GB, free: 76.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003106/4.802, allocations: 1.395 MB / 1.976 GB, free: 76.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/4.802, allocations: 3.469 kB / 1.976 GB, free: 76.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/4.802, allocations: 43.5 kB / 1.976 GB, free: 76.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/4.803, allocations: 32.47 kB / 1.976 GB, free: 76.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/4.805, allocations: 1.175 MB / 1.977 GB, free: 76.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006465/4.812, allocations: 4.893 MB / 1.982 GB, free: 73.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0028/4.814, allocations: 1.327 MB / 1.983 GB, free: 73.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/4.816, allocations: 1.868 MB / 1.985 GB, free: 71.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/4.816, allocations: 45.7 kB / 1.985 GB, free: 71.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=112): time 4.669e-06/4.816, allocations: 3.25 kB / 1.985 GB, free: 71.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=112): time 0.009404/4.825, allocations: 3.674 MB / 1.988 GB, free: 70.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/4.825, allocations: 69.67 kB / 1.988 GB, free: 70.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/4.826, allocations: 490.1 kB / 1.989 GB, free: 70.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/4.826, allocations: 45.23 kB / 1.989 GB, free: 70.67 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/4.826, allocations: 475.5 kB / 1.989 GB, free: 70.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/4.827, allocations: 385.8 kB / 1.99 GB, free: 70.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/4.827, allocations: 19.84 kB / 1.99 GB, free: 70.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.594e-05/4.827, allocations: 343.7 kB / 1.99 GB, free: 70 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/4.828, allocations: 0.536 MB / 1.991 GB, free: 70 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/4.829, allocations: 0.6263 MB / 1.991 GB, free: 69.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/4.83, allocations: 0.5449 MB / 1.992 GB, free: 69.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/4.83, allocations: 2.656 kB / 1.992 GB, free: 69.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005132/4.835, allocations: 2.12 MB / 1.994 GB, free: 69.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/4.835, allocations: 5.281 kB / 1.994 GB, free: 69.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/4.835, allocations: 5.719 kB / 1.994 GB, free: 69.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/4.837, allocations: 474 kB / 1.994 GB, free: 69.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/4.838, allocations: 289.9 kB / 1.995 GB, free: 69.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008134/4.846, allocations: 7.356 MB / 2.002 GB, free: 64.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/4.848, allocations: 165.4 kB / 2.002 GB, free: 64.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003274/4.848, allocations: 72.8 kB / 2.002 GB, free: 64.69 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 (106): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 1,(3,88.9%) 1,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008657/4.849, allocations: 230.4 kB / 2.002 GB, free: 64.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004577/4.85, allocations: 100.6 kB / 2.002 GB, free: 64.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007348/4.857, allocations: 2.884 MB / 2.005 GB, free: 64.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/4.857, allocations: 12.22 kB / 2.005 GB, free: 64.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/4.857, allocations: 5.438 kB / 2.005 GB, free: 64.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/4.857, allocations: 11.44 kB / 2.005 GB, free: 64.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008575/4.866, allocations: 3.656 MB / 2.009 GB, free: 63.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/4.866, allocations: 0 / 2.009 GB, free: 63.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/4.867, allocations: 299.3 kB / 2.009 GB, free: 63.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001214/4.869, allocations: 485.3 kB / 2.01 GB, free: 63.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/4.869, allocations: 52.44 kB / 2.01 GB, free: 63.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007964/4.877, allocations: 7.343 MB / 2.017 GB, free: 58.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/4.877, allocations: 2.438 kB / 2.017 GB, free: 58.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00674/4.883, allocations: 2.896 MB / 2.02 GB, free: 58.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/4.884, allocations: 182.5 kB / 2.02 GB, free: 58.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/4.884, allocations: 24.81 kB / 2.02 GB, free: 58.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/4.885, allocations: 110.5 kB / 2.02 GB, free: 58.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/4.885, allocations: 102.8 kB / 2.02 GB, free: 58.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/4.885, allocations: 83.75 kB / 2.02 GB, free: 58.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000544/4.886, allocations: 389.6 kB / 2.02 GB, free: 58.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.71e-07/4.886, allocations: 0 / 2.02 GB, free: 58.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003123/4.889, allocations: 0.7095 MB / 2.021 GB, free: 58.17 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 8 (counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,counterFlowNTU1.inletB.m_flow,counterFlowNTU1.h_out_A,counterFlowNTU1.h_out_B,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 (107): * Single equations (assignments): 101 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 5,(3,88.9%) 1,(3,88.9%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01009/4.899, allocations: 5.11 MB / 2.026 GB, free: 56.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004362/4.904, allocations: 2.146 MB / 2.028 GB, free: 56.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/4.904, allocations: 0 / 2.028 GB, free: 56.35 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00288/4.907, allocations: 1.581 MB / 2.03 GB, free: 55.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/4.908, allocations: 212.8 kB / 2.03 GB, free: 55.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/4.923, allocations: 8.487 MB / 2.038 GB, free: 53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/4.924, allocations: 1.126 MB / 2.039 GB, free: 52.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002081/4.926, allocations: 0.8018 MB / 2.04 GB, free: 52.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009371/4.927, allocations: 0.5326 MB / 2.041 GB, free: 52.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/4.927, allocations: 0 / 2.041 GB, free: 52.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08214/5.009, allocations: 49.31 MB / 2.089 GB, free: 46.63 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/5.01, allocations: 274.2 kB / 2.089 GB, free: 46.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.01/9.019, allocations: 2.656 kB / 2.089 GB, free: 46.28 MB / 0.6198 GB (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/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_serial.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1)