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.001699/0.001699, 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.494/1.494, 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.0009177/0.0009175, allocations: 92.17 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.01264/0.01264, allocations: 1.558 MB / 338 MB, free: 8.473 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6918/0.6918, allocations: 90.04 MB / 479.3 MB, free: 2.969 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.864e-05/4.865e-05, allocations: 7.984 kB / 0.5445 GB, free: 7.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.1797, allocations: 69.35 MB / 0.6122 GB, free: 2.543 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.488/2.668, allocations: 0.7557 GB / 1.368 GB, free: 172.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/2.668, allocations: 80.66 kB / 1.368 GB, free: 172.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.759/4.427, allocations: 476.9 MB / 1.834 GB, free: 96.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.303e-06/4.427, allocations: 0 / 1.834 GB, free: 96.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.024e-05/4.427, allocations: 28.2 kB / 1.834 GB, free: 96.3 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.005147/4.432, allocations: 1.923 MB / 1.836 GB, free: 95.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/4.432, allocations: 11.44 kB / 1.836 GB, free: 95.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/4.434, allocations: 248.4 kB / 1.836 GB, free: 95.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009053/4.435, allocations: 0.5624 MB / 1.836 GB, free: 95.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/4.435, allocations: 192.6 kB / 1.837 GB, free: 95.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/4.435, allocations: 89.38 kB / 1.837 GB, free: 95.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/4.437, allocations: 0.8899 MB / 1.838 GB, free: 95.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/4.437, allocations: 0 / 1.838 GB, free: 95.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-05/4.437, allocations: 33.69 kB / 1.838 GB, free: 95.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/4.437, allocations: 26.41 kB / 1.838 GB, free: 95.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/4.438, allocations: 0.6751 MB / 1.838 GB, free: 95.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003783/4.442, allocations: 3.657 MB / 1.842 GB, free: 93.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/4.443, allocations: 0.8081 MB / 1.843 GB, free: 93.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/4.444, allocations: 370.6 kB / 1.843 GB, free: 93.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000704/4.444, allocations: 1.381 MB / 1.844 GB, free: 91.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/4.444, allocations: 42.06 kB / 1.844 GB, free: 91.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 2.565e-06/4.444, allocations: 0 / 1.844 GB, free: 91.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83): time 0.002649/4.447, allocations: 1.096 MB / 1.845 GB, free: 91.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/4.447, allocations: 59.34 kB / 1.846 GB, free: 91.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004294/4.447, allocations: 418.1 kB / 1.846 GB, free: 91.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/4.447, allocations: 39.27 kB / 1.846 GB, free: 91.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/4.448, allocations: 388.8 kB / 1.846 GB, free: 91.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/4.448, allocations: 282.2 kB / 1.847 GB, free: 90.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/4.448, allocations: 13.62 kB / 1.847 GB, free: 90.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/4.448, allocations: 389 kB / 1.847 GB, free: 90.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/4.448, allocations: 262.2 kB / 1.847 GB, free: 90.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/4.449, allocations: 338.4 kB / 1.848 GB, free: 90.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/4.449, allocations: 284.6 kB / 1.848 GB, free: 90.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/4.449, allocations: 0 / 1.848 GB, free: 90.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.0024/4.452, allocations: 1.126 MB / 1.849 GB, free: 90.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.4e-05/4.452, allocations: 6.938 kB / 1.849 GB, free: 90.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/4.452, allocations: 6.656 kB / 1.849 GB, free: 90.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005447/4.452, allocations: 171.6 kB / 1.849 GB, free: 90.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/4.453, allocations: 197.9 kB / 1.849 GB, free: 90.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/4.457, allocations: 4.637 MB / 1.854 GB, free: 86.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008548/4.458, allocations: 103.6 kB / 1.854 GB, free: 86.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/4.458, allocations: 56.44 kB / 1.854 GB, free: 86.68 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 (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.0001933/4.458, allocations: 144.3 kB / 1.854 GB, free: 86.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/4.458, allocations: 70.78 kB / 1.854 GB, free: 86.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/4.462, allocations: 1.726 MB / 1.856 GB, free: 86.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/4.462, allocations: 12.34 kB / 1.856 GB, free: 86.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/4.462, allocations: 0 / 1.856 GB, free: 86.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/4.462, allocations: 3.797 kB / 1.856 GB, free: 86.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/4.466, allocations: 2.295 MB / 1.858 GB, free: 86.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/4.466, allocations: 6.125 kB / 1.858 GB, free: 86.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009296/4.467, allocations: 206.2 kB / 1.858 GB, free: 86.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/4.468, allocations: 182.5 kB / 1.859 GB, free: 86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/4.468, allocations: 43.91 kB / 1.859 GB, free: 86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003816/4.472, allocations: 4.641 MB / 1.863 GB, free: 82.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/4.472, allocations: 0 / 1.863 GB, free: 82.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003265/4.475, allocations: 1.651 MB / 1.865 GB, free: 81.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/4.475, allocations: 158.6 kB / 1.865 GB, free: 81.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/4.476, allocations: 17.66 kB / 1.865 GB, free: 81.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006825/4.476, allocations: 69.25 kB / 1.865 GB, free: 81.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/4.476, allocations: 77.55 kB / 1.865 GB, free: 81.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/4.477, allocations: 56.97 kB / 1.865 GB, free: 81.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004081/4.477, allocations: 329.4 kB / 1.865 GB, free: 81.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/4.477, allocations: 2.812 kB / 1.865 GB, free: 81.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00243/4.479, allocations: 0.581 MB / 1.866 GB, free: 81.65 MB / 0.6198 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.003026/4.482, allocations: 1.398 MB / 1.867 GB, free: 81.35 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002521/4.485, allocations: 1.295 MB / 1.869 GB, free: 80.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/4.485, allocations: 0 / 1.869 GB, free: 80.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/4.487, allocations: 0.9762 MB / 1.87 GB, free: 80.53 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/4.488, allocations: 196.4 kB / 1.87 GB, free: 80.51 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/4.491, allocations: 1.589 MB / 1.871 GB, free: 80.11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/4.492, allocations: 1.019 MB / 1.872 GB, free: 79.41 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001558/4.493, allocations: 0.6035 MB / 1.873 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004681/4.494, allocations: 129.5 kB / 1.873 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of SimCode: time 1.603e-06/4.494, allocations: 0 / 1.873 GB, free: 79.39 MB / 0.6198 GB Notification: Performance of Templates: time 0.0443/4.538, allocations: 32.58 MB / 1.905 GB, free: 78.3 MB / 0.6198 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)