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.001525/0.001525, allocations: 174.7 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.455/1.455, 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.001029/0.001029, allocations: 95.25 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.01092/0.01092, allocations: 1.561 MB / 338 MB, free: 8.465 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6608/0.6608, allocations: 90.04 MB / 479.3 MB, free: 2.957 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.128e-05/4.13e-05, allocations: 4 kB / 0.5445 GB, free: 7.973 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1824, allocations: 69.36 MB / 0.6122 GB, free: 2.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.637/2.819, allocations: 0.7558 GB / 1.368 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/2.819, allocations: 84.94 kB / 1.368 GB, free: 131.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.223/5.042, allocations: 0.5921 GB / 1.96 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.402e-06/5.042, allocations: 0 / 1.96 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001391/5.042, allocations: 39.98 kB / 1.96 GB, free: 4.742 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.007614/5.05, allocations: 2.42 MB / 1.963 GB, free: 2.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/5.05, allocations: 15.92 kB / 1.963 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003012/5.053, allocations: 354 kB / 1.963 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/5.054, allocations: 0.6781 MB / 1.964 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003619/5.055, allocations: 356 kB / 1.964 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004145/5.055, allocations: 119.9 kB / 1.964 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/5.058, allocations: 1.218 MB / 1.965 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/5.058, allocations: 0 / 1.965 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/5.058, allocations: 47.94 kB / 1.965 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/5.058, allocations: 28 kB / 1.965 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/5.06, allocations: 0.9575 MB / 1.966 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007094/5.068, allocations: 4.894 MB / 1.971 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/5.07, allocations: 1.121 MB / 1.972 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008518/5.071, allocations: 0.523 MB / 1.973 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/5.072, allocations: 1.866 MB / 1.975 GB, free: 5.125 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/5.072, allocations: 43.56 kB / 1.975 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=112): time 3.526e-06/5.072, allocations: 4 kB / 1.975 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=112): time 0.004706/5.077, allocations: 1.636 MB / 1.976 GB, free: 3.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/5.077, allocations: 72.34 kB / 1.976 GB, free: 3.328 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007508/5.078, allocations: 483.9 kB / 1.977 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/5.078, allocations: 45.7 kB / 1.977 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/5.078, allocations: 472.3 kB / 1.977 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/5.079, allocations: 390.3 kB / 1.978 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/5.079, allocations: 16 kB / 1.978 GB, free: 1.926 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001519/5.079, allocations: 345.9 kB / 1.978 GB, free: 1.582 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007112/5.08, allocations: 378 kB / 1.978 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008273/5.08, allocations: 471.2 kB / 1.979 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/5.081, allocations: 392.9 kB / 1.979 GB, free: 364 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/5.081, allocations: 0 / 1.979 GB, free: 364 kB / 0.6198 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.4534/5.535, allocations: 1.679 MB / 1.981 GB, free: 76.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/5.535, allocations: 5.672 kB / 1.981 GB, free: 76.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/5.535, allocations: 5.656 kB / 1.981 GB, free: 76.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008646/5.536, allocations: 268.6 kB / 1.981 GB, free: 76.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/5.537, allocations: 291.4 kB / 1.981 GB, free: 76.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/5.544, allocations: 6.434 MB / 1.988 GB, free: 71.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/5.545, allocations: 160.6 kB / 1.988 GB, free: 71.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001927/5.545, allocations: 75.73 kB / 1.988 GB, free: 71.72 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 (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.0002826/5.545, allocations: 153.1 kB / 1.988 GB, free: 71.62 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/5.546, allocations: 97.98 kB / 1.988 GB, free: 71.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006391/5.552, allocations: 2.458 MB / 1.99 GB, free: 71.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/5.552, allocations: 12.47 kB / 1.99 GB, free: 71.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/5.552, allocations: 3 kB / 1.99 GB, free: 71.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/5.552, allocations: 11.11 kB / 1.99 GB, free: 71.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007025/5.559, allocations: 3.222 MB / 1.994 GB, free: 71.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/5.559, allocations: 3.906 kB / 1.994 GB, free: 71.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/5.561, allocations: 299.4 kB / 1.994 GB, free: 71.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007268/5.562, allocations: 267.2 kB / 1.994 GB, free: 70.98 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/5.562, allocations: 54.16 kB / 1.994 GB, free: 70.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00625/5.568, allocations: 6.442 MB / 2 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/5.568, allocations: 3.953 kB / 2 GB, free: 65.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005368/5.573, allocations: 2.365 MB / 2.003 GB, free: 65.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/5.574, allocations: 178.8 kB / 2.003 GB, free: 65.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/5.574, allocations: 26.08 kB / 2.003 GB, free: 65.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008366/5.575, allocations: 113.7 kB / 2.003 GB, free: 65.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/5.575, allocations: 100.9 kB / 2.003 GB, free: 65.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/5.575, allocations: 74.44 kB / 2.003 GB, free: 65.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004636/5.576, allocations: 388.5 kB / 2.004 GB, free: 65.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.384e-06/5.576, allocations: 0 / 2.004 GB, free: 65.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002721/5.579, allocations: 0.7161 MB / 2.004 GB, free: 65.36 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 () * 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.003312/5.582, allocations: 1.638 MB / 2.006 GB, free: 65.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003787/5.586, allocations: 1.851 MB / 2.008 GB, free: 64.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/5.586, allocations: 0 / 2.008 GB, free: 64.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002731/5.588, allocations: 1.428 MB / 2.009 GB, free: 63.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/5.59, allocations: 216.1 kB / 2.009 GB, free: 63.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/5.594, allocations: 2.078 MB / 2.011 GB, free: 63.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007361/5.595, allocations: 1.119 MB / 2.012 GB, free: 62.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002331/5.597, allocations: 0.8031 MB / 2.013 GB, free: 62.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005837/5.598, allocations: 164.8 kB / 2.013 GB, free: 62.74 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/5.598, allocations: 0 / 2.013 GB, free: 62.74 MB / 0.6198 GB Notification: Performance of Templates: time 0.0553/5.653, allocations: 39.7 MB / 2.052 GB, free: 61.58 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)