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.0009883/0.0009883, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009843/0.0009843, 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.9428/0.9428, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7036/0.7036, allocations: 118.6 MB / 378.6 MB, free: 1.461 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.533e-06/1.533e-06, allocations: 0 / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.784e-05, allocations: 2.312 kB / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.007667/0.007685, allocations: 10.43 MB / 494 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004461/0.01215, allocations: 3.112 MB / 497.1 MB, free: 15.05 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006035/0.01275, allocations: 61.84 kB / 497.2 MB, free: 15.01 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005863/0.01334, allocations: 251.1 kB / 497.5 MB, free: 14.87 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.01514, allocations: 1.03 MB / 498.5 MB, free: 14.18 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.01635, allocations: 0.6279 MB / 499.1 MB, free: 13.86 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002328/0.01868, allocations: 2.277 MB / 0.4896 GB, free: 12.69 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.01895, allocations: 152 kB / 0.4898 GB, free: 12.61 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.02049, allocations: 1.215 MB / 0.491 GB, free: 12.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007407/0.02123, allocations: 0.6273 MB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.02137, allocations: 100.2 kB / 0.4917 GB, free: 11.88 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006456/0.02202, allocations: 333.8 kB / 0.492 GB, free: 11.6 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.02225, allocations: 283.6 kB / 0.4923 GB, free: 11.37 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004164/0.02267, allocations: 475.4 kB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.02415, allocations: 1.344 MB / 0.494 GB, free: 9.832 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.02416, allocations: 0.7969 kB / 0.494 GB, free: 9.832 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.02416, allocations: 0 / 0.494 GB, free: 9.832 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.02417, allocations: 0 / 0.494 GB, free: 9.832 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.001999/0.02617, allocations: 1.763 MB / 0.4958 GB, free: 8.199 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.0262, allocations: 8.031 kB / 0.4958 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008353/0.02704, allocations: 309.2 kB / 0.4961 GB, free: 7.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.02811, allocations: 0.9057 MB / 0.4969 GB, free: 7.082 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.522e-05/0.02821, allocations: 119.8 kB / 0.4971 GB, free: 6.957 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.02832, allocations: 101.4 kB / 0.4971 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.02949, allocations: 1.177 MB / 0.4983 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.0295, allocations: 3.938 kB / 0.4983 GB, free: 5.699 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/0.02956, allocations: 40 kB / 0.4983 GB, free: 5.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/0.02958, allocations: 20 kB / 0.4984 GB, free: 5.641 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006969/0.03028, allocations: 483.5 kB / 0.4988 GB, free: 5.199 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.03349, allocations: 3.748 MB / 0.5025 GB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.03486, allocations: 0.7699 MB / 0.5032 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.0352, allocations: 275.4 kB / 0.5035 GB, free: 296 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.03658, allocations: 1.332 MB / 0.5048 GB, free: 14.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.03661, allocations: 45.89 kB / 0.5048 GB, free: 14.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 1.914e-06/0.03661, allocations: 0 / 0.5048 GB, free: 14.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.004534/0.04115, allocations: 3.077 MB / 0.5078 GB, free: 11.69 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.04119, allocations: 90.11 kB / 0.5079 GB, free: 11.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.04182, allocations: 0.8017 MB / 0.5087 GB, free: 10.76 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.637e-05/0.04188, allocations: 49.7 kB / 0.5088 GB, free: 10.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/0.04215, allocations: 0.5662 MB / 0.5093 GB, free: 10.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.04237, allocations: 412.4 kB / 0.5097 GB, free: 9.727 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.04257, allocations: 200.6 kB / 0.5099 GB, free: 9.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000399/0.04297, allocations: 0.5121 MB / 0.5104 GB, free: 9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.0433, allocations: 210.5 kB / 0.5106 GB, free: 8.797 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/0.04374, allocations: 471.1 kB / 0.511 GB, free: 8.242 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.0008771/0.04462, allocations: 0.7655 MB / 0.5118 GB, free: 7.383 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.04462, allocations: 3.938 kB / 0.5118 GB, free: 7.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001548/0.04617, allocations: 1.173 MB / 0.5129 GB, free: 6.164 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.04619, allocations: 8 kB / 0.513 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007008/0.04689, allocations: 0.4924 MB / 0.5134 GB, free: 5.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007912/0.04768, allocations: 353.3 kB / 0.5138 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.04809, allocations: 203.7 kB / 0.514 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006842/0.05493, allocations: 15.08 MB / 0.5287 GB, free: 5.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.05526, allocations: 28 kB / 0.5287 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.05532, allocations: 55.97 kB / 0.5288 GB, free: 4.938 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.0002427/0.05557, allocations: 220.4 kB / 0.529 GB, free: 4.711 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.05575, allocations: 167.1 kB / 0.5291 GB, free: 4.547 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.05743, allocations: 1.261 MB / 0.5304 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.05744, allocations: 12 kB / 0.5304 GB, free: 3.223 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.05744, allocations: 4 kB / 0.5304 GB, free: 3.219 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.05745, allocations: 11.97 kB / 0.5304 GB, free: 3.207 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.06022, allocations: 2.087 MB / 0.5324 GB, free: 1.039 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006657/0.06089, allocations: 0.5082 MB / 0.5329 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.06128, allocations: 175.8 kB / 0.5331 GB, free: 344 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007461/0.06202, allocations: 373.1 kB / 0.5335 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.06208, allocations: 31.92 kB / 0.5335 GB, free: 15.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006954/0.06903, allocations: 15.05 MB / 0.5482 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.06904, allocations: 11.88 kB / 0.5482 GB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.07096, allocations: 1.607 MB / 0.5498 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002698/0.07123, allocations: 207 kB / 0.55 GB, free: 13.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.07131, allocations: 28 kB / 0.55 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003381/0.07165, allocations: 36.17 kB / 0.55 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.07179, allocations: 96.97 kB / 0.5501 GB, free: 13.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-05/0.07185, allocations: 43.97 kB / 0.5502 GB, free: 13.79 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004473/0.0723, allocations: 0.5213 MB / 0.5507 GB, free: 13.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0723, allocations: 4 kB / 0.5507 GB, free: 13.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009029/0.0732, allocations: 383.8 kB / 0.551 GB, free: 12.88 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.0002828/0.07348, allocations: 210 kB / 0.5512 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.07555, allocations: 2.14 MB / 0.5533 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.07555, allocations: 4 kB / 0.5533 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.07676, allocations: 1.831 MB / 0.5551 GB, free: 8.406 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.07807, allocations: 0.5206 MB / 0.5556 GB, free: 7.902 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.08126, allocations: 2.43 MB / 0.558 GB, free: 5.418 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.08142, allocations: 228.2 kB / 0.5582 GB, free: 5.172 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004399/0.08186, allocations: 213.2 kB / 0.5584 GB, free: 4.961 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.08206, allocations: 108.5 kB / 0.5585 GB, free: 4.855 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.08206, allocations: 0 / 0.5585 GB, free: 4.855 MB / 490.7 MB Notification: Performance of Templates: time 0.0273/0.1094, allocations: 24.86 MB / 0.5828 GB, free: 12.52 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.29388388292864]