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: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.001772, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.0009921/0.0009926, allocations: 102.2 kB / 280.5 MB, free: 5.27 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.01103/0.01103, allocations: 1.571 MB / 332.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7625/0.7625, allocations: 90.04 MB / 474 MB, free: 13.03 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.843e-05, allocations: 3 kB / 0.5375 GB, free: 33.02 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1623, allocations: 69.37 MB / 0.6052 GB, free: 124 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.881/2.043, allocations: 0.7551 GB / 1.36 GB, free: 45.14 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/2.043, allocations: 83.83 kB / 1.36 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.838/3.881, allocations: 473 MB / 1.822 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.392e-06/3.881, allocations: 0 / 1.822 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001157/3.881, allocations: 31.83 kB / 1.822 GB, free: 57.84 MB / 0.6042 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.006076/3.887, allocations: 1.922 MB / 1.824 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/3.887, allocations: 8.031 kB / 1.824 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/3.889, allocations: 242.5 kB / 1.824 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/3.891, allocations: 0.551 MB / 1.825 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/3.891, allocations: 172.7 kB / 1.825 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002835/3.891, allocations: 59.89 kB / 1.825 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001339/3.893, allocations: 0.617 MB / 1.826 GB, free: 54.19 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/3.894, allocations: 0.7612 MB / 1.827 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/3.894, allocations: 0 / 1.827 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/3.894, allocations: 0 / 1.827 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/3.894, allocations: 31.92 kB / 1.827 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004237/3.898, allocations: 3.495 MB / 1.83 GB, free: 49.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/3.899, allocations: 0.7452 MB / 1.831 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004409/3.9, allocations: 347.7 kB / 1.831 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007575/3.901, allocations: 1.384 MB / 1.832 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/3.901, allocations: 55.17 kB / 1.832 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=83): time 3.186e-06/3.901, allocations: 4 kB / 1.832 GB, free: 46.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83): time 0.002991/3.904, allocations: 1.072 MB / 1.833 GB, free: 45.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/3.904, allocations: 60.19 kB / 1.834 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/3.904, allocations: 362.3 kB / 1.834 GB, free: 45.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/3.904, allocations: 25.7 kB / 1.834 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/3.904, allocations: 392.2 kB / 1.834 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/3.905, allocations: 279.8 kB / 1.835 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/3.905, allocations: 0 / 1.835 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001026/3.905, allocations: 383.5 kB / 1.835 GB, free: 44.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/3.905, allocations: 249.5 kB / 1.835 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/3.906, allocations: 315.3 kB / 1.835 GB, free: 43.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009497/3.906, allocations: 332.3 kB / 1.836 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/3.906, allocations: 0 / 1.836 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002616/3.909, allocations: 1.126 MB / 1.837 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/3.909, allocations: 7.984 kB / 1.837 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/3.909, allocations: 4.125 kB / 1.837 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/3.91, allocations: 166.5 kB / 1.837 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008361/3.91, allocations: 203.8 kB / 1.837 GB, free: 41.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/3.914, allocations: 4.486 MB / 1.842 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/3.915, allocations: 75.53 kB / 1.842 GB, free: 36.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/3.915, allocations: 63.97 kB / 1.842 GB, free: 36.79 MB / 0.6042 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.0001922/3.915, allocations: 108.9 kB / 1.842 GB, free: 36.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/3.915, allocations: 79.02 kB / 1.842 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/3.919, allocations: 1.705 MB / 1.844 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/3.919, allocations: 8 kB / 1.844 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/3.92, allocations: 7.891 kB / 1.844 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/3.92, allocations: 7.984 kB / 1.844 GB, free: 34.85 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004434/3.924, allocations: 2.18 MB / 1.846 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/3.924, allocations: 0 / 1.846 GB, free: 32.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009007/3.925, allocations: 203.9 kB / 1.846 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/3.925, allocations: 182.3 kB / 1.846 GB, free: 32.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-05/3.925, allocations: 31.97 kB / 1.846 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003578/3.929, allocations: 4.483 MB / 1.851 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/3.929, allocations: 8 kB / 1.851 GB, free: 27.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00337/3.932, allocations: 1.641 MB / 1.852 GB, free: 25.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/3.933, allocations: 160.3 kB / 1.852 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/3.933, allocations: 0 / 1.852 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006081/3.933, allocations: 63.78 kB / 1.852 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/3.934, allocations: 68.69 kB / 1.852 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/3.934, allocations: 63.97 kB / 1.852 GB, free: 25.32 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003374/3.934, allocations: 283 kB / 1.853 GB, free: 25.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/3.934, allocations: 0 / 1.853 GB, free: 25.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00216/3.936, allocations: 0.5223 MB / 1.853 GB, free: 24.52 MB / 0.6042 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.003151/3.939, allocations: 1.576 MB / 1.855 GB, free: 23.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00228/3.942, allocations: 1.228 MB / 1.856 GB, free: 21.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/3.942, allocations: 4 kB / 1.856 GB, free: 21.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/3.943, allocations: 0.9446 MB / 1.857 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/3.944, allocations: 176.5 kB / 1.857 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/3.947, allocations: 1.534 MB / 1.859 GB, free: 19.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005072/3.948, allocations: 1.017 MB / 1.86 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001529/3.95, allocations: 0.5977 MB / 1.86 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/3.95, allocations: 135.3 kB / 1.86 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of SimCode: time 9.42e-07/3.95, allocations: 0 / 1.86 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.4296/4.38, allocations: 21 MB / 1.881 GB, free: 89.82 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.makefile (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 & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU.pipe 2>&1)