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.0009561/0.0009561, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009917/0.0009917, allocations: 169 kB / 23.02 MB, free: 1.547 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.8963/0.8963, allocations: 177.1 MB / 203.4 MB, free: 5.195 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.6218/0.6218, allocations: 118.6 MB / 378.6 MB, free: 1.441 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.463e-06/1.463e-06, allocations: 0 / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.651e-05, allocations: 3.297 kB / 483.6 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.00679/0.006807, allocations: 10.44 MB / 494 MB, free: 1.176 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.0103, allocations: 3.106 MB / 497.2 MB, free: 15.03 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005118/0.01081, allocations: 65.84 kB / 497.2 MB, free: 14.99 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.01133, allocations: 251 kB / 497.5 MB, free: 14.85 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.01295, allocations: 1.035 MB / 498.5 MB, free: 14.16 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.01398, allocations: 0.6295 MB / 499.1 MB, free: 13.83 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002002/0.01598, allocations: 2.274 MB / 0.4897 GB, free: 12.66 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.01624, allocations: 148.3 kB / 0.4898 GB, free: 12.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.01782, allocations: 1.23 MB / 0.491 GB, free: 12.11 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009006/0.01872, allocations: 0.6181 MB / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.01889, allocations: 98.81 kB / 0.4917 GB, free: 11.86 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006215/0.01951, allocations: 330.2 kB / 0.492 GB, free: 11.58 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.01972, allocations: 277.1 kB / 0.4923 GB, free: 11.35 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.02015, allocations: 477.5 kB / 0.4927 GB, free: 10.93 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.02144, allocations: 1.327 MB / 0.494 GB, free: 9.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.02145, allocations: 0.6094 kB / 0.494 GB, free: 9.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02145, allocations: 0 / 0.494 GB, free: 9.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.02146, allocations: 0 / 0.494 GB, free: 9.82 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.001946/0.02341, allocations: 1.765 MB / 0.4957 GB, free: 8.184 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.02344, allocations: 8.031 kB / 0.4958 GB, free: 8.176 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/0.02398, allocations: 309.6 kB / 0.4961 GB, free: 7.895 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/0.02497, allocations: 0.8825 MB / 0.4969 GB, free: 7.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.481e-05/0.02507, allocations: 118.8 kB / 0.497 GB, free: 6.961 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.02517, allocations: 101.7 kB / 0.4971 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.02629, allocations: 1.181 MB / 0.4983 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.02631, allocations: 0 / 0.4983 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.217e-05/0.02637, allocations: 40 kB / 0.4983 GB, free: 5.668 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.02639, allocations: 20 kB / 0.4983 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006964/0.02708, allocations: 488.2 kB / 0.4988 GB, free: 5.242 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003122/0.03021, allocations: 3.748 MB / 0.5025 GB, free: 1.391 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.03125, allocations: 0.7669 MB / 0.5032 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.03157, allocations: 272.3 kB / 0.5035 GB, free: 340 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.0329, allocations: 1.324 MB / 0.5048 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.03293, allocations: 45.89 kB / 0.5048 GB, free: 14.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 3.296e-06/0.03293, allocations: 7.984 kB / 0.5048 GB, free: 14.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.004535/0.03747, allocations: 3.073 MB / 0.5078 GB, free: 11.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.0375, allocations: 90.11 kB / 0.5079 GB, free: 11.63 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.03813, allocations: 0.8017 MB / 0.5087 GB, free: 10.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.0382, allocations: 53.7 kB / 0.5087 GB, free: 10.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.03847, allocations: 0.5662 MB / 0.5093 GB, free: 10.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.03867, allocations: 408.5 kB / 0.5097 GB, free: 9.773 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.03888, allocations: 200.6 kB / 0.5099 GB, free: 9.566 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.039, allocations: 0.5121 MB / 0.5104 GB, free: 9.047 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.03933, allocations: 210.5 kB / 0.5106 GB, free: 8.844 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004419/0.03978, allocations: 471.1 kB / 0.511 GB, free: 8.289 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.0008741/0.04065, allocations: 0.7656 MB / 0.5118 GB, free: 7.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.04065, allocations: 0 / 0.5118 GB, free: 7.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001571/0.04222, allocations: 1.177 MB / 0.5129 GB, free: 6.211 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.04224, allocations: 8 kB / 0.5129 GB, free: 6.203 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006812/0.04292, allocations: 0.4963 MB / 0.5134 GB, free: 5.695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007684/0.04369, allocations: 357.2 kB / 0.5137 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.04412, allocations: 199.7 kB / 0.5139 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005999/0.05012, allocations: 15.07 MB / 0.5287 GB, free: 5.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.05044, allocations: 28 kB / 0.5287 GB, free: 5.043 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.0505, allocations: 51.98 kB / 0.5287 GB, free: 4.992 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.0002432/0.05074, allocations: 224.4 kB / 0.5289 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.05093, allocations: 167.1 kB / 0.5291 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.05255, allocations: 1.273 MB / 0.5303 GB, free: 3.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.05256, allocations: 8 kB / 0.5304 GB, free: 3.262 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.05256, allocations: 4 kB / 0.5304 GB, free: 3.258 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.05257, allocations: 7.984 kB / 0.5304 GB, free: 3.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.05502, allocations: 2.09 MB / 0.5324 GB, free: 1.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006627/0.05569, allocations: 0.512 MB / 0.5329 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/0.05608, allocations: 171.8 kB / 0.5331 GB, free: 384 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007535/0.05683, allocations: 377.1 kB / 0.5334 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.05689, allocations: 35.98 kB / 0.5335 GB, free: 15.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005935/0.06283, allocations: 15.03 MB / 0.5481 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.06283, allocations: 11.88 kB / 0.5482 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.06474, allocations: 1.61 MB / 0.5497 GB, free: 14.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.06501, allocations: 215 kB / 0.5499 GB, free: 14.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/0.0651, allocations: 20 kB / 0.55 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.06547, allocations: 43.97 kB / 0.55 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.06562, allocations: 92.97 kB / 0.5501 GB, free: 13.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/0.06568, allocations: 48.09 kB / 0.5501 GB, free: 13.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000424/0.0661, allocations: 0.529 MB / 0.5506 GB, free: 13.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0661, allocations: 0 / 0.5506 GB, free: 13.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009694/0.06707, allocations: 387.8 kB / 0.551 GB, free: 12.91 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.0002775/0.06735, allocations: 202.9 kB / 0.5512 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.06913, allocations: 2.14 MB / 0.5533 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.06914, allocations: 0 / 0.5533 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.07025, allocations: 1.831 MB / 0.5551 GB, free: 8.441 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.07152, allocations: 0.5271 MB / 0.5556 GB, free: 7.941 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003424/0.07494, allocations: 2.426 MB / 0.558 GB, free: 5.461 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.07512, allocations: 228.2 kB / 0.5582 GB, free: 5.215 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004989/0.07562, allocations: 213.2 kB / 0.5584 GB, free: 5.004 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.07581, allocations: 108.5 kB / 0.5585 GB, free: 4.898 MB / 490.7 MB Notification: Performance of SimCode: time 7.62e-07/0.07582, allocations: 4 kB / 0.5585 GB, free: 4.895 MB / 490.7 MB Notification: Performance of Templates: time 0.02736/0.1032, allocations: 26.58 MB / 0.5845 GB, free: 10.86 MB / 0.5105 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.164052665699273]