Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009558/0.0009558, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009493/0.01045, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001503/0.002741, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9971/0.9971, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1169/1.114, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.7068/0.7068, allocations: 118.7 MB / 362.7 MB, free: 1.285 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05711/0.7639, allocations: 35.83 MB / 398.5 MB, free: 13.36 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.268e-05, allocations: 2.312 kB / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.01198/0.01201, allocations: 10.92 MB / 410.7 MB, free: 1.102 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.01697, allocations: 2.579 MB / 413.3 MB, free: 14.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009168/0.01789, allocations: 63.38 kB / 413.4 MB, free: 14.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005654/0.01845, allocations: 281.6 kB / 413.6 MB, free: 14.17 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001897/0.02035, allocations: 1.055 MB / 414.7 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009836/0.02133, allocations: 0.5532 MB / 415.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001893/0.02323, allocations: 2.403 MB / 417.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.02352, allocations: 179.5 kB / 417.8 MB, free: 9.949 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.0251, allocations: 1.405 MB / 419.2 MB, free: 8.543 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.02567, allocations: 0.6386 MB / 419.9 MB, free: 7.902 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.02578, allocations: 100 kB / 420 MB, free: 7.805 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004808/0.02627, allocations: 271.7 kB / 420.2 MB, free: 7.539 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.02642, allocations: 203.1 kB / 420.4 MB, free: 7.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003462/0.02677, allocations: 415.1 kB / 420.8 MB, free: 6.934 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.0279, allocations: 1.175 MB / 422 MB, free: 5.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.02792, allocations: 0 / 422 MB, free: 5.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.02792, allocations: 0 / 422 MB, free: 5.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.02794, allocations: 0 / 422 MB, free: 5.754 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001858/0.0298, allocations: 1.979 MB / 424 MB, free: 3.723 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.02983, allocations: 12.03 kB / 424 MB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004092/0.03024, allocations: 260.2 kB / 424.3 MB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008585/0.03109, allocations: 0.7946 MB / 425 MB, free: 2.621 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.03114, allocations: 66.38 kB / 425.1 MB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/0.03123, allocations: 108.3 kB / 425.2 MB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008236/0.03205, allocations: 0.9934 MB / 426.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.03207, allocations: 192 / 426.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.949e-05/0.03212, allocations: 43.94 kB / 426.3 MB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.03214, allocations: 28 kB / 426.3 MB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004026/0.03254, allocations: 365.4 kB / 426.6 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1774/0.2099, allocations: 2.446 MB / 429.1 MB, free: 19.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.211, allocations: 0.6598 MB / 429.7 MB, free: 19.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.2112, allocations: 210.8 kB / 429.9 MB, free: 19.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/0.2129, allocations: 1.016 MB / 431 MB, free: 18.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.2129, allocations: 51.28 kB / 431 MB, free: 18.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 3.206e-06/0.2129, allocations: 1.438 kB / 431 MB, free: 18.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.004785/0.2177, allocations: 2.589 MB / 433.6 MB, free: 18.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.2178, allocations: 90.64 kB / 433.7 MB, free: 18.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005934/0.2184, allocations: 0.6819 MB / 434.4 MB, free: 18.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.167e-05/0.2184, allocations: 47.55 kB / 434.4 MB, free: 18.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.2186, allocations: 388.9 kB / 434.8 MB, free: 17.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.2188, allocations: 444.1 kB / 435.2 MB, free: 17.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002077/0.219, allocations: 198 kB / 435.4 MB, free: 17.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.144e-05/0.2191, allocations: 353.4 kB / 435.8 MB, free: 17.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.2193, allocations: 130.3 kB / 435.9 MB, free: 17.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.2196, allocations: 328.2 kB / 436.2 MB, free: 17.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006146/0.2202, allocations: 0.6062 MB / 436.8 MB, free: 17.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2202, allocations: 2.281 kB / 436.8 MB, free: 17.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001038/0.2213, allocations: 0.8058 MB / 437.6 MB, free: 16.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.2213, allocations: 7.75 kB / 437.6 MB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.2213, allocations: 10.28 kB / 437.7 MB, free: 16.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/0.2219, allocations: 281.5 kB / 437.9 MB, free: 16.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.2224, allocations: 261.7 kB / 438.2 MB, free: 16.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003341/0.2257, allocations: 9.877 MB / 448.1 MB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.2262, allocations: 36.48 kB / 448.1 MB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.2262, allocations: 44.14 kB / 448.1 MB, free: 7.668 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (126): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002512/0.2265, allocations: 179 kB / 448.3 MB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.2266, allocations: 115.6 kB / 448.4 MB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.2278, allocations: 1.175 MB / 449.6 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2278, allocations: 13.16 kB / 449.6 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2278, allocations: 2.125 kB / 449.6 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.2278, allocations: 15.67 kB / 449.6 MB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.2295, allocations: 1.544 MB / 451.2 MB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2295, allocations: 3.906 kB / 451.2 MB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.23, allocations: 218.1 kB / 451.4 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.2302, allocations: 130.9 kB / 451.5 MB, free: 6.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/0.2307, allocations: 310.7 kB / 451.8 MB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.2308, allocations: 38.22 kB / 451.9 MB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003548/0.2343, allocations: 9.872 MB / 461.7 MB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.2343, allocations: 4.75 kB / 461.7 MB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.2357, allocations: 1.134 MB / 462.9 MB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.2358, allocations: 27.95 kB / 462.9 MB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003516/0.2361, allocations: 41.02 kB / 462.9 MB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.2363, allocations: 101 kB / 463 MB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.2364, allocations: 37.12 kB / 463.1 MB, free: 10.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000304/0.2367, allocations: 361.5 kB / 463.4 MB, free: 10.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2367, allocations: 0 / 463.4 MB, free: 10.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009733/0.2376, allocations: 383.6 kB / 463.8 MB, free: 9.828 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (reservoir.M,reservoir.U_med,flowResistance1.rear.m_flow,flowResistance2.rear.m_flow,reservoir2.M,reservoir2.U_med,flowResistance4.inlet.m_flow,flowResistance5.inlet.m_flow) * 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 (97): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002381/0.2379, allocations: 140.3 kB / 463.9 MB, free: 9.688 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.2393, allocations: 1.534 MB / 465.5 MB, free: 8.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.225e-05/0.2393, allocations: 19.95 kB / 465.5 MB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000974/0.2403, allocations: 1.325 MB / 466.8 MB, free: 6.648 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.2415, allocations: 0.6012 MB / 467.4 MB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01409/0.2556, allocations: 2.298 MB / 469.7 MB, free: 3.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.2558, allocations: 236.1 kB / 469.9 MB, free: 3.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000744/0.2566, allocations: 219.2 kB / 470.2 MB, free: 3.297 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006626/0.2572, allocations: 415 kB / 470.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of SimCode: time 2.194e-06/0.2572, allocations: 0 / 470.6 MB, free: 2.883 MB / 426.7 MB Notification: Performance of Templates: time 0.03156/0.2888, allocations: 27.34 MB / 497.9 MB, free: 8.152 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Boundaries.Tests.Reservoir_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.289933881722391]