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: translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") translateModel(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|counterFlowNTU.h_out_A|counterFlowNTU.h_out_B|counterFlowNTU1.h_out_A|counterFlowNTU1.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, 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.484/1.484, allocations: 221.5 MB / 229.6 MB, free: 7.527 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.0009765/0.0009765, allocations: 94.95 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.01146/0.01146, allocations: 1.569 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.7759/0.7759, allocations: 90.05 MB / 474.1 MB, free: 13.02 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.629e-05/1.633e-05, allocations: 2.938 kB / 0.5375 GB, free: 33.13 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1278, allocations: 69.38 MB / 0.6052 GB, free: 112 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.802/1.93, allocations: 0.7552 GB / 1.36 GB, free: 20.22 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/1.93, allocations: 82.83 kB / 1.36 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.546/4.477, allocations: 0.5873 GB / 1.948 GB, free: 72.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.323e-06/4.477, allocations: 0 / 1.948 GB, free: 72.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001565/4.477, allocations: 39.17 kB / 1.948 GB, free: 72.86 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.008568/4.485, allocations: 2.42 MB / 1.95 GB, free: 71.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/4.486, allocations: 7.656 kB / 1.95 GB, free: 71.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003104/4.489, allocations: 352 kB / 1.951 GB, free: 71.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/4.491, allocations: 0.6808 MB / 1.951 GB, free: 71.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003891/4.491, allocations: 317.8 kB / 1.951 GB, free: 71.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004712/4.491, allocations: 77.8 kB / 1.952 GB, free: 71.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002181/4.494, allocations: 0.8829 MB / 1.952 GB, free: 71.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/4.496, allocations: 1.051 MB / 1.953 GB, free: 70.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/4.496, allocations: 0 / 1.953 GB, free: 70.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/4.496, allocations: 3.906 kB / 1.953 GB, free: 70.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/4.496, allocations: 24.97 kB / 1.953 GB, free: 70.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007148/4.503, allocations: 4.703 MB / 1.958 GB, free: 68.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/4.505, allocations: 1.057 MB / 1.959 GB, free: 68.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007317/4.506, allocations: 494.9 kB / 1.96 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/4.507, allocations: 1.872 MB / 1.961 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/4.507, allocations: 42.09 kB / 1.961 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=112): time 3.236e-06/4.507, allocations: 3.062 kB / 1.961 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=112): time 0.005149/4.512, allocations: 1.634 MB / 1.963 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/4.512, allocations: 67.61 kB / 1.963 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/4.513, allocations: 423 kB / 1.963 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/4.513, allocations: 29.2 kB / 1.964 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/4.514, allocations: 481.2 kB / 1.964 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/4.514, allocations: 377.4 kB / 1.964 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/4.514, allocations: 0 / 1.964 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001631/4.514, allocations: 393.8 kB / 1.965 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/4.515, allocations: 361.4 kB / 1.965 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000624/4.515, allocations: 449.9 kB / 1.965 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/4.517, allocations: 456.4 kB / 1.966 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/4.517, allocations: 0 / 1.966 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004592/4.521, allocations: 1.689 MB / 1.968 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/4.521, allocations: 3.781 kB / 1.968 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/4.521, allocations: 4.25 kB / 1.968 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007499/4.522, allocations: 267.8 kB / 1.968 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/4.524, allocations: 291.2 kB / 1.968 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005731/4.529, allocations: 6.244 MB / 1.974 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/4.531, allocations: 133 kB / 1.974 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/4.531, allocations: 72.03 kB / 1.974 GB, free: 60 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 (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.0003432/4.531, allocations: 119.2 kB / 1.975 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004061/4.532, allocations: 92.23 kB / 1.975 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006621/4.538, allocations: 2.454 MB / 1.977 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/4.538, allocations: 11.31 kB / 1.977 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/4.538, allocations: 3.781 kB / 1.977 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/4.538, allocations: 7.734 kB / 1.977 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007129/4.546, allocations: 3.076 MB / 1.98 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/4.546, allocations: 0 / 1.98 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/4.547, allocations: 294.9 kB / 1.98 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000678/4.548, allocations: 274.7 kB / 1.981 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/4.548, allocations: 39.47 kB / 1.981 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005621/4.554, allocations: 6.247 MB / 1.987 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/4.554, allocations: 2.062 kB / 1.987 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005557/4.559, allocations: 2.371 MB / 1.989 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/4.559, allocations: 172.5 kB / 1.989 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/4.56, allocations: 10.14 kB / 1.989 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008759/4.561, allocations: 95.14 kB / 1.989 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/4.561, allocations: 102.8 kB / 1.989 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001959/4.561, allocations: 79.95 kB / 1.989 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003792/4.561, allocations: 326.1 kB / 1.99 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/4.561, allocations: 0 / 1.99 GB, free: 53.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002531/4.564, allocations: 0.6469 MB / 1.99 GB, free: 53.7 MB / 0.6042 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 () * 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.003532/4.568, allocations: 1.826 MB / 1.992 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003354/4.571, allocations: 1.781 MB / 1.994 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/4.571, allocations: 0 / 1.994 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002316/4.573, allocations: 1.373 MB / 1.995 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/4.575, allocations: 200.7 kB / 1.995 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/4.579, allocations: 2.005 MB / 1.997 GB, free: 51.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006188/4.579, allocations: 1.119 MB / 1.999 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002075/4.581, allocations: 0.7967 MB / 1.999 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/4.582, allocations: 166.2 kB / 1.999 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/4.582, allocations: 0 / 1.999 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of Templates: time 0.04288/4.625, allocations: 26.16 MB / 2.025 GB, free: 46.03 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.makefile (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 & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_serial.pipe 2>&1)