Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.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,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU",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.001723/0.001723, allocations: 175.1 kB / 12.73 MB, free: 2.59 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.603/1.603, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 91.11 kB / 285.6 MB, free: 12.98 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.01302/0.01302, allocations: 1.563 MB / 338 MB, free: 8.469 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6675/0.6675, allocations: 90.05 MB / 479.4 MB, free: 2.965 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.555e-05, allocations: 8 kB / 0.5446 GB, free: 7.875 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1876, allocations: 69.35 MB / 0.6123 GB, free: 2.434 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.601/2.789, allocations: 0.7558 GB / 1.368 GB, free: 207.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/2.789, allocations: 80.34 kB / 1.368 GB, free: 207.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.19/4.979, allocations: 476.9 MB / 1.834 GB, free: 93.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.783e-06/4.979, allocations: 0 / 1.834 GB, free: 93.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.189e-05/4.979, allocations: 37.56 kB / 1.834 GB, free: 93.07 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.005408/4.984, allocations: 1.918 MB / 1.836 GB, free: 92.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/4.984, allocations: 18.61 kB / 1.836 GB, free: 92.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/4.984, allocations: 130.7 kB / 1.836 GB, free: 92.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/4.986, allocations: 245.2 kB / 1.836 GB, free: 92.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008962/4.987, allocations: 0.563 MB / 1.837 GB, free: 92.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/4.987, allocations: 196.3 kB / 1.837 GB, free: 92.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/4.987, allocations: 92.38 kB / 1.837 GB, free: 92.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/4.989, allocations: 0.8865 MB / 1.838 GB, free: 92.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/4.989, allocations: 0 / 1.838 GB, free: 92.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.643e-05/4.989, allocations: 30.25 kB / 1.838 GB, free: 92.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/4.989, allocations: 23.91 kB / 1.838 GB, free: 92.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/4.99, allocations: 0.6744 MB / 1.839 GB, free: 92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00432/4.995, allocations: 3.656 MB / 1.842 GB, free: 90.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/4.996, allocations: 0.7985 MB / 1.843 GB, free: 90.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006598/4.997, allocations: 378.2 kB / 1.843 GB, free: 90.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009103/4.998, allocations: 1.382 MB / 1.845 GB, free: 88.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/4.998, allocations: 42.06 kB / 1.845 GB, free: 88.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 2.325e-06/4.998, allocations: 4.281 kB / 1.845 GB, free: 88.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83): time 0.00324/5.001, allocations: 1.093 MB / 1.846 GB, free: 88.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/5.001, allocations: 60.12 kB / 1.846 GB, free: 88.24 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000601/5.002, allocations: 426.7 kB / 1.846 GB, free: 88.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.247e-05/5.002, allocations: 36.83 kB / 1.846 GB, free: 88.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/5.002, allocations: 382.5 kB / 1.847 GB, free: 87.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/5.003, allocations: 284.4 kB / 1.847 GB, free: 87.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/5.003, allocations: 15.34 kB / 1.847 GB, free: 87.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001453/5.003, allocations: 386.1 kB / 1.847 GB, free: 87.49 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/5.003, allocations: 266.8 kB / 1.847 GB, free: 87.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/5.004, allocations: 335.1 kB / 1.848 GB, free: 87.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/5.005, allocations: 285.9 kB / 1.848 GB, free: 87.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/5.005, allocations: 3.281 kB / 1.848 GB, free: 87.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002791/5.007, allocations: 1.128 MB / 1.849 GB, free: 87.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/5.007, allocations: 5.281 kB / 1.849 GB, free: 87.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/5.007, allocations: 4.938 kB / 1.849 GB, free: 87.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/5.008, allocations: 178 kB / 1.849 GB, free: 87.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/5.009, allocations: 199.4 kB / 1.85 GB, free: 87.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004327/5.013, allocations: 4.633 MB / 1.854 GB, free: 83.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/5.014, allocations: 96.66 kB / 1.854 GB, free: 83.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/5.014, allocations: 58.33 kB / 1.854 GB, free: 83.5 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 () * 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.0002087/5.014, allocations: 144.6 kB / 1.854 GB, free: 83.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/5.015, allocations: 77.92 kB / 1.854 GB, free: 83.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004206/5.019, allocations: 1.73 MB / 1.856 GB, free: 83.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/5.019, allocations: 7.688 kB / 1.856 GB, free: 83.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/5.019, allocations: 2.875 kB / 1.856 GB, free: 83.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/5.019, allocations: 3.891 kB / 1.856 GB, free: 83.22 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004523/5.023, allocations: 2.289 MB / 1.858 GB, free: 82.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/5.024, allocations: 1.125 kB / 1.858 GB, free: 82.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/5.025, allocations: 201.1 kB / 1.859 GB, free: 82.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000536/5.025, allocations: 182.2 kB / 1.859 GB, free: 82.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.366e-05/5.025, allocations: 40.86 kB / 1.859 GB, free: 82.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/5.029, allocations: 4.632 MB / 1.863 GB, free: 79.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/5.029, allocations: 3.953 kB / 1.863 GB, free: 79.03 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003419/5.033, allocations: 1.655 MB / 1.865 GB, free: 78.75 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/5.033, allocations: 151.8 kB / 1.865 GB, free: 78.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/5.033, allocations: 22.81 kB / 1.865 GB, free: 78.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/5.034, allocations: 72.08 kB / 1.865 GB, free: 78.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/5.034, allocations: 80.14 kB / 1.865 GB, free: 78.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/5.034, allocations: 64.73 kB / 1.865 GB, free: 78.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005696/5.035, allocations: 330.1 kB / 1.866 GB, free: 78.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/5.035, allocations: 0 / 1.866 GB, free: 78.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00327/5.038, allocations: 0.5739 MB / 1.866 GB, free: 78.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (counterFlowNTU.inletB.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,mCV.dp_int,mCV1.inlet.m_flow,mCV1.dp_int) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * 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.006783/5.045, allocations: 3.63 MB / 1.87 GB, free: 77.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002583/5.047, allocations: 1.293 MB / 1.871 GB, free: 76.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/5.047, allocations: 0 / 1.871 GB, free: 76.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/5.049, allocations: 0.9902 MB / 1.872 GB, free: 76.49 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/5.05, allocations: 194.5 kB / 1.872 GB, free: 76.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/5.055, allocations: 1.859 MB / 1.874 GB, free: 76.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/5.055, allocations: 1.017 MB / 1.875 GB, free: 75.31 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001473/5.057, allocations: 0.6015 MB / 1.876 GB, free: 75.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007034/5.057, allocations: 414.1 kB / 1.876 GB, free: 75.28 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/5.057, allocations: 0 / 1.876 GB, free: 75.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08836/5.146, allocations: 43.84 MB / 1.919 GB, free: 74.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/5.146, allocations: 223.9 kB / 1.919 GB, free: 73.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.04/9.186, allocations: 0 / 1.919 GB, free: 73.92 MB / 0.6198 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1)