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.001071/0.001071, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001457/0.002528, 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.001075/0.001075, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002378, 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.9274/0.9274, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.076/1.003, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.6154/0.6154, allocations: 118.7 MB / 362.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0534/0.6688, allocations: 35.84 MB / 398.5 MB, free: 13.36 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.583e-06/1.583e-06, allocations: 0 / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.556e-05, allocations: 2.312 kB / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.01147/0.01148, allocations: 10.43 MB / 410.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006548/0.01803, allocations: 3.188 MB / 413.4 MB, free: 14.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009388/0.01897, allocations: 63.44 kB / 413.5 MB, free: 14.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006292/0.0196, allocations: 257.7 kB / 413.7 MB, free: 14.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.02214, allocations: 1.02 MB / 414.8 MB, free: 13.05 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.02372, allocations: 0.6116 MB / 415.4 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002059/0.02578, allocations: 2.272 MB / 417.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002542/0.02604, allocations: 167.1 kB / 417.8 MB, free: 9.973 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.02733, allocations: 1.345 MB / 419.1 MB, free: 8.625 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.02782, allocations: 0.6036 MB / 419.7 MB, free: 8.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.02792, allocations: 96 kB / 419.8 MB, free: 7.926 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.02842, allocations: 347.6 kB / 420.2 MB, free: 7.586 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.02858, allocations: 199 kB / 420.4 MB, free: 7.391 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003177/0.0289, allocations: 395.2 kB / 420.8 MB, free: 7.004 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.02996, allocations: 1.234 MB / 422 MB, free: 5.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.508e-05/0.02997, allocations: 4 kB / 422 MB, free: 5.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02997, allocations: 0 / 422 MB, free: 5.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.03, allocations: 0 / 422 MB, free: 5.762 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.001822/0.03182, allocations: 2.014 MB / 424 MB, free: 3.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.03185, allocations: 12.03 kB / 424 MB, free: 3.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004316/0.03228, allocations: 268.4 kB / 424.3 MB, free: 3.422 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008318/0.03311, allocations: 0.7793 MB / 425.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.03319, allocations: 122 kB / 425.2 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.999e-05/0.03328, allocations: 96.33 kB / 425.3 MB, free: 2.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.03406, allocations: 1.091 MB / 426.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.03407, allocations: 0 / 426.4 MB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/0.03412, allocations: 40 kB / 426.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.03414, allocations: 24 kB / 426.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.03455, allocations: 351.2 kB / 426.8 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1661/0.2006, allocations: 2.632 MB / 429.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008323/0.2014, allocations: 0.6391 MB / 430 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.2017, allocations: 196.8 kB / 430.2 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.2029, allocations: 0.9901 MB / 431.2 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2029, allocations: 46.44 kB / 431.3 MB, free: 9.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 2.264e-06/0.2029, allocations: 0 / 431.3 MB, free: 9.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.003896/0.2068, allocations: 2.464 MB / 433.7 MB, free: 9.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.2069, allocations: 95.03 kB / 433.8 MB, free: 9.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.2073, allocations: 0.727 MB / 434.6 MB, free: 9.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.2074, allocations: 45.48 kB / 434.6 MB, free: 9.035 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.2075, allocations: 391.3 kB / 435 MB, free: 8.855 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.2077, allocations: 412 kB / 435.4 MB, free: 8.602 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.2078, allocations: 191.8 kB / 435.6 MB, free: 8.582 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.2079, allocations: 352.4 kB / 435.9 MB, free: 8.277 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.208, allocations: 134.3 kB / 436 MB, free: 8.273 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.2083, allocations: 333.9 kB / 436.4 MB, free: 8.09 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.0005618/0.2088, allocations: 0.594 MB / 437 MB, free: 7.891 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2088, allocations: 1.469 kB / 437 MB, free: 7.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0009299/0.2098, allocations: 0.832 MB / 437.8 MB, free: 7.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2098, allocations: 9.562 kB / 437.8 MB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003562/0.2101, allocations: 344.1 kB / 438.1 MB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005717/0.2107, allocations: 317.7 kB / 438.5 MB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.2111, allocations: 240.8 kB / 438.7 MB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/0.2146, allocations: 10.19 MB / 448.9 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.2149, allocations: 33.39 kB / 448.9 MB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.426e-05/0.2149, allocations: 35.75 kB / 448.9 MB, free: 14.34 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.0001984/0.2151, allocations: 186.4 kB / 449.1 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.2153, allocations: 121 kB / 449.2 MB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.2163, allocations: 0.9895 MB / 450.2 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.505e-06/0.2164, allocations: 15.34 kB / 450.2 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2164, allocations: 2.594 kB / 450.3 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2164, allocations: 9.984 kB / 450.3 MB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.2181, allocations: 1.444 MB / 451.7 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003849/0.2185, allocations: 362.6 kB / 452.1 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.2189, allocations: 206.7 kB / 452.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.2191, allocations: 139.7 kB / 452.4 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005682/0.2196, allocations: 341.6 kB / 452.7 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.2197, allocations: 28.53 kB / 452.8 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00407/0.2237, allocations: 10.19 MB / 462.9 MB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2237, allocations: 3.906 kB / 462.9 MB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.2249, allocations: 1.155 MB / 464.1 MB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-05/0.225, allocations: 24.69 kB / 464.1 MB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.2253, allocations: 50.59 kB / 464.2 MB, free: 3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.2255, allocations: 93.25 kB / 464.3 MB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.2255, allocations: 35.59 kB / 464.3 MB, free: 2.902 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002358/0.2257, allocations: 371.3 kB / 464.7 MB, free: 2.586 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2257, allocations: 0 / 464.7 MB, free: 2.586 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000863/0.2266, allocations: 390.1 kB / 465 MB, free: 2.246 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.000227/0.2268, allocations: 175.6 kB / 465.2 MB, free: 2.098 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.228, allocations: 1.569 MB / 466.8 MB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.612e-05/0.228, allocations: 23.86 kB / 466.8 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.2288, allocations: 1.33 MB / 468.1 MB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.2299, allocations: 0.6259 MB / 468.8 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.2433, allocations: 2.32 MB / 471.1 MB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.2435, allocations: 242.9 kB / 471.3 MB, free: 12.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005302/0.244, allocations: 213 kB / 471.5 MB, free: 12.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006725/0.2447, allocations: 429.1 kB / 471.9 MB, free: 11.64 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2447, allocations: 2.516 kB / 472 MB, free: 11.64 MB / 442.7 MB Notification: Performance of Templates: time 0.02767/0.2724, allocations: 28.02 MB / 500 MB, free: 0.7109 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.002532796002924]