Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.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.0008901/0.0008901, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009006/0.0009006, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 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.9225/0.9225, allocations: 177.1 MB / 203.8 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.633/0.633, allocations: 118.7 MB / 378.9 MB, free: 1.336 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|conductionElement.h|pump.m_flow|reservoir.M|reservoir.U_med|reservoir.m_flow_in|reservoir.m_flow_out|reservoir1.M|reservoir1.U_med",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.078e-05/1.214e-05, allocations: 2.312 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.007638/0.00765, allocations: 10.36 MB / 441.2 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1622/0.1698, allocations: 3.169 MB / 444.3 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009447/0.1708, allocations: 61.03 kB / 444.4 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.1713, allocations: 254 kB / 444.6 MB, free: 16.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.173, allocations: 1.034 MB / 445.7 MB, free: 16.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.174, allocations: 0.628 MB / 446.3 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001793/0.1758, allocations: 2.273 MB / 448.6 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.176, allocations: 164.7 kB / 448.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.1775, allocations: 1.218 MB / 450 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006952/0.1782, allocations: 0.6006 MB / 450.6 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.1783, allocations: 96.06 kB / 450.7 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005494/0.1789, allocations: 334.8 kB / 451 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.1791, allocations: 271.8 kB / 451.2 MB, free: 15.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003831/0.1794, allocations: 480 kB / 451.7 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.1806, allocations: 1.321 MB / 453 MB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1806, allocations: 4.5 kB / 453 MB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.1806, allocations: 0 / 453 MB, free: 14.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.1806, allocations: 0 / 453 MB, free: 14.84 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001667/0.1822, allocations: 1.634 MB / 454.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.1823, allocations: 10.19 kB / 454.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.1828, allocations: 262 kB / 454.9 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008741/0.1837, allocations: 0.7763 MB / 455.7 MB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/0.1837, allocations: 127.2 kB / 455.8 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.576e-05/0.1838, allocations: 96.56 kB / 455.9 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006787/0.1845, allocations: 1.089 MB / 457 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1845, allocations: 4.812 kB / 457 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.1846, allocations: 40.91 kB / 457.1 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.1846, allocations: 19.62 kB / 457.1 MB, free: 12.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.185, allocations: 356.2 kB / 457.4 MB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002255/0.1872, allocations: 2.642 MB / 460.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.1879, allocations: 0.6267 MB / 460.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.1881, allocations: 203.2 kB / 460.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.1892, allocations: 0.982 MB / 461.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.1892, allocations: 50.09 kB / 461.9 MB, free: 9.969 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 1.843e-06/0.1892, allocations: 0.7812 kB / 461.9 MB, free: 9.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.003362/0.1925, allocations: 2.467 MB / 464.4 MB, free: 7.512 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.764e-05/0.1926, allocations: 86.11 kB / 464.5 MB, free: 7.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.1929, allocations: 0.7357 MB / 465.2 MB, free: 6.789 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.1929, allocations: 45.7 kB / 465.3 MB, free: 6.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.193, allocations: 385.4 kB / 465.6 MB, free: 6.398 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.1932, allocations: 413.9 kB / 466 MB, free: 6.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.1933, allocations: 193.6 kB / 466.2 MB, free: 5.848 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.443e-05/0.1934, allocations: 349.9 kB / 466.6 MB, free: 5.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1935, allocations: 132.1 kB / 466.7 MB, free: 5.395 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.1937, allocations: 336.6 kB / 467 MB, free: 5.016 MB / 410.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: conductionElement.deltaE_system = $START.conductionElement.deltaE_system (0.0 = $START.conductionElement.deltaE_system) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004551/0.1942, allocations: 0.5923 MB / 467.6 MB, free: 4.398 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1942, allocations: 3.938 kB / 467.6 MB, free: 4.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0008984/0.1951, allocations: 0.8377 MB / 468.5 MB, free: 3.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.1951, allocations: 8 kB / 468.5 MB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003611/0.1954, allocations: 342.4 kB / 468.8 MB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005689/0.196, allocations: 305.2 kB / 469.1 MB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.1964, allocations: 202.7 kB / 469.3 MB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/0.2006, allocations: 10.17 MB / 479.5 MB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.201, allocations: 31.98 kB / 479.5 MB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/0.201, allocations: 39.98 kB / 479.5 MB, free: 7.938 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: conductionElement.deltaE_system = $START.conductionElement.deltaE_system. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (115): * Single equations (assignments): 107 * 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%), (2,5,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,6,100.0%), (1,4,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.2012, allocations: 187 kB / 479.7 MB, free: 7.746 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.2014, allocations: 111.9 kB / 479.8 MB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.2026, allocations: 0.9837 MB / 480.8 MB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.2026, allocations: 15.94 kB / 480.8 MB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2026, allocations: 4 kB / 480.8 MB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.2026, allocations: 11.97 kB / 480.9 MB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.2044, allocations: 1.446 MB / 482.3 MB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004192/0.2048, allocations: 365.2 kB / 482.7 MB, free: 4.844 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.2051, allocations: 163.8 kB / 482.8 MB, free: 4.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006372/0.2058, allocations: 337.3 kB / 483.1 MB, free: 4.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.2058, allocations: 31.97 kB / 483.2 MB, free: 4.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00469/0.2105, allocations: 10.16 MB / 493.3 MB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2105, allocations: 3.984 kB / 493.3 MB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.2118, allocations: 1.156 MB / 494.5 MB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.212, allocations: 132 kB / 494.6 MB, free: 8.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.85e-05/0.2121, allocations: 28 kB / 494.7 MB, free: 8.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.2124, allocations: 44.03 kB / 494.7 MB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.2125, allocations: 100.8 kB / 494.8 MB, free: 8.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.2126, allocations: 31.97 kB / 494.8 MB, free: 8.031 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002626/0.2128, allocations: 372.6 kB / 495.2 MB, free: 7.699 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2128, allocations: 0 / 495.2 MB, free: 7.699 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008141/0.2137, allocations: 383.9 kB / 495.6 MB, free: 7.324 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (reservoir1.M,reservoir1.U_med,pump.m_flow,conductionElement.h,reservoir.M,reservoir.U_med,flowResistance1.inlet.m_flow,flowResistance2.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 (90): * Single equations (assignments): 82 * 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,6,100.0%), (1,4,100.0%), (1,1,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.0002229/0.2139, allocations: 177.8 kB / 495.7 MB, free: 7.148 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.2151, allocations: 1.567 MB / 497.3 MB, free: 5.512 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.2151, allocations: 8.75 kB / 497.3 MB, free: 5.504 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.2162, allocations: 1.332 MB / 498.7 MB, free: 4.078 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.2173, allocations: 0.5196 MB / 499.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.2201, allocations: 2.262 MB / 0.4897 GB, free: 1.316 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.2202, allocations: 232.2 kB / 0.4899 GB, free: 1.066 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004839/0.2207, allocations: 206 kB / 0.4901 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006744/0.2214, allocations: 425 kB / 0.4905 GB, free: 468 kB / 442.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2214, allocations: 0 / 0.4905 GB, free: 468 kB / 442.7 MB Notification: Performance of Templates: time 0.02832/0.2497, allocations: 26.93 MB / 0.5168 GB, free: 6.176 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.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.030963367316872]