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.0009251/0.0009251, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009444/0.0009444, allocations: 169.7 kB / 23.27 MB, free: 1.223 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 0.9492/0.9492, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.6817/0.6817, 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.Boundaries.Tests.Reservoir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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="Time|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 2.074e-06/2.074e-06, allocations: 0 / 484.1 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/3.006e-05, allocations: 2.312 kB / 484.1 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.01199/0.01202, allocations: 10.33 MB / 494.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006056/0.01807, allocations: 3.082 MB / 497.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.01977, allocations: 62.28 kB / 497.5 MB, free: 14.84 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008703/0.02064, allocations: 254.6 kB / 497.8 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002872/0.02351, allocations: 1.03 MB / 498.8 MB, free: 14.01 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.02519, allocations: 0.6312 MB / 499.4 MB, free: 13.68 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003731/0.02892, allocations: 2.278 MB / 0.49 GB, free: 12.51 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004752/0.02939, allocations: 153.1 kB / 0.4901 GB, free: 12.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003326/0.03272, allocations: 1.229 MB / 0.4913 GB, free: 11.95 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.03397, allocations: 0.6186 MB / 0.4919 GB, free: 11.75 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.03417, allocations: 101.9 kB / 0.492 GB, free: 11.74 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009855/0.03515, allocations: 330.1 kB / 0.4923 GB, free: 11.46 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.03539, allocations: 273 kB / 0.4926 GB, free: 11.24 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.03593, allocations: 485.7 kB / 0.4931 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.03807, allocations: 1.319 MB / 0.4943 GB, free: 9.707 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.03808, allocations: 4 kB / 0.4943 GB, free: 9.703 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03808, allocations: 0 / 0.4943 GB, free: 9.703 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.0381, allocations: 0 / 0.4943 GB, free: 9.703 MB / 426.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.00252/0.04062, allocations: 1.773 MB / 0.4961 GB, free: 8.059 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.04067, allocations: 8.734 kB / 0.4961 GB, free: 8.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000654/0.04132, allocations: 312.3 kB / 0.4964 GB, free: 7.766 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.0426, allocations: 0.871 MB / 0.4972 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.0427, allocations: 119.4 kB / 0.4973 GB, free: 6.844 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.04281, allocations: 108.9 kB / 0.4975 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.04391, allocations: 1.104 MB / 0.4985 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.04393, allocations: 7.938 kB / 0.4985 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.04399, allocations: 36 kB / 0.4986 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.044, allocations: 20 kB / 0.4986 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.04449, allocations: 395.6 kB / 0.499 GB, free: 5.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003541/0.04804, allocations: 3.607 MB / 0.5025 GB, free: 1.551 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.04905, allocations: 0.7109 MB / 0.5032 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.0493, allocations: 231.7 kB / 0.5034 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001788/0.05109, allocations: 1.35 MB / 0.5047 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.05113, allocations: 53.89 kB / 0.5048 GB, free: 15.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 3.957e-06/0.05113, allocations: 0 / 0.5048 GB, free: 15.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.004163/0.0553, allocations: 2.553 MB / 0.5073 GB, free: 12.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.05534, allocations: 86.11 kB / 0.5073 GB, free: 12.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.05597, allocations: 0.7895 MB / 0.5081 GB, free: 11.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/0.05603, allocations: 49.7 kB / 0.5082 GB, free: 11.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.05633, allocations: 0.5739 MB / 0.5087 GB, free: 10.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/0.05655, allocations: 412.4 kB / 0.5091 GB, free: 10.54 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.05675, allocations: 204.5 kB / 0.5093 GB, free: 10.33 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.05689, allocations: 0.5159 MB / 0.5098 GB, free: 9.809 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.05709, allocations: 158.5 kB / 0.51 GB, free: 9.656 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.05741, allocations: 438.9 kB / 0.5104 GB, free: 9.133 MB / 442.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.0007124/0.05813, allocations: 0.6749 MB / 0.511 GB, free: 8.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.05813, allocations: 8.094 kB / 0.5111 GB, free: 8.355 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001452/0.05958, allocations: 1.068 MB / 0.5121 GB, free: 7.246 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.05961, allocations: 8 kB / 0.5121 GB, free: 7.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005752/0.06018, allocations: 443.9 kB / 0.5125 GB, free: 6.793 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000805/0.06099, allocations: 349.3 kB / 0.5129 GB, free: 6.418 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.06143, allocations: 199.6 kB / 0.5131 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006784/0.06822, allocations: 14.85 MB / 0.5276 GB, free: 6.457 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/0.069, allocations: 40.05 kB / 0.5276 GB, free: 6.418 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.31e-05/0.06907, allocations: 39.98 kB / 0.5276 GB, free: 6.379 MB / 458.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.0004479/0.06951, allocations: 228.3 kB / 0.5279 GB, free: 6.145 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.06977, allocations: 167.1 kB / 0.528 GB, free: 5.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.07129, allocations: 1.179 MB / 0.5292 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.0713, allocations: 12 kB / 0.5292 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.07131, allocations: 4 kB / 0.5292 GB, free: 4.727 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.07132, allocations: 3.984 kB / 0.5292 GB, free: 4.723 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.07377, allocations: 1.895 MB / 0.531 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005172/0.07429, allocations: 460.3 kB / 0.5315 GB, free: 2.281 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.07465, allocations: 175.7 kB / 0.5316 GB, free: 2.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007067/0.07536, allocations: 369 kB / 0.532 GB, free: 1.715 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.07541, allocations: 35.97 kB / 0.532 GB, free: 1.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007479/0.08289, allocations: 14.83 MB / 0.5465 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.0829, allocations: 7.984 kB / 0.5465 GB, free: 1.922 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/0.08529, allocations: 1.474 MB / 0.548 GB, free: 396 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/0.08566, allocations: 207 kB / 0.5482 GB, free: 188 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.08574, allocations: 24 kB / 0.5482 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.08608, allocations: 39.97 kB / 0.5482 GB, free: 124 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.08628, allocations: 100.9 kB / 0.5483 GB, free: 24 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.325e-05/0.08636, allocations: 32.06 kB / 0.5483 GB, free: 15.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003929/0.08675, allocations: 497.5 kB / 0.5488 GB, free: 15.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.08675, allocations: 8 kB / 0.5488 GB, free: 15.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001057/0.08781, allocations: 387.8 kB / 0.5492 GB, free: 15.11 MB / 490.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.0003044/0.08811, allocations: 190.8 kB / 0.5494 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.0897, allocations: 2.066 MB / 0.5514 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.0897, allocations: 7.938 kB / 0.5514 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.09078, allocations: 1.78 MB / 0.5531 GB, free: 10.77 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.09206, allocations: 0.5342 MB / 0.5537 GB, free: 10.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.09532, allocations: 2.395 MB / 0.556 GB, free: 7.816 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.09552, allocations: 236.1 kB / 0.5562 GB, free: 7.559 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006282/0.09614, allocations: 213.2 kB / 0.5564 GB, free: 7.348 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/0.09684, allocations: 0.4939 MB / 0.5569 GB, free: 6.852 MB / 490.7 MB Notification: Performance of SimCode: time 1.743e-06/0.09685, allocations: 0 / 0.5569 GB, free: 6.852 MB / 490.7 MB Notification: Performance of Templates: time 0.0351/0.1319, allocations: 27.02 MB / 0.5833 GB, free: 12.36 MB / 0.5105 GB " [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 -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.2353937132284045]