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.0009152/0.0009152, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.000956/0.000956, allocations: 173 kB / 23.49 MB, free: 1.055 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.8774/0.8774, 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 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.6194/0.6194, allocations: 118.6 MB / 378.9 MB, free: 1.535 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 1.824e-06/1.824e-06, allocations: 0 / 483.6 MB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.475e-05, allocations: 2.312 kB / 483.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.04537/0.0454, allocations: 43.05 MB / 0.5143 GB, free: 5.895 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007101/0.0525, allocations: 7.804 MB / 0.522 GB, free: 14.06 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.05299, allocations: 67.38 kB / 0.522 GB, free: 14 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000857/0.05384, allocations: 0.4962 MB / 0.5225 GB, free: 13.5 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.05584, allocations: 1.471 MB / 0.5239 GB, free: 12.02 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.05714, allocations: 0.9653 MB / 0.5249 GB, free: 11.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001435/0.05858, allocations: 2.294 MB / 0.5271 GB, free: 8.746 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.0588, allocations: 157.2 kB / 0.5273 GB, free: 8.582 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.06041, allocations: 1.573 MB / 0.5288 GB, free: 7.004 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.06094, allocations: 0.627 MB / 0.5294 GB, free: 6.375 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.06104, allocations: 96 kB / 0.5295 GB, free: 6.281 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009203/0.06196, allocations: 0.7564 MB / 0.5303 GB, free: 5.523 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.06214, allocations: 282.7 kB / 0.5305 GB, free: 5.246 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00035/0.06249, allocations: 482.8 kB / 0.531 GB, free: 4.773 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.06391, allocations: 1.639 MB / 0.5326 GB, free: 3.129 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.06391, allocations: 3.984 kB / 0.5326 GB, free: 3.125 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.06391, allocations: 0 / 0.5326 GB, free: 3.125 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.06392, allocations: 0 / 0.5326 GB, free: 3.125 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.001824/0.06575, allocations: 1.809 MB / 0.5344 GB, free: 1.273 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.06578, allocations: 8.031 kB / 0.5344 GB, free: 1.266 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005522/0.06633, allocations: 319.5 kB / 0.5347 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009375/0.06727, allocations: 0.8971 MB / 0.5355 GB, free: 4 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.999e-05/0.06736, allocations: 122 kB / 0.5357 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.06746, allocations: 104.3 kB / 0.5358 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.06847, allocations: 1.167 MB / 0.5369 GB, free: 14.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.06849, allocations: 3.938 kB / 0.5369 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.06855, allocations: 40 kB / 0.5369 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.06857, allocations: 20 kB / 0.537 GB, free: 14.39 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006969/0.06926, allocations: 491.4 kB / 0.5374 GB, free: 13.92 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.07235, allocations: 3.756 MB / 0.5411 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.07342, allocations: 0.7699 MB / 0.5418 GB, free: 9.262 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.07376, allocations: 271.7 kB / 0.5421 GB, free: 8.992 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001571/0.07533, allocations: 1.399 MB / 0.5435 GB, free: 7.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.07536, allocations: 45.89 kB / 0.5435 GB, free: 7.516 MB / 474.7 MB Notification: Performance of pre-optimization done (n=99): time 2.274e-06/0.07536, allocations: 0 / 0.5435 GB, free: 7.516 MB / 474.7 MB Notification: Performance of matching and sorting (n=112): time 0.004537/0.0799, allocations: 3.089 MB / 0.5465 GB, free: 4.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.07993, allocations: 90.11 kB / 0.5466 GB, free: 4.215 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000626/0.08056, allocations: 0.8095 MB / 0.5474 GB, free: 3.383 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/0.08061, allocations: 45.7 kB / 0.5475 GB, free: 3.332 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002798/0.08089, allocations: 0.5624 MB / 0.548 GB, free: 2.762 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.08109, allocations: 412.5 kB / 0.5484 GB, free: 2.355 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.0813, allocations: 200.6 kB / 0.5486 GB, free: 2.152 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.08143, allocations: 0.5121 MB / 0.5491 GB, free: 1.633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.08175, allocations: 206.5 kB / 0.5493 GB, free: 1.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.0822, allocations: 475.1 kB / 0.5497 GB, free: 0.875 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.000874/0.08307, allocations: 0.761 MB / 0.5505 GB, free: 20 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.08307, allocations: 4 kB / 0.5505 GB, free: 16 kB / 474.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001604/0.08468, allocations: 1.177 MB / 0.5516 GB, free: 14.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.08469, allocations: 8 kB / 0.5516 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006951/0.08539, allocations: 0.4963 MB / 0.5521 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007434/0.08613, allocations: 349.2 kB / 0.5525 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.08655, allocations: 203.7 kB / 0.5527 GB, free: 13.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006095/0.09265, allocations: 15.08 MB / 0.5674 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.09296, allocations: 31.98 kB / 0.5674 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.09302, allocations: 51.98 kB / 0.5675 GB, free: 13.57 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.000244/0.09327, allocations: 224.4 kB / 0.5677 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.09347, allocations: 163.2 kB / 0.5678 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001742/0.09521, allocations: 1.286 MB / 0.5691 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.09521, allocations: 12 kB / 0.5691 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.09522, allocations: 4 kB / 0.5691 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.09523, allocations: 7.969 kB / 0.5691 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.09771, allocations: 2.125 MB / 0.5712 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006925/0.0984, allocations: 0.5199 MB / 0.5717 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.09879, allocations: 171.8 kB / 0.5718 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007381/0.09953, allocations: 377.1 kB / 0.5722 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.09959, allocations: 39.97 kB / 0.5722 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006156/0.1057, allocations: 15.04 MB / 0.5869 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1057, allocations: 3.938 kB / 0.5869 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.1077, allocations: 1.622 MB / 0.5885 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.1079, allocations: 207 kB / 0.5887 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.907e-05/0.108, allocations: 28 kB / 0.5888 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.1084, allocations: 39.97 kB / 0.5888 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.1085, allocations: 101 kB / 0.5889 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.1086, allocations: 43.97 kB / 0.5889 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004113/0.109, allocations: 0.5135 MB / 0.5894 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.109, allocations: 4 kB / 0.5894 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009022/0.1099, allocations: 455.6 kB / 0.5899 GB, free: 5.379 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.0004686/0.1104, allocations: 424.3 kB / 0.5903 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001653/0.112, allocations: 2.148 MB / 0.5924 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.112, allocations: 0 / 0.5924 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.1132, allocations: 1.839 MB / 0.5942 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.1144, allocations: 0.5349 MB / 0.5947 GB, free: 156 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.1176, allocations: 2.434 MB / 0.5971 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.1177, allocations: 232.2 kB / 0.5973 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004701/0.1182, allocations: 225 kB / 0.5975 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.1184, allocations: 112.5 kB / 0.5976 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of SimCode: time 6.01e-07/0.1184, allocations: 0 / 0.5976 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.02743/0.1458, allocations: 28.06 MB / 0.625 GB, free: 1.531 MB / 0.5417 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.114873816026375]