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/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.001081/0.001081, 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.001262/0.001262, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.7298/0.7298, allocations: 118.7 MB / 378.9 MB, free: 1.352 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.Undirected.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.365e-05, allocations: 6.25 kB / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.01398/0.01401, allocations: 10.89 MB / 441.8 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.216/0.23, allocations: 2.552 MB / 444.3 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.2314, allocations: 65.58 kB / 444.4 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.2327, allocations: 280.5 kB / 444.6 MB, free: 16.34 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002335/0.2351, allocations: 1.064 MB / 445.7 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.2363, allocations: 0.5609 MB / 446.3 MB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002559/0.2388, allocations: 2.395 MB / 448.7 MB, free: 15.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.2392, allocations: 173.2 kB / 448.8 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.2414, allocations: 1.296 MB / 450.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.2424, allocations: 0.6482 MB / 450.8 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002411/0.2427, allocations: 98.47 kB / 450.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006947/0.2434, allocations: 267 kB / 451.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.2436, allocations: 281.9 kB / 451.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000603/0.2442, allocations: 498.3 kB / 451.9 MB, free: 15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.2458, allocations: 1.257 MB / 453.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2458, allocations: 0 / 453.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2458, allocations: 0.625 kB / 453.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.107e-05/0.2458, allocations: 2.156 kB / 453.2 MB, free: 14.8 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.002282/0.2481, allocations: 1.593 MB / 454.7 MB, free: 14.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2482, allocations: 14.19 kB / 454.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005953/0.2487, allocations: 260.7 kB / 455 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.25, allocations: 0.7888 MB / 455.8 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.25, allocations: 70.31 kB / 455.9 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.2501, allocations: 105.9 kB / 456 MB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/0.251, allocations: 0.9928 MB / 457 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.251, allocations: 9.219 kB / 457 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.087e-05/0.2511, allocations: 42.67 kB / 457 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.2511, allocations: 21.72 kB / 457 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.2516, allocations: 372.2 kB / 457.4 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002721/0.2543, allocations: 2.451 MB / 459.9 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/0.2551, allocations: 0.6555 MB / 460.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.2553, allocations: 211 kB / 460.7 MB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.2567, allocations: 1.022 MB / 461.7 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2567, allocations: 48.75 kB / 461.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 2.735e-06/0.2567, allocations: 0 / 461.8 MB, free: 10.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.003942/0.2607, allocations: 2.58 MB / 464.4 MB, free: 7.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.2607, allocations: 101.5 kB / 464.5 MB, free: 7.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/0.2611, allocations: 0.6825 MB / 465.2 MB, free: 6.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.2611, allocations: 49.7 kB / 465.2 MB, free: 6.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2612, allocations: 373.6 kB / 465.6 MB, free: 6.605 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.2614, allocations: 452.4 kB / 466 MB, free: 6.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.2615, allocations: 192.2 kB / 466.2 MB, free: 6.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.844e-05/0.2616, allocations: 361.2 kB / 466.5 MB, free: 5.684 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.2618, allocations: 126.6 kB / 466.7 MB, free: 5.562 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.262, allocations: 337.4 kB / 467 MB, free: 5.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.2624, allocations: 0.5955 MB / 467.6 MB, free: 4.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2624, allocations: 8 kB / 467.6 MB, free: 4.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.0009196/0.2634, allocations: 0.8002 MB / 468.4 MB, free: 3.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.2634, allocations: 11.94 kB / 468.4 MB, free: 3.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2634, allocations: 8.031 kB / 468.4 MB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.264, allocations: 275 kB / 468.7 MB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004788/0.2645, allocations: 242 kB / 468.9 MB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/0.2691, allocations: 9.867 MB / 478.8 MB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007057/0.2698, allocations: 39.98 kB / 478.8 MB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.885e-05/0.2699, allocations: 48.02 kB / 478.9 MB, free: 8.742 MB / 426.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.0003301/0.2702, allocations: 176.4 kB / 479.1 MB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.2704, allocations: 107.9 kB / 479.2 MB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.2718, allocations: 1.182 MB / 480.3 MB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.2718, allocations: 13.55 kB / 480.4 MB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2718, allocations: 4 kB / 480.4 MB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2718, allocations: 3.984 kB / 480.4 MB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.2739, allocations: 1.539 MB / 481.9 MB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2739, allocations: 4 kB / 481.9 MB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004822/0.2744, allocations: 203.7 kB / 482.1 MB, free: 5.609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006529/0.275, allocations: 311.2 kB / 482.4 MB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/0.2751, allocations: 27.98 kB / 482.4 MB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004772/0.2799, allocations: 9.872 MB / 492.3 MB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2799, allocations: 0 / 492.3 MB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.2815, allocations: 1.147 MB / 493.5 MB, free: 9.621 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.2818, allocations: 135.1 kB / 493.6 MB, free: 9.492 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.2819, allocations: 24 kB / 493.6 MB, free: 9.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003436/0.2823, allocations: 39.97 kB / 493.6 MB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.2825, allocations: 104.8 kB / 493.7 MB, free: 9.328 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.2825, allocations: 27.97 kB / 493.8 MB, free: 9.301 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003196/0.2828, allocations: 372.2 kB / 494.1 MB, free: 8.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2828, allocations: 0 / 494.1 MB, free: 8.965 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009876/0.2838, allocations: 363.9 kB / 494.5 MB, free: 8.609 MB / 442.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.0002394/0.2841, allocations: 147 kB / 494.6 MB, free: 8.465 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.2855, allocations: 1.546 MB / 496.2 MB, free: 6.832 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/0.2855, allocations: 12 kB / 496.2 MB, free: 6.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009979/0.2865, allocations: 1.315 MB / 497.5 MB, free: 5.422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.2877, allocations: 499.6 kB / 498 MB, free: 4.957 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/0.2913, allocations: 2.255 MB / 0.4885 GB, free: 2.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.2915, allocations: 240.1 kB / 0.4888 GB, free: 2.418 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007124/0.2922, allocations: 216.8 kB / 0.489 GB, free: 2.246 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007434/0.293, allocations: 415 kB / 0.4894 GB, free: 1.832 MB / 442.7 MB Notification: Performance of SimCode: time 1.703e-06/0.293, allocations: 0 / 0.4894 GB, free: 1.832 MB / 442.7 MB Notification: Performance of Templates: time 0.0337/0.3267, allocations: 26.38 MB / 0.5151 GB, free: 8.023 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.391029471065849]