Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.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.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|reservoir.M|reservoir.U_med|reservoir.m_flow_fore|reservoir.m_flow_rear|reservoir2.M|reservoir2.U_med|reservoir2.m_flow_in|reservoir2.m_flow_out",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 175.1 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.519/1.519, 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.0009236/0.0009235, allocations: 99.7 kB / 285.6 MB, free: 12.99 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.01089/0.01089, allocations: 1.562 MB / 338 MB, free: 8.484 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.7023/0.7023, allocations: 90.04 MB / 479.3 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.216e-05/4.258e-05, allocations: 4 kB / 0.5445 GB, free: 7.977 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2062, allocations: 69.35 MB / 0.6122 GB, free: 2.543 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.809/2.016, allocations: 457.3 MB / 1.059 GB, free: 165 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/2.016, allocations: 90.75 kB / 1.059 GB, free: 165 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.3743/2.39, allocations: 176.9 MB / 1.232 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.683e-06/2.391, allocations: 0 / 1.232 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001377/2.391, allocations: 31.98 kB / 1.232 GB, free: 53.15 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004538/2.395, allocations: 1.445 MB / 1.233 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/2.395, allocations: 15.92 kB / 1.233 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009686/2.396, allocations: 158.5 kB / 1.233 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/2.398, allocations: 0.5802 MB / 1.234 GB, free: 50.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/2.398, allocations: 66 kB / 1.234 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/2.398, allocations: 95.91 kB / 1.234 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/2.4, allocations: 1.008 MB / 1.235 GB, free: 49.67 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/2.4, allocations: 3.953 kB / 1.235 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/2.4, allocations: 44 kB / 1.235 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/2.4, allocations: 20 kB / 1.235 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/2.402, allocations: 0.9492 MB / 1.236 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00768/2.41, allocations: 5.148 MB / 1.241 GB, free: 43.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/2.412, allocations: 1.134 MB / 1.242 GB, free: 41.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006472/2.412, allocations: 0.4909 MB / 1.243 GB, free: 41.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00322/2.415, allocations: 2.801 MB / 1.245 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/2.416, allocations: 47.5 kB / 1.245 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=115): time 2.685e-06/2.416, allocations: 0 / 1.245 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=129): time 0.006999/2.423, allocations: 3.434 MB / 1.249 GB, free: 34.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/2.423, allocations: 94.31 kB / 1.249 GB, free: 34.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006274/2.423, allocations: 467.5 kB / 1.249 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/2.423, allocations: 53.64 kB / 1.249 GB, free: 33.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/2.424, allocations: 380.9 kB / 1.25 GB, free: 33.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/2.424, allocations: 449.4 kB / 1.25 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/2.424, allocations: 24 kB / 1.25 GB, free: 33.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001175/2.424, allocations: 406.7 kB / 1.251 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/2.425, allocations: 386.6 kB / 1.251 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/2.425, allocations: 0.5188 MB / 1.251 GB, free: 31.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/2.426, allocations: 465.2 kB / 1.252 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/2.426, allocations: 0 / 1.252 GB, free: 31.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002511/2.429, allocations: 1.413 MB / 1.253 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/2.429, allocations: 8 kB / 1.253 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/2.429, allocations: 0 / 1.253 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009284/2.43, allocations: 306.7 kB / 1.254 GB, free: 29.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008898/2.43, allocations: 239.7 kB / 1.254 GB, free: 29.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006473/2.437, allocations: 11.17 MB / 1.265 GB, free: 17.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/2.438, allocations: 95.84 kB / 1.265 GB, free: 17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002527/2.438, allocations: 47.98 kB / 1.265 GB, free: 16.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003961/2.439, allocations: 168.7 kB / 1.265 GB, free: 16.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/2.439, allocations: 90.88 kB / 1.265 GB, free: 16.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003372/2.443, allocations: 1.592 MB / 1.267 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/2.443, allocations: 20 kB / 1.267 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/2.443, allocations: 0 / 1.267 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/2.443, allocations: 11.98 kB / 1.267 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004673/2.447, allocations: 2.827 MB / 1.269 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/2.447, allocations: 3.984 kB / 1.269 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009038/2.448, allocations: 235.7 kB / 1.27 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008901/2.449, allocations: 306.6 kB / 1.27 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/2.449, allocations: 43.97 kB / 1.27 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4505/2.9, allocations: 11.17 MB / 1.281 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/2.9, allocations: 9.312 kB / 1.281 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005436/2.905, allocations: 2.205 MB / 1.283 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/2.906, allocations: 158.5 kB / 1.283 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/2.906, allocations: 33.08 kB / 1.283 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008705/2.907, allocations: 99.23 kB / 1.283 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/2.907, allocations: 111.4 kB / 1.283 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/2.907, allocations: 48.95 kB / 1.283 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005726/2.908, allocations: 363.9 kB / 1.284 GB, free: 129 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.3e-07/2.908, allocations: 5.188 kB / 1.284 GB, free: 129 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001987/2.91, allocations: 431.1 kB / 1.284 GB, free: 129 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,boundary_rear.fore.m_flow,boundary_fore.rear.m_flow,reservoir2.M,reservoir2.U_med,source1.outlet.m_flow,sink1.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(2,100.0%) 5,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007456/2.911, allocations: 390.7 kB / 1.285 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003469/2.914, allocations: 2.078 MB / 1.287 GB, free: 128 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/2.914, allocations: 1.312 kB / 1.287 GB, free: 128 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002335/2.916, allocations: 1.618 MB / 1.288 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/2.918, allocations: 256.5 kB / 1.288 GB, free: 127.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00416/2.922, allocations: 1.964 MB / 1.29 GB, free: 126.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008476/2.923, allocations: 1.064 MB / 1.291 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001032/2.924, allocations: 193 kB / 1.292 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/2.924, allocations: 100 kB / 1.292 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of SimCode: time 1.663e-06/2.924, allocations: 0 / 1.292 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.04411/2.969, allocations: 20.23 MB / 1.311 GB, free: 125.5 MB / 0.6042 GB make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile (rm -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1)