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.001466/0.001466, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.001069, allocations: 97.84 kB / 280.5 MB, free: 5.305 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.009824/0.009824, allocations: 1.571 MB / 332.8 MB, free: 13.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7802/0.7802, allocations: 90.05 MB / 474 MB, free: 13.01 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.581e-05, allocations: 0 / 0.5375 GB, free: 33.1 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1571, allocations: 69.36 MB / 0.6052 GB, free: 108 kB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.923/2.08, allocations: 0.7551 GB / 1.36 GB, free: 42.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/2.08, allocations: 87.83 kB / 1.36 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.789/3.869, allocations: 472.9 MB / 1.822 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/3.869, allocations: 4 kB / 1.822 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.332e-05/3.869, allocations: 27.75 kB / 1.822 GB, free: 55.87 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.005796/3.875, allocations: 1.919 MB / 1.824 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/3.875, allocations: 16.03 kB / 1.824 GB, free: 53.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/3.877, allocations: 242.4 kB / 1.824 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009167/3.878, allocations: 0.5542 MB / 1.825 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/3.878, allocations: 168.7 kB / 1.825 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/3.878, allocations: 55.89 kB / 1.825 GB, free: 52.83 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009629/3.879, allocations: 0.6131 MB / 1.826 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/3.88, allocations: 0.7729 MB / 1.826 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/3.88, allocations: 3.938 kB / 1.826 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.119e-05/3.88, allocations: 0 / 1.826 GB, free: 51.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/3.88, allocations: 20 kB / 1.826 GB, free: 51.4 MB / 0.6042 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.003762/3.884, allocations: 3.462 MB / 1.83 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/3.885, allocations: 0.7483 MB / 1.831 GB, free: 46.94 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004018/3.886, allocations: 351.7 kB / 1.831 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008143/3.886, allocations: 1.385 MB / 1.832 GB, free: 44.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/3.886, allocations: 39.34 kB / 1.832 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=83): time 4.268e-06/3.886, allocations: 0 / 1.832 GB, free: 44.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=83): time 0.002858/3.889, allocations: 1.072 MB / 1.833 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/3.889, allocations: 64.19 kB / 1.833 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/3.89, allocations: 362.3 kB / 1.834 GB, free: 43.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/3.89, allocations: 25.7 kB / 1.834 GB, free: 43.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/3.89, allocations: 396.1 kB / 1.834 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/3.89, allocations: 275.8 kB / 1.834 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/3.89, allocations: 0 / 1.834 GB, free: 42.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001248/3.89, allocations: 382.8 kB / 1.835 GB, free: 42.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/3.891, allocations: 249.5 kB / 1.835 GB, free: 42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/3.891, allocations: 315.3 kB / 1.835 GB, free: 41.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/3.892, allocations: 332.3 kB / 1.836 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/3.892, allocations: 0 / 1.836 GB, free: 41.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002511/3.894, allocations: 1.122 MB / 1.837 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/3.895, allocations: 9.859 kB / 1.837 GB, free: 40.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/3.895, allocations: 3.953 kB / 1.837 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/3.895, allocations: 170.6 kB / 1.837 GB, free: 40.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008377/3.896, allocations: 198.5 kB / 1.837 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00349/3.899, allocations: 4.48 MB / 1.842 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000656/3.9, allocations: 83.38 kB / 1.842 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/3.9, allocations: 63.97 kB / 1.842 GB, free: 34.86 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 () * 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.0001656/3.9, allocations: 112.6 kB / 1.842 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/3.901, allocations: 75.16 kB / 1.842 GB, free: 34.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003815/3.904, allocations: 1.722 MB / 1.844 GB, free: 32.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/3.904, allocations: 8 kB / 1.844 GB, free: 32.92 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/3.904, allocations: 4 kB / 1.844 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/3.904, allocations: 3.984 kB / 1.844 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004005/3.908, allocations: 2.198 MB / 1.846 GB, free: 30.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/3.908, allocations: 4 kB / 1.846 GB, free: 30.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008937/3.909, allocations: 199.8 kB / 1.846 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/3.91, allocations: 178.4 kB / 1.846 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.308e-05/3.91, allocations: 35.92 kB / 1.846 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003368/3.913, allocations: 4.49 MB / 1.85 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/3.913, allocations: 0 / 1.85 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/3.916, allocations: 1.645 MB / 1.852 GB, free: 23.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/3.917, allocations: 236.3 kB / 1.852 GB, free: 23.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/3.917, allocations: 0 / 1.852 GB, free: 23.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/3.917, allocations: 59.81 kB / 1.852 GB, free: 23.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/3.918, allocations: 80.67 kB / 1.852 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/3.918, allocations: 63.97 kB / 1.852 GB, free: 23.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003118/3.918, allocations: 283 kB / 1.853 GB, free: 23.01 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.51e-07/3.918, allocations: 3.938 kB / 1.853 GB, free: 23.01 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00217/3.92, allocations: 0.5184 MB / 1.853 GB, free: 22.49 MB / 0.6042 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.002443/3.923, allocations: 1.574 MB / 1.855 GB, free: 20.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002017/3.925, allocations: 1.224 MB / 1.856 GB, free: 19.64 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/3.925, allocations: 0 / 1.856 GB, free: 19.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00156/3.926, allocations: 0.9563 MB / 1.857 GB, free: 18.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000983/3.927, allocations: 163 kB / 1.857 GB, free: 18.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/3.93, allocations: 1.542 MB / 1.859 GB, free: 16.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/3.93, allocations: 1.017 MB / 1.86 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001297/3.932, allocations: 0.6015 MB / 1.86 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/3.932, allocations: 131.3 kB / 1.86 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of SimCode: time 7.82e-07/3.932, allocations: 4 kB / 1.86 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of Templates: time 0.4815/4.414, allocations: 21.13 MB / 1.881 GB, free: 90.21 MB / 0.6042 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)