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.008767/0.008767, 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.564/1.564, allocations: 223.2 MB / 239 MB, free: 1.777 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.001069/0.001068, allocations: 106.4 kB / 290.2 MB, free: 13.93 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.01085/0.01085, allocations: 1.56 MB / 342.9 MB, free: 9.254 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8608/0.8608, allocations: 90.3 MB / 484.7 MB, free: 21.89 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005057/0.0005057, allocations: 15.56 kB / 0.5526 GB, free: 30.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1588, allocations: 69.36 MB / 0.6203 GB, free: 5.625 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.913/2.072, allocations: 0.7559 GB / 1.376 GB, free: 52.39 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/2.072, allocations: 85 kB / 1.376 GB, free: 52.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.443/4.516, allocations: 0.5938 GB / 1.97 GB, free: 78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.286e-06/4.516, allocations: 0 / 1.97 GB, free: 78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001037/4.516, allocations: 43.78 kB / 1.97 GB, free: 78 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.008197/4.524, allocations: 2.533 MB / 1.973 GB, free: 77.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/4.524, allocations: 13.86 kB / 1.973 GB, free: 77.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/4.527, allocations: 354 kB / 1.973 GB, free: 77.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/4.529, allocations: 0.6891 MB / 1.974 GB, free: 76.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/4.529, allocations: 358.6 kB / 1.974 GB, free: 76.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002597/4.529, allocations: 114 kB / 1.974 GB, free: 76.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002965/4.532, allocations: 1.395 MB / 1.975 GB, free: 76.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/4.532, allocations: 6.344 kB / 1.975 GB, free: 76.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/4.532, allocations: 44.72 kB / 1.975 GB, free: 76.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/4.533, allocations: 26.88 kB / 1.975 GB, free: 76.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/4.535, allocations: 1.173 MB / 1.977 GB, free: 76.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00695/4.542, allocations: 4.895 MB / 1.981 GB, free: 73.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002663/4.545, allocations: 1.324 MB / 1.983 GB, free: 73.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/4.546, allocations: 1.873 MB / 1.985 GB, free: 71.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/4.546, allocations: 42.25 kB / 1.985 GB, free: 71.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=112): time 4.278e-06/4.546, allocations: 0 / 1.985 GB, free: 71.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=112): time 0.00928/4.555, allocations: 3.683 MB / 1.988 GB, free: 71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/4.555, allocations: 63.22 kB / 1.988 GB, free: 70.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/4.556, allocations: 495.9 kB / 1.989 GB, free: 70.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/4.556, allocations: 44.95 kB / 1.989 GB, free: 70.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/4.556, allocations: 470.3 kB / 1.989 GB, free: 70.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/4.557, allocations: 385.4 kB / 1.99 GB, free: 70.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.81e-05/4.557, allocations: 16.62 kB / 1.99 GB, free: 70.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001014/4.557, allocations: 350.3 kB / 1.99 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/4.558, allocations: 0.5328 MB / 1.99 GB, free: 70.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/4.559, allocations: 0.6291 MB / 1.991 GB, free: 70.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/4.56, allocations: 0.5444 MB / 1.992 GB, free: 70.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/4.56, allocations: 3.625 kB / 1.992 GB, free: 70.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005319/4.566, allocations: 2.118 MB / 1.994 GB, free: 69.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/4.566, allocations: 3.469 kB / 1.994 GB, free: 69.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/4.566, allocations: 3.406 kB / 1.994 GB, free: 69.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/4.567, allocations: 476.5 kB / 1.994 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/4.569, allocations: 290.9 kB / 1.994 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008204/4.577, allocations: 7.358 MB / 2.002 GB, free: 64.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/4.578, allocations: 155.2 kB / 2.002 GB, free: 64.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/4.578, allocations: 79.89 kB / 2.002 GB, free: 64.8 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.0006326/4.579, allocations: 232 kB / 2.002 GB, free: 64.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/4.579, allocations: 95.25 kB / 2.002 GB, free: 64.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006535/4.586, allocations: 2.9 MB / 2.005 GB, free: 64.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/4.586, allocations: 9.688 kB / 2.005 GB, free: 64.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/4.586, allocations: 9.219 kB / 2.005 GB, free: 64.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/4.586, allocations: 7.078 kB / 2.005 GB, free: 64.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007246/4.593, allocations: 3.643 MB / 2.009 GB, free: 64.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/4.593, allocations: 3.375 kB / 2.009 GB, free: 64.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/4.595, allocations: 295.7 kB / 2.009 GB, free: 64.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/4.596, allocations: 494.1 kB / 2.009 GB, free: 64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/4.596, allocations: 53.98 kB / 2.009 GB, free: 64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007687/4.604, allocations: 7.348 MB / 2.017 GB, free: 58.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/4.604, allocations: 5.312 kB / 2.017 GB, free: 58.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/4.61, allocations: 2.894 MB / 2.019 GB, free: 58.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/4.611, allocations: 182.5 kB / 2.02 GB, free: 58.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/4.611, allocations: 24.59 kB / 2.02 GB, free: 58.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/4.612, allocations: 104.1 kB / 2.02 GB, free: 58.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000208/4.612, allocations: 104.9 kB / 2.02 GB, free: 58.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/4.612, allocations: 79.7 kB / 2.02 GB, free: 58.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000428/4.613, allocations: 388.2 kB / 2.02 GB, free: 58.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/4.613, allocations: 0 / 2.02 GB, free: 58.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002607/4.615, allocations: 0.7167 MB / 2.021 GB, free: 58.29 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.002909/4.618, allocations: 1.627 MB / 2.022 GB, free: 57.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004552/4.623, allocations: 2.143 MB / 2.025 GB, free: 57.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/4.623, allocations: 3.75 kB / 2.025 GB, free: 57.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002981/4.626, allocations: 1.574 MB / 2.026 GB, free: 56.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/4.627, allocations: 219.3 kB / 2.026 GB, free: 56.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/4.632, allocations: 3.298 MB / 2.03 GB, free: 55.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/4.633, allocations: 1.123 MB / 2.031 GB, free: 54.83 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001982/4.635, allocations: 0.8029 MB / 2.031 GB, free: 54.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/4.635, allocations: 165.8 kB / 2.032 GB, free: 54.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.102e-06/4.635, allocations: 0 / 2.032 GB, free: 54.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.05027/4.686, allocations: 35.86 MB / 2.067 GB, free: 52.73 MB / 0.6198 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)