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.001254/0.001254, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001396/0.001396, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9678/0.9678, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6852/0.6852, allocations: 118.6 MB / 378.9 MB, free: 1.477 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="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_dev_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_dev_ThermofluidStream.Boundaries.Tests.Reservoir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 483.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.722e-05, allocations: 2.312 kB / 483.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.03338/0.03341, allocations: 43.05 MB / 0.5143 GB, free: 5.855 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008635/0.04205, allocations: 7.8 MB / 0.5219 GB, free: 14.03 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.04342, allocations: 63.44 kB / 0.522 GB, free: 13.96 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.04469, allocations: 0.504 MB / 0.5225 GB, free: 13.46 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003622/0.04832, allocations: 1.474 MB / 0.5239 GB, free: 11.97 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.0505, allocations: 0.9731 MB / 0.5249 GB, free: 11 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.05307, allocations: 2.291 MB / 0.5271 GB, free: 8.695 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.05342, allocations: 149.2 kB / 0.5273 GB, free: 8.539 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.0559, allocations: 1.569 MB / 0.5288 GB, free: 6.965 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007366/0.05663, allocations: 0.6231 MB / 0.5294 GB, free: 6.34 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.05676, allocations: 100 kB / 0.5295 GB, free: 6.242 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.05845, allocations: 0.7603 MB / 0.5302 GB, free: 5.48 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.05867, allocations: 278.7 kB / 0.5305 GB, free: 5.207 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.05912, allocations: 482.8 kB / 0.531 GB, free: 4.734 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.06166, allocations: 1.639 MB / 0.5326 GB, free: 3.09 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.06166, allocations: 0 / 0.5326 GB, free: 3.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.06166, allocations: 4 kB / 0.5326 GB, free: 3.086 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.06168, allocations: 0 / 0.5326 GB, free: 3.086 MB / 458.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.002189/0.06387, allocations: 1.813 MB / 0.5343 GB, free: 1.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.06392, allocations: 8.031 kB / 0.5344 GB, free: 1.223 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006499/0.06457, allocations: 311.6 kB / 0.5347 GB, free: 0.918 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.06569, allocations: 0.8971 MB / 0.5355 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.0658, allocations: 125.9 kB / 0.5357 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.06592, allocations: 100.3 kB / 0.5357 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.06705, allocations: 1.174 MB / 0.5369 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.06706, allocations: 0 / 0.5369 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/0.06713, allocations: 40 kB / 0.5369 GB, free: 14.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.06715, allocations: 24 kB / 0.537 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.06785, allocations: 487.4 kB / 0.5374 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/0.0716, allocations: 3.76 MB / 0.5411 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.07276, allocations: 0.759 MB / 0.5418 GB, free: 9.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003497/0.07311, allocations: 269.5 kB / 0.5421 GB, free: 8.961 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/0.07488, allocations: 1.402 MB / 0.5435 GB, free: 7.535 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.07492, allocations: 49.89 kB / 0.5435 GB, free: 7.477 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 2.876e-06/0.07492, allocations: 4 kB / 0.5435 GB, free: 7.473 MB / 474.7 MB Notification: Performance of matching and sorting (n=112): time 0.005092/0.08002, allocations: 3.077 MB / 0.5465 GB, free: 4.289 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.08006, allocations: 94.05 kB / 0.5466 GB, free: 4.18 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007222/0.08079, allocations: 0.8095 MB / 0.5474 GB, free: 3.348 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.336e-05/0.08085, allocations: 49.7 kB / 0.5474 GB, free: 3.293 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.08116, allocations: 0.5624 MB / 0.548 GB, free: 2.723 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.08139, allocations: 412.4 kB / 0.5484 GB, free: 2.316 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.08161, allocations: 200.5 kB / 0.5486 GB, free: 2.113 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.08176, allocations: 0.516 MB / 0.5491 GB, free: 1.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.08209, allocations: 202.5 kB / 0.5493 GB, free: 1.391 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.08256, allocations: 475.2 kB / 0.5497 GB, free: 0.8359 MB / 474.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.000979/0.08354, allocations: 0.7656 MB / 0.5505 GB, free: 15.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.08354, allocations: 4 kB / 0.5505 GB, free: 15.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001731/0.08527, allocations: 1.177 MB / 0.5516 GB, free: 14.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.0853, allocations: 8 kB / 0.5516 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007437/0.08604, allocations: 0.4925 MB / 0.5521 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008614/0.0869, allocations: 357.2 kB / 0.5525 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004613/0.08736, allocations: 203.7 kB / 0.5527 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/0.09455, allocations: 15.06 MB / 0.5674 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.09521, allocations: 35.98 kB / 0.5674 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.09529, allocations: 47.98 kB / 0.5674 GB, free: 13.53 MB / 0.4948 GB 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.0003939/0.09569, allocations: 228.3 kB / 0.5677 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.09596, allocations: 167.2 kB / 0.5678 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001907/0.09787, allocations: 1.282 MB / 0.5691 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.09788, allocations: 12 kB / 0.5691 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.09788, allocations: 4 kB / 0.5691 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.09789, allocations: 3.984 kB / 0.5691 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.1006, allocations: 2.129 MB / 0.5712 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006695/0.1013, allocations: 0.516 MB / 0.5717 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.1017, allocations: 167.8 kB / 0.5718 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007493/0.1024, allocations: 385 kB / 0.5722 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.1025, allocations: 35.97 kB / 0.5722 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006563/0.1091, allocations: 15.05 MB / 0.5869 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1091, allocations: 3.938 kB / 0.5869 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.1114, allocations: 1.622 MB / 0.5885 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/0.1118, allocations: 215 kB / 0.5887 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-05/0.1119, allocations: 24 kB / 0.5887 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.1123, allocations: 35.98 kB / 0.5888 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.1125, allocations: 104.9 kB / 0.5889 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.1126, allocations: 40.09 kB / 0.5889 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004832/0.1131, allocations: 0.5252 MB / 0.5894 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1131, allocations: 0 / 0.5894 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001259/0.1143, allocations: 451.6 kB / 0.5899 GB, free: 5.336 MB / 0.5105 GB 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 (92): * Single equations (assignments): 84 * 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.0005616/0.1149, allocations: 416.9 kB / 0.5903 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001963/0.1169, allocations: 2.144 MB / 0.5924 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1169, allocations: 0 / 0.5924 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.1182, allocations: 1.847 MB / 0.5942 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.1195, allocations: 0.5317 MB / 0.5947 GB, free: 132 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.1232, allocations: 2.444 MB / 0.5971 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.1234, allocations: 232.2 kB / 0.5973 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006649/0.124, allocations: 219.2 kB / 0.5975 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.1242, allocations: 108.5 kB / 0.5976 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/0.1242, allocations: 4 kB / 0.5976 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.0319/0.1561, allocations: 28.07 MB / 0.625 GB, free: 1.504 MB / 0.5417 GB " [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 -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.505777301033959]