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.01142/0.01142, 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.746/1.746, allocations: 223.2 MB / 239 MB, free: 1.805 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.001115/0.001115, allocations: 99.2 kB / 290.2 MB, free: 13.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.01475/0.01475, allocations: 1.555 MB / 342.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8821/0.8821, allocations: 90.31 MB / 484.7 MB, free: 21.95 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000453/0.000453, allocations: 16.09 kB / 0.5526 GB, free: 30.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2096, allocations: 69.36 MB / 0.6203 GB, free: 5.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.982/2.192, allocations: 0.7558 GB / 1.376 GB, free: 22.73 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/2.192, allocations: 92.67 kB / 1.376 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.779/3.971, allocations: 478.2 MB / 1.843 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.995e-06/3.971, allocations: 0 / 1.843 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.789e-05/3.971, allocations: 27.98 kB / 1.843 GB, free: 24.32 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.006037/3.977, allocations: 2.018 MB / 1.845 GB, free: 22.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/3.977, allocations: 12.03 kB / 1.845 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/3.979, allocations: 242.5 kB / 1.845 GB, free: 22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009953/3.98, allocations: 0.5683 MB / 1.846 GB, free: 21.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002059/3.98, allocations: 204.7 kB / 1.846 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/3.981, allocations: 84 kB / 1.846 GB, free: 21.08 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/3.982, allocations: 0.9836 MB / 1.847 GB, free: 20.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/3.982, allocations: 0 / 1.847 GB, free: 20.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/3.983, allocations: 35.94 kB / 1.847 GB, free: 20.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/3.983, allocations: 28 kB / 1.847 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/3.984, allocations: 0.7846 MB / 1.848 GB, free: 19.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00396/3.988, allocations: 3.649 MB / 1.852 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/3.99, allocations: 0.914 MB / 1.853 GB, free: 14.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006894/3.99, allocations: 1.382 MB / 1.854 GB, free: 12.65 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/3.99, allocations: 43.2 kB / 1.854 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=83): time 2.916e-06/3.99, allocations: 0 / 1.854 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83): time 0.005348/3.996, allocations: 2.388 MB / 1.856 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/3.996, allocations: 60.06 kB / 1.856 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/3.996, allocations: 426.4 kB / 1.857 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/3.996, allocations: 41.7 kB / 1.857 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/3.997, allocations: 388.2 kB / 1.857 GB, free: 9.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/3.997, allocations: 283.8 kB / 1.857 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/3.997, allocations: 12 kB / 1.857 GB, free: 8.887 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001672/3.997, allocations: 386.7 kB / 1.858 GB, free: 8.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/3.998, allocations: 349.8 kB / 1.858 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006903/3.998, allocations: 431.1 kB / 1.859 GB, free: 7.723 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000725/3.999, allocations: 366.9 kB / 1.859 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/3.999, allocations: 0 / 1.859 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003128/4.002, allocations: 1.358 MB / 1.86 GB, free: 5.992 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/4.002, allocations: 7.953 kB / 1.86 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/4.002, allocations: 0 / 1.86 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008557/4.003, allocations: 274.5 kB / 1.86 GB, free: 5.707 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008841/4.004, allocations: 199.8 kB / 1.861 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4595/4.464, allocations: 5.107 MB / 1.866 GB, free: 0 / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/4.465, allocations: 97.02 kB / 1.866 GB, free: 82.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/4.465, allocations: 61.44 kB / 1.866 GB, free: 82.55 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 () * Number of clocked 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.0006116/4.466, allocations: 206.8 kB / 1.866 GB, free: 82.44 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/4.466, allocations: 76.16 kB / 1.866 GB, free: 82.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005373/4.472, allocations: 1.946 MB / 1.868 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/4.472, allocations: 8.188 kB / 1.868 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/4.472, allocations: 5.938 kB / 1.868 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/4.472, allocations: 5.984 kB / 1.868 GB, free: 82.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005349/4.477, allocations: 2.515 MB / 1.87 GB, free: 82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/4.477, allocations: 0 / 1.87 GB, free: 82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/4.478, allocations: 210.8 kB / 1.871 GB, free: 82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007597/4.479, allocations: 280.1 kB / 1.871 GB, free: 81.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.702e-05/4.479, allocations: 43.81 kB / 1.871 GB, free: 81.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005138/4.484, allocations: 5.106 MB / 1.876 GB, free: 78.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/4.484, allocations: 2 kB / 1.876 GB, free: 78.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/4.488, allocations: 1.935 MB / 1.878 GB, free: 77.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003039/4.489, allocations: 159 kB / 1.878 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/4.489, allocations: 21.27 kB / 1.878 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/4.489, allocations: 61.73 kB / 1.878 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/4.49, allocations: 80.84 kB / 1.878 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/4.49, allocations: 54.84 kB / 1.878 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004523/4.49, allocations: 350.8 kB / 1.879 GB, free: 77.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/4.49, allocations: 0 / 1.879 GB, free: 77.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002303/4.493, allocations: 0.5724 MB / 1.879 GB, free: 77.7 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 () * Number of clocked 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.002559/4.495, allocations: 1.389 MB / 1.88 GB, free: 77.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002938/4.498, allocations: 1.442 MB / 1.882 GB, free: 77.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/4.498, allocations: 4.156 kB / 1.882 GB, free: 77.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002069/4.5, allocations: 1.08 MB / 1.883 GB, free: 76.61 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/4.501, allocations: 186.4 kB / 1.883 GB, free: 76.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004719/4.506, allocations: 2.553 MB / 1.886 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/4.507, allocations: 1.014 MB / 1.887 GB, free: 74.92 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002009/4.509, allocations: 0.6058 MB / 1.887 GB, free: 74.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/4.509, allocations: 125.3 kB / 1.887 GB, free: 74.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/4.509, allocations: 0 / 1.887 GB, free: 74.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.0469/4.556, allocations: 29.31 MB / 1.916 GB, free: 74.27 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)