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.0009565/0.0009565, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004624/0.00558, 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.0009401/0.0009401, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002226, 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.9202/0.9202, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08935/1.01, 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.6664/0.6664, allocations: 118.7 MB / 362.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06598/0.7324, allocations: 35.83 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.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_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_ThermofluidStream.Undirected.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.777e-06/1.018e-05, allocations: 5.266 kB / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Boundaries.Tests.Reservoir): time 0.007631/0.007641, allocations: 10.91 MB / 410.6 MB, free: 1.012 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003334/0.01098, allocations: 2.575 MB / 413.2 MB, free: 14.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000562/0.01154, allocations: 59.44 kB / 413.3 MB, free: 14.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.01197, allocations: 289.5 kB / 413.6 MB, free: 14.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.01326, allocations: 1.067 MB / 414.6 MB, free: 13.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.01406, allocations: 0.557 MB / 415.2 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.01557, allocations: 2.403 MB / 417.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.01581, allocations: 179.5 kB / 417.8 MB, free: 9.844 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.01703, allocations: 1.401 MB / 419.2 MB, free: 8.441 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.01757, allocations: 0.6386 MB / 419.8 MB, free: 7.801 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.01767, allocations: 103.9 kB / 419.9 MB, free: 7.699 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.01809, allocations: 267.7 kB / 420.2 MB, free: 7.438 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.01824, allocations: 203.1 kB / 420.4 MB, free: 7.238 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003261/0.01857, allocations: 415.1 kB / 420.8 MB, free: 6.832 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.01959, allocations: 1.179 MB / 422 MB, free: 5.648 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.0196, allocations: 0 / 422 MB, free: 5.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.01961, allocations: 0 / 422 MB, free: 5.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.01963, allocations: 0 / 422 MB, free: 5.648 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.001759/0.02139, allocations: 1.975 MB / 423.9 MB, free: 3.621 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.643e-05/0.02141, allocations: 8.031 kB / 423.9 MB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003868/0.0218, allocations: 264.2 kB / 424.2 MB, free: 3.355 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008628/0.02266, allocations: 0.7907 MB / 425 MB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.0227, allocations: 70.38 kB / 425.1 MB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.971e-05/0.02279, allocations: 100.3 kB / 425.2 MB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008214/0.02361, allocations: 0.9973 MB / 426.1 MB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.02363, allocations: 192 / 426.1 MB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.02368, allocations: 39.94 kB / 426.2 MB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.02369, allocations: 24 kB / 426.2 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.02409, allocations: 373.4 kB / 426.6 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.195/0.2191, allocations: 2.444 MB / 429 MB, free: 19.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.2201, allocations: 0.6601 MB / 429.7 MB, free: 19.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.2203, allocations: 208.9 kB / 429.9 MB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/0.222, allocations: 1.021 MB / 430.9 MB, free: 18.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.222, allocations: 48.84 kB / 431 MB, free: 18.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 2.925e-06/0.222, allocations: 0 / 431 MB, free: 18.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=122): time 0.004921/0.2269, allocations: 2.594 MB / 433.5 MB, free: 18.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.2269, allocations: 91.23 kB / 433.6 MB, free: 18.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.2275, allocations: 0.677 MB / 434.3 MB, free: 18.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.2275, allocations: 50.89 kB / 434.4 MB, free: 18.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.2277, allocations: 386.3 kB / 434.7 MB, free: 17.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.2279, allocations: 440.6 kB / 435.2 MB, free: 17.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.2281, allocations: 203.4 kB / 435.4 MB, free: 17.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.2282, allocations: 350.8 kB / 435.7 MB, free: 17.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.2284, allocations: 128.5 kB / 435.8 MB, free: 17.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.2287, allocations: 337 kB / 436.2 MB, free: 17.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.2293, allocations: 0.599 MB / 436.8 MB, free: 16.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2293, allocations: 1.531 kB / 436.8 MB, free: 16.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001085/0.2304, allocations: 0.8091 MB / 437.6 MB, free: 16.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.2304, allocations: 6.375 kB / 437.6 MB, free: 16.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2304, allocations: 7.719 kB / 437.6 MB, free: 16.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/0.231, allocations: 284.4 kB / 437.9 MB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.2316, allocations: 262.6 kB / 438.1 MB, free: 16.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003445/0.2351, allocations: 9.875 MB / 448 MB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.2355, allocations: 37.92 kB / 448 MB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.2355, allocations: 35.81 kB / 448.1 MB, free: 7.531 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.0001982/0.2357, allocations: 191.4 kB / 448.3 MB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.2359, allocations: 113.9 kB / 448.4 MB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.2372, allocations: 1.172 MB / 449.5 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.2372, allocations: 13.41 kB / 449.6 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2372, allocations: 3.844 kB / 449.6 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2373, allocations: 5.438 kB / 449.6 MB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.2389, allocations: 1.543 MB / 451.1 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2389, allocations: 3.969 kB / 451.1 MB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.2393, allocations: 227.3 kB / 451.3 MB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.2395, allocations: 133.3 kB / 451.5 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004708/0.2399, allocations: 309.4 kB / 451.8 MB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/0.24, allocations: 32.55 kB / 451.8 MB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003087/0.2431, allocations: 9.873 MB / 461.7 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2431, allocations: 0.6562 kB / 461.7 MB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.2442, allocations: 1.134 MB / 462.8 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.2443, allocations: 28.83 kB / 462.8 MB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.2446, allocations: 41.73 kB / 462.9 MB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.2447, allocations: 108.9 kB / 463 MB, free: 10.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.2447, allocations: 32.48 kB / 463 MB, free: 10.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002285/0.2449, allocations: 366.6 kB / 463.4 MB, free: 9.988 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2449, allocations: 0 / 463.4 MB, free: 9.988 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006718/0.2456, allocations: 375.7 kB / 463.7 MB, free: 9.625 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.0001927/0.2458, allocations: 144.3 kB / 463.9 MB, free: 9.484 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.2469, allocations: 1.534 MB / 465.4 MB, free: 7.875 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.491e-05/0.247, allocations: 24.08 kB / 465.4 MB, free: 7.852 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008377/0.2478, allocations: 1.327 MB / 466.8 MB, free: 6.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.2489, allocations: 0.5986 MB / 467.4 MB, free: 5.859 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.2623, allocations: 2.293 MB / 469.7 MB, free: 3.562 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.2624, allocations: 236.1 kB / 469.9 MB, free: 3.312 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005077/0.263, allocations: 220.3 kB / 470.1 MB, free: 3.137 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/0.2636, allocations: 423 kB / 470.5 MB, free: 2.715 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2636, allocations: 4 kB / 470.5 MB, free: 2.711 MB / 426.7 MB Notification: Performance of Templates: time 0.03489/0.2985, allocations: 27.33 MB / 497.8 MB, free: 7.996 MB / 458.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 -emit_protected -ignoreHideResult -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.151305201463401]