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.0009296/0.0009296, allocations: 86.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.001053/0.001053, allocations: 170 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.8984/0.8984, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.628/0.628, allocations: 118.6 MB / 378.9 MB, free: 1.34 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.473e-06/1.473e-06, allocations: 0 / 484.1 MB, free: 8.141 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/1.961e-05, allocations: 7.5 kB / 484.1 MB, free: 8.137 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.007495/0.007514, allocations: 10.33 MB / 494.4 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003867/0.01138, allocations: 3.095 MB / 497.5 MB, free: 14.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007289/0.01211, allocations: 61.81 kB / 497.5 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.01268, allocations: 250.9 kB / 497.8 MB, free: 14.74 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001779/0.01446, allocations: 1.022 MB / 498.8 MB, free: 14.06 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.01564, allocations: 0.6302 MB / 499.4 MB, free: 13.73 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.01779, allocations: 2.271 MB / 0.49 GB, free: 12.57 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.01808, allocations: 155.3 kB / 0.4901 GB, free: 12.49 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.01984, allocations: 1.227 MB / 0.4913 GB, free: 12.01 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007955/0.02064, allocations: 0.6185 MB / 0.4919 GB, free: 11.81 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.02081, allocations: 98.28 kB / 0.492 GB, free: 11.79 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007355/0.02155, allocations: 338.2 kB / 0.4923 GB, free: 11.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.02176, allocations: 273.5 kB / 0.4926 GB, free: 11.27 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005109/0.02227, allocations: 477.2 kB / 0.493 GB, free: 10.85 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.02367, allocations: 1.327 MB / 0.4943 GB, free: 9.742 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.02368, allocations: 0 / 0.4943 GB, free: 9.742 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.02368, allocations: 0 / 0.4943 GB, free: 9.742 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.02369, allocations: 0 / 0.4943 GB, free: 9.742 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.001991/0.02568, allocations: 1.773 MB / 0.4961 GB, free: 8.098 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.02571, allocations: 8.031 kB / 0.4961 GB, free: 8.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/0.02626, allocations: 313.3 kB / 0.4964 GB, free: 7.805 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009716/0.02723, allocations: 0.8708 MB / 0.4972 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.02732, allocations: 122.6 kB / 0.4973 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.02742, allocations: 101.8 kB / 0.4974 GB, free: 6.781 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009613/0.02838, allocations: 1.107 MB / 0.4985 GB, free: 5.699 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.0284, allocations: 3.938 kB / 0.4985 GB, free: 5.695 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.02846, allocations: 40 kB / 0.4986 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.02847, allocations: 23.98 kB / 0.4986 GB, free: 5.633 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.02894, allocations: 391.3 kB / 0.499 GB, free: 5.258 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00305/0.03199, allocations: 3.619 MB / 0.5025 GB, free: 1.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009079/0.0329, allocations: 0.7113 MB / 0.5032 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.03313, allocations: 233.5 kB / 0.5034 GB, free: 0.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/0.03448, allocations: 1.341 MB / 0.5047 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.03451, allocations: 45.89 kB / 0.5048 GB, free: 15.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=99): time 2.174e-06/0.03451, allocations: 0 / 0.5048 GB, free: 15.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=112): time 0.004007/0.03852, allocations: 2.545 MB / 0.5072 GB, free: 12.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.03856, allocations: 98.11 kB / 0.5073 GB, free: 12.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000549/0.03911, allocations: 0.7817 MB / 0.5081 GB, free: 11.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.03916, allocations: 49.7 kB / 0.5081 GB, free: 11.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.03945, allocations: 0.5778 MB / 0.5087 GB, free: 10.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.03965, allocations: 412.4 kB / 0.5091 GB, free: 10.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.03985, allocations: 200.5 kB / 0.5093 GB, free: 10.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.03998, allocations: 0.5198 MB / 0.5098 GB, free: 9.816 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.04018, allocations: 158.5 kB / 0.51 GB, free: 9.664 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.0405, allocations: 434.9 kB / 0.5104 GB, free: 9.145 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.0006763/0.04117, allocations: 0.6795 MB / 0.511 GB, free: 8.371 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.04118, allocations: 0 / 0.511 GB, free: 8.371 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001304/0.04248, allocations: 1.067 MB / 0.5121 GB, free: 7.262 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.0425, allocations: 8.406 kB / 0.5121 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005267/0.04302, allocations: 443.9 kB / 0.5125 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/0.04369, allocations: 357.1 kB / 0.5128 GB, free: 6.426 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.04409, allocations: 199.7 kB / 0.513 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/0.05021, allocations: 14.86 MB / 0.5275 GB, free: 6.461 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.05063, allocations: 35.98 kB / 0.5276 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.05069, allocations: 35.98 kB / 0.5276 GB, free: 6.391 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.0002993/0.05099, allocations: 232.4 kB / 0.5278 GB, free: 6.152 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.05118, allocations: 167.2 kB / 0.528 GB, free: 5.988 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.05257, allocations: 1.175 MB / 0.5291 GB, free: 4.754 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.05258, allocations: 12 kB / 0.5292 GB, free: 4.742 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.05258, allocations: 7.938 kB / 0.5292 GB, free: 4.734 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.05259, allocations: 3.984 kB / 0.5292 GB, free: 4.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.05492, allocations: 1.891 MB / 0.531 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005067/0.05543, allocations: 460.3 kB / 0.5315 GB, free: 2.293 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.05579, allocations: 179.7 kB / 0.5316 GB, free: 2.117 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006523/0.05645, allocations: 365 kB / 0.532 GB, free: 1.727 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.0565, allocations: 35.97 kB / 0.532 GB, free: 1.691 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005941/0.06244, allocations: 14.85 MB / 0.5465 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.06244, allocations: 4 kB / 0.5465 GB, free: 1.926 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.06404, allocations: 1.474 MB / 0.5479 GB, free: 400 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.06432, allocations: 207 kB / 0.5481 GB, free: 192 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.0644, allocations: 24 kB / 0.5482 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.06473, allocations: 49.42 kB / 0.5482 GB, free: 120 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.06487, allocations: 100.9 kB / 0.5483 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-05/0.06493, allocations: 32.03 kB / 0.5483 GB, free: 15.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003208/0.06525, allocations: 497.6 kB / 0.5488 GB, free: 15.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06525, allocations: 0 / 0.5488 GB, free: 15.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009161/0.06617, allocations: 391.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.0002572/0.06642, allocations: 200.9 kB / 0.5494 GB, free: 14.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.0681, allocations: 2.054 MB / 0.5514 GB, free: 12.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.0681, allocations: 3.938 kB / 0.5514 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.06911, allocations: 1.792 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.001212/0.07032, allocations: 0.5271 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.002996/0.07332, allocations: 2.399 MB / 0.556 GB, free: 7.816 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001859/0.0735, allocations: 236.2 kB / 0.5562 GB, free: 7.559 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005176/0.07402, allocations: 209.2 kB / 0.5564 GB, free: 7.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007874/0.07481, allocations: 0.4939 MB / 0.5569 GB, free: 6.855 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/0.07481, allocations: 4 kB / 0.5569 GB, free: 6.852 MB / 490.7 MB Notification: Performance of Templates: time 0.02992/0.1047, allocations: 27.02 MB / 0.5833 GB, free: 12.36 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.175742686726153]