Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.000725/0.000725, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001057/0.001782, allocations: 440 kB / 10.41 MB, free: 284 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.0006691/0.0006691, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008693/0.001538, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8711/0.8711, allocations: 177.2 MB / 189.7 MB, free: 5.219 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08357/0.9547, allocations: 53.66 MB / 243.4 MB, free: 15.48 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.643/0.643, allocations: 118.8 MB / 362.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05879/0.7018, allocations: 35.84 MB / 398.8 MB, free: 13.18 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.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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_dev_ThermofluidStream.Boundaries.Tests.Reservoir") translateModel(ThermofluidStream.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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_dev_ThermofluidStream.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 400.1 MB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.197e-06/1.049e-05, allocations: 2.312 kB / 400.1 MB, free: 11.86 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.007253/0.007263, allocations: 10.44 MB / 410.5 MB, free: 1.375 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00409/0.01135, allocations: 3.191 MB / 413.7 MB, free: 14.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.01194, allocations: 63.44 kB / 413.8 MB, free: 14.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003968/0.01234, allocations: 261.6 kB / 414 MB, free: 13.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.01372, allocations: 1.016 MB / 415 MB, free: 12.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.01469, allocations: 0.6192 MB / 415.7 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.01653, allocations: 2.268 MB / 417.9 MB, free: 9.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.01679, allocations: 167.2 kB / 418.1 MB, free: 9.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.01827, allocations: 1.349 MB / 419.4 MB, free: 8.398 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005872/0.01886, allocations: 0.5958 MB / 420 MB, free: 7.801 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.977e-05/0.01896, allocations: 96 kB / 420.1 MB, free: 7.707 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005281/0.01949, allocations: 351.6 kB / 420.5 MB, free: 7.363 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.01964, allocations: 195.1 kB / 420.7 MB, free: 7.172 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.01993, allocations: 399.1 kB / 421 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.02094, allocations: 1.238 MB / 422.3 MB, free: 5.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.02095, allocations: 0 / 422.3 MB, free: 5.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.02095, allocations: 0 / 422.3 MB, free: 5.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.02096, allocations: 0 / 422.3 MB, free: 5.539 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.001824/0.02279, allocations: 2.022 MB / 424.3 MB, free: 3.465 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.02281, allocations: 12.03 kB / 424.3 MB, free: 3.453 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004207/0.02323, allocations: 260.3 kB / 424.6 MB, free: 3.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008027/0.02404, allocations: 0.7716 MB / 425.3 MB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.02411, allocations: 118 kB / 425.5 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.0242, allocations: 104.3 kB / 425.6 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007469/0.02495, allocations: 1.091 MB / 426.7 MB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.02497, allocations: 4 kB / 426.7 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/0.02501, allocations: 40 kB / 426.7 MB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.02503, allocations: 27.98 kB / 426.7 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003879/0.02542, allocations: 355.2 kB / 427.1 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1717/0.1972, allocations: 2.624 MB / 429.7 MB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.1983, allocations: 0.6371 MB / 430.3 MB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.1985, allocations: 194.3 kB / 430.5 MB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/0.2001, allocations: 0.9882 MB / 431.5 MB, free: 18.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2001, allocations: 51.42 kB / 431.6 MB, free: 18.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 2.755e-06/0.2001, allocations: 0 / 431.6 MB, free: 18.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.005741/0.2059, allocations: 2.692 MB / 434.3 MB, free: 17.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.2059, allocations: 92.14 kB / 434.3 MB, free: 17.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006129/0.2065, allocations: 0.7195 MB / 435.1 MB, free: 17.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.2066, allocations: 50.41 kB / 435.1 MB, free: 17.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.2067, allocations: 388.4 kB / 435.5 MB, free: 17.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/0.2069, allocations: 412.4 kB / 435.9 MB, free: 17.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.2072, allocations: 192 kB / 436.1 MB, free: 17.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.2072, allocations: 353.4 kB / 436.4 MB, free: 16.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.2075, allocations: 135.3 kB / 436.6 MB, free: 16.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.2078, allocations: 333 kB / 436.9 MB, free: 16.64 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.0006946/0.2085, allocations: 0.614 MB / 437.5 MB, free: 16.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.2085, allocations: 2.812 kB / 437.5 MB, free: 16.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001201/0.2097, allocations: 0.8327 MB / 438.3 MB, free: 16.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2097, allocations: 6.812 kB / 438.3 MB, free: 16.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004668/0.2101, allocations: 344.5 kB / 438.7 MB, free: 16.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007755/0.2109, allocations: 308.8 kB / 439 MB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.2115, allocations: 245.6 kB / 439.2 MB, free: 16.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003887/0.2154, allocations: 10.19 MB / 449.4 MB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.2158, allocations: 38.25 kB / 449.4 MB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/0.2159, allocations: 33.17 kB / 449.5 MB, free: 6.883 MB / 410.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.0002103/0.2161, allocations: 184.1 kB / 449.7 MB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.2163, allocations: 121.2 kB / 449.8 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.2176, allocations: 0.985 MB / 450.8 MB, free: 6.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.2176, allocations: 20.73 kB / 450.8 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2176, allocations: 3.938 kB / 450.8 MB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.2176, allocations: 9.266 kB / 450.8 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.2195, allocations: 1.451 MB / 452.2 MB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004456/0.2199, allocations: 361.3 kB / 452.6 MB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/0.2205, allocations: 202.4 kB / 452.8 MB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.2207, allocations: 138.1 kB / 452.9 MB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007291/0.2214, allocations: 341.9 kB / 453.3 MB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.2215, allocations: 34.59 kB / 453.3 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/0.2264, allocations: 10.19 MB / 463.5 MB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.2264, allocations: 0.7656 kB / 463.5 MB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.2279, allocations: 1.158 MB / 464.6 MB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.228, allocations: 27.98 kB / 464.7 MB, free: 8.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.2285, allocations: 44.47 kB / 464.7 MB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/0.2287, allocations: 96.91 kB / 464.8 MB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-05/0.2287, allocations: 35.97 kB / 464.8 MB, free: 8.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003331/0.2291, allocations: 368 kB / 465.2 MB, free: 8.172 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2291, allocations: 0 / 465.2 MB, free: 8.172 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001073/0.2301, allocations: 393.3 kB / 465.6 MB, free: 7.789 MB / 426.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.0002885/0.2304, allocations: 175.4 kB / 465.8 MB, free: 7.617 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.2319, allocations: 1.576 MB / 467.3 MB, free: 5.977 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-05/0.232, allocations: 20.66 kB / 467.3 MB, free: 5.957 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.2334, allocations: 1.394 MB / 468.7 MB, free: 4.496 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.2358, allocations: 3.239 MB / 472 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/0.254, allocations: 2.295 MB / 474.3 MB, free: 14.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.2543, allocations: 250.9 kB / 474.5 MB, free: 14.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006449/0.2549, allocations: 208.5 kB / 474.7 MB, free: 13.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008659/0.2558, allocations: 441 kB / 475.2 MB, free: 13.49 MB / 442.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2558, allocations: 0 / 475.2 MB, free: 13.49 MB / 442.7 MB Notification: Performance of Templates: time 0.0368/0.2926, allocations: 28.19 MB / 0.4916 GB, free: 1.953 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.Reservoir_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.Reservoir_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9973813639953732]