Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.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.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") translateModel(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|crossFlowNTU.h_out_A|crossFlowNTU.h_out_B|mCV.dp_int|mCV1.dp_int|sourceA.outlet.m_flow|sourceB.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, 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.445/1.445, allocations: 221.4 MB / 234.6 MB, free: 14.4 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.001005/0.001006, allocations: 90.27 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.01568/0.01568, allocations: 1.554 MB / 338.1 MB, free: 8.469 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6629/0.6629, 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 6.003e-05/6.024e-05, allocations: 4 kB / 0.5445 GB, free: 7.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1606, allocations: 69.35 MB / 0.6122 GB, free: 2.539 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.659/2.82, allocations: 0.7557 GB / 1.368 GB, free: 172.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/2.821, allocations: 79.58 kB / 1.368 GB, free: 172.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.975/4.796, allocations: 476.8 MB / 1.834 GB, free: 94.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.232e-06/4.796, allocations: 0 / 1.834 GB, free: 94.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001571/4.796, allocations: 36.48 kB / 1.834 GB, free: 94.75 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.00708/4.803, allocations: 1.927 MB / 1.836 GB, free: 94.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/4.803, allocations: 14.5 kB / 1.836 GB, free: 94.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/4.805, allocations: 241.2 kB / 1.836 GB, free: 94.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/4.807, allocations: 0.5649 MB / 1.836 GB, free: 93.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/4.807, allocations: 194 kB / 1.837 GB, free: 93.78 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/4.808, allocations: 86.97 kB / 1.837 GB, free: 93.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/4.81, allocations: 0.8874 MB / 1.838 GB, free: 93.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/4.81, allocations: 0 / 1.838 GB, free: 93.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/4.81, allocations: 37.41 kB / 1.838 GB, free: 93.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/4.81, allocations: 19.5 kB / 1.838 GB, free: 93.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/4.811, allocations: 0.6743 MB / 1.838 GB, free: 93.67 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004887/4.816, allocations: 3.619 MB / 1.842 GB, free: 91.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/4.818, allocations: 0.8065 MB / 1.843 GB, free: 91.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/4.818, allocations: 372.3 kB / 1.843 GB, free: 91.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007631/4.819, allocations: 1.384 MB / 1.844 GB, free: 90.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/4.819, allocations: 42.03 kB / 1.844 GB, free: 90.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 3.566e-06/4.819, allocations: 0 / 1.844 GB, free: 90.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83): time 0.002873/4.822, allocations: 1.086 MB / 1.845 GB, free: 89.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/4.822, allocations: 59.56 kB / 1.845 GB, free: 89.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/4.823, allocations: 425.8 kB / 1.846 GB, free: 89.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/4.823, allocations: 40.33 kB / 1.846 GB, free: 89.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/4.823, allocations: 387.2 kB / 1.846 GB, free: 89.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/4.823, allocations: 280.7 kB / 1.847 GB, free: 89.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.092e-05/4.823, allocations: 13.81 kB / 1.847 GB, free: 89.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001155/4.823, allocations: 382.9 kB / 1.847 GB, free: 89.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004373/4.824, allocations: 265.7 kB / 1.847 GB, free: 89.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/4.824, allocations: 330.7 kB / 1.847 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/4.825, allocations: 286.1 kB / 1.848 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/4.825, allocations: 3.719 kB / 1.848 GB, free: 89.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002472/4.827, allocations: 1.129 MB / 1.849 GB, free: 88.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/4.827, allocations: 5.406 kB / 1.849 GB, free: 88.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/4.827, allocations: 3.812 kB / 1.849 GB, free: 88.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/4.828, allocations: 173.6 kB / 1.849 GB, free: 88.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/4.829, allocations: 201.9 kB / 1.849 GB, free: 88.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/4.833, allocations: 4.643 MB / 1.854 GB, free: 85.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/4.833, allocations: 92.59 kB / 1.854 GB, free: 85.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/4.834, allocations: 65.72 kB / 1.854 GB, free: 85.17 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.000205/4.834, allocations: 137.4 kB / 1.854 GB, free: 85.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/4.834, allocations: 74.09 kB / 1.854 GB, free: 85.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003744/4.838, allocations: 1.735 MB / 1.856 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/4.838, allocations: 10.62 kB / 1.856 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/4.838, allocations: 6.25 kB / 1.856 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/4.838, allocations: 7.125 kB / 1.856 GB, free: 84.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004228/4.842, allocations: 2.295 MB / 1.858 GB, free: 84.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/4.842, allocations: 3.234 kB / 1.858 GB, free: 84.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009302/4.843, allocations: 210.6 kB / 1.858 GB, free: 84.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/4.844, allocations: 175.4 kB / 1.858 GB, free: 84.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/4.844, allocations: 43.14 kB / 1.858 GB, free: 84.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003877/4.848, allocations: 4.632 MB / 1.863 GB, free: 80.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/4.848, allocations: 0 / 1.863 GB, free: 80.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003276/4.851, allocations: 1.667 MB / 1.865 GB, free: 80.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/4.851, allocations: 236.9 kB / 1.865 GB, free: 80.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/4.852, allocations: 28.55 kB / 1.865 GB, free: 80.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/4.852, allocations: 64.31 kB / 1.865 GB, free: 80.28 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/4.852, allocations: 75.86 kB / 1.865 GB, free: 80.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/4.852, allocations: 60.58 kB / 1.865 GB, free: 80.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004004/4.853, allocations: 329.4 kB / 1.865 GB, free: 80.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-07/4.853, allocations: 2.516 kB / 1.865 GB, free: 80.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002267/4.855, allocations: 0.5729 MB / 1.866 GB, free: 80.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceB.inlet.m_flow,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 (83): * Single equations (assignments): 78 * 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.002965/4.858, allocations: 1.415 MB / 1.867 GB, free: 79.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002493/4.861, allocations: 1.282 MB / 1.869 GB, free: 79.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/4.861, allocations: 0 / 1.869 GB, free: 79.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/4.862, allocations: 1.006 MB / 1.87 GB, free: 79.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/4.863, allocations: 181 kB / 1.87 GB, free: 79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/4.867, allocations: 1.597 MB / 1.871 GB, free: 78.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/4.868, allocations: 1.019 MB / 1.872 GB, free: 77.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001621/4.869, allocations: 0.5983 MB / 1.873 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/4.87, allocations: 136 kB / 1.873 GB, free: 77.87 MB / 0.6198 GB Notification: Performance of SimCode: time 1.242e-06/4.87, allocations: 0 / 1.873 GB, free: 77.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.05336/4.923, allocations: 32.71 MB / 1.905 GB, free: 76.88 MB / 0.6198 GB make -j1 -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.makefile (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.sim & ./ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU.pipe 2>&1)