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.0009907/0.0009907, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.002147, 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.0007611/0.0007611, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009042/0.001665, 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.92/0.92, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07708/0.9971, 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/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6293/0.6293, allocations: 118.6 MB / 362.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0527/0.682, allocations: 35.84 MB / 398.4 MB, free: 13.25 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/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_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_ThermofluidStream.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.624e-05, allocations: 2.312 kB / 399.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.007501/0.007518, allocations: 10.43 MB / 410.2 MB, free: 1.48 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.01163, allocations: 3.184 MB / 413.4 MB, free: 14.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005872/0.01222, allocations: 67.38 kB / 413.4 MB, free: 14.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.01265, allocations: 253.7 kB / 413.7 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.01408, allocations: 1.02 MB / 414.7 MB, free: 12.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009649/0.01504, allocations: 0.6154 MB / 415.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.01673, allocations: 2.275 MB / 417.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002746/0.017, allocations: 167.1 kB / 417.7 MB, free: 9.859 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.01853, allocations: 1.333 MB / 419.1 MB, free: 8.523 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006038/0.01914, allocations: 0.6036 MB / 419.7 MB, free: 7.918 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.01926, allocations: 96 kB / 419.8 MB, free: 7.824 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005749/0.01984, allocations: 351.5 kB / 420.1 MB, free: 7.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.01999, allocations: 199.1 kB / 420.3 MB, free: 7.285 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.02041, allocations: 395.2 kB / 420.7 MB, free: 6.898 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001354/0.02176, allocations: 1.238 MB / 421.9 MB, free: 5.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.726e-05/0.02178, allocations: 0 / 421.9 MB, free: 5.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02178, allocations: 0 / 421.9 MB, free: 5.656 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.433e-05/0.02182, allocations: 0 / 421.9 MB, free: 5.656 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.002116/0.02393, allocations: 2.022 MB / 424 MB, free: 3.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.02397, allocations: 8.031 kB / 424 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005754/0.02454, allocations: 264.3 kB / 424.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009131/0.02545, allocations: 0.7793 MB / 425 MB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.02553, allocations: 118 kB / 425.1 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/0.02562, allocations: 100.3 kB / 425.2 MB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008163/0.02644, allocations: 1.091 MB / 426.3 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.02646, allocations: 7.938 kB / 426.3 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.851e-05/0.02651, allocations: 36 kB / 426.4 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.02652, allocations: 20 kB / 426.4 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004229/0.02694, allocations: 351.3 kB / 426.7 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1665/0.1935, allocations: 2.633 MB / 429.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008792/0.1944, allocations: 0.6401 MB / 430 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.1946, allocations: 198.5 kB / 430.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.1958, allocations: 0.9948 MB / 431.2 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1958, allocations: 47.94 kB / 431.2 MB, free: 9.723 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 2.685e-06/0.1958, allocations: 0 / 431.2 MB, free: 9.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.003903/0.1998, allocations: 2.465 MB / 433.7 MB, free: 9.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.1998, allocations: 97.06 kB / 433.8 MB, free: 9.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.2003, allocations: 0.7229 MB / 434.5 MB, free: 9.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.2003, allocations: 49.45 kB / 434.6 MB, free: 9.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/0.2005, allocations: 384.9 kB / 434.9 MB, free: 8.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.2006, allocations: 415.3 kB / 435.3 MB, free: 8.617 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.2008, allocations: 193.5 kB / 435.5 MB, free: 8.598 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.2008, allocations: 352.4 kB / 435.9 MB, free: 8.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.201, allocations: 132 kB / 436 MB, free: 8.289 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.2013, allocations: 334.9 kB / 436.3 MB, free: 8.105 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.0005555/0.2018, allocations: 0.5951 MB / 436.9 MB, free: 7.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.2018, allocations: 1.656 kB / 436.9 MB, free: 7.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0009938/0.2028, allocations: 0.8315 MB / 437.8 MB, free: 7.777 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2028, allocations: 6.969 kB / 437.8 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003604/0.2032, allocations: 344 kB / 438.1 MB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.2038, allocations: 314.3 kB / 438.4 MB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004274/0.2042, allocations: 241.2 kB / 438.6 MB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003489/0.2077, allocations: 10.18 MB / 448.8 MB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.208, allocations: 39.92 kB / 448.9 MB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.2081, allocations: 35.53 kB / 448.9 MB, free: 14.35 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.0002154/0.2083, allocations: 191 kB / 449.1 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.2084, allocations: 116.5 kB / 449.2 MB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.2095, allocations: 0.9785 MB / 450.2 MB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.2095, allocations: 15.95 kB / 450.2 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.2095, allocations: 3.875 kB / 450.2 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.2095, allocations: 6.156 kB / 450.2 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.2111, allocations: 1.457 MB / 451.7 MB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003564/0.2115, allocations: 353 kB / 452 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.2119, allocations: 209.7 kB / 452.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.2121, allocations: 135.1 kB / 452.3 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005985/0.2127, allocations: 344.8 kB / 452.7 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.2128, allocations: 32.16 kB / 452.7 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/0.2171, allocations: 10.19 MB / 462.9 MB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.2171, allocations: 0 / 462.9 MB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.2183, allocations: 1.161 MB / 464.1 MB, free: 2.871 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.2184, allocations: 25.56 kB / 464.1 MB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.2187, allocations: 43.17 kB / 464.1 MB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.2189, allocations: 98.45 kB / 464.2 MB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.2189, allocations: 26.86 kB / 464.2 MB, free: 2.738 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002494/0.2191, allocations: 376.6 kB / 464.6 MB, free: 2.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2191, allocations: 0.5469 kB / 464.6 MB, free: 2.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007679/0.2199, allocations: 389.2 kB / 465 MB, free: 2.082 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.0002362/0.2201, allocations: 177.8 kB / 465.2 MB, free: 1.934 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.2216, allocations: 1.566 MB / 466.7 MB, free: 392 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.8e-05/0.2216, allocations: 24.64 kB / 466.8 MB, free: 368 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000834/0.2224, allocations: 1.327 MB / 468.1 MB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.2236, allocations: 0.6303 MB / 468.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.2372, allocations: 2.318 MB / 471 MB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.2374, allocations: 246.9 kB / 471.3 MB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005838/0.238, allocations: 211.5 kB / 471.5 MB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/0.2387, allocations: 429.7 kB / 471.9 MB, free: 11.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/0.2387, allocations: 0 / 471.9 MB, free: 11.48 MB / 442.7 MB Notification: Performance of Templates: time 0.03137/0.2701, allocations: 28.02 MB / 499.9 MB, free: 0.5625 MB / 458.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 -ignoreHideResult -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.058592504821718]