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.0009702/0.0009702, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001098/0.001098, allocations: 181 kB / 23.36 MB, free: 1.133 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.9864/0.9864, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.6679/0.6679, allocations: 118.6 MB / 378.9 MB, free: 1.312 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.562e-06/1.562e-06, allocations: 0 / 430.8 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.294e-05, allocations: 6.312 kB / 430.8 MB, free: 13.26 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.009348/0.009371, allocations: 10.4 MB / 441.3 MB, free: 2.801 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.192/0.2014, allocations: 3.168 MB / 444.4 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.2025, allocations: 63.84 kB / 444.5 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006778/0.2032, allocations: 249.6 kB / 444.7 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002293/0.2055, allocations: 1.026 MB / 445.8 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.207, allocations: 0.619 MB / 446.4 MB, free: 16.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00282/0.2098, allocations: 2.27 MB / 448.6 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004077/0.2103, allocations: 168.4 kB / 448.8 MB, free: 15.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.2127, allocations: 1.221 MB / 450 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.2139, allocations: 0.6009 MB / 450.6 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002816/0.2142, allocations: 96.34 kB / 450.7 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/0.2152, allocations: 350.8 kB / 451.1 MB, free: 15.18 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002184/0.2154, allocations: 278.4 kB / 451.3 MB, free: 15.12 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006886/0.2161, allocations: 476.8 kB / 451.8 MB, free: 15.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001956/0.218, allocations: 1.325 MB / 453.1 MB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.218, allocations: 0 / 453.1 MB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.218, allocations: 4.781 kB / 453.1 MB, free: 14.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.906e-05/0.2181, allocations: 0 / 453.1 MB, free: 14.85 MB / 410.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.002653/0.2207, allocations: 1.635 MB / 454.8 MB, free: 14.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2208, allocations: 9.625 kB / 454.8 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/0.2215, allocations: 258.8 kB / 455 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.2229, allocations: 0.7783 MB / 455.8 MB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.495e-05/0.223, allocations: 121.9 kB / 455.9 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.2231, allocations: 93.61 kB / 456 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.2241, allocations: 1.089 MB / 457.1 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.2242, allocations: 4.812 kB / 457.1 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.054e-05/0.2242, allocations: 41.19 kB / 457.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.947e-05/0.2242, allocations: 21.59 kB / 457.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.2248, allocations: 355.4 kB / 457.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.2282, allocations: 2.643 MB / 460.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.2293, allocations: 0.6348 MB / 460.8 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.2295, allocations: 201.3 kB / 461 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/0.2311, allocations: 0.9895 MB / 462 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2312, allocations: 54.17 kB / 462 MB, free: 9.895 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 3.677e-06/0.2312, allocations: 0 / 462 MB, free: 9.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.004796/0.236, allocations: 2.458 MB / 464.5 MB, free: 7.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.236, allocations: 94.11 kB / 464.6 MB, free: 7.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.2365, allocations: 0.7285 MB / 465.3 MB, free: 6.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.409e-05/0.2366, allocations: 49.7 kB / 465.4 MB, free: 6.668 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.2367, allocations: 384.9 kB / 465.7 MB, free: 6.332 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.2369, allocations: 409.7 kB / 466.1 MB, free: 5.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.2371, allocations: 192.5 kB / 466.3 MB, free: 5.781 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.2371, allocations: 355 kB / 466.7 MB, free: 5.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.2373, allocations: 134.6 kB / 466.8 MB, free: 5.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.2376, allocations: 328.2 kB / 467.1 MB, free: 4.949 MB / 410.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.0006514/0.2382, allocations: 0.5932 MB / 467.7 MB, free: 4.332 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.2383, allocations: 7.938 kB / 467.7 MB, free: 4.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001216/0.2395, allocations: 0.8384 MB / 468.6 MB, free: 3.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2395, allocations: 4 kB / 468.6 MB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000479/0.24, allocations: 343.7 kB / 468.9 MB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007965/0.2408, allocations: 310.6 kB / 469.2 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.2413, allocations: 213.9 kB / 469.4 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005838/0.2472, allocations: 10.19 MB / 479.6 MB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.248, allocations: 39.98 kB / 479.6 MB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-05/0.248, allocations: 31.98 kB / 479.7 MB, free: 7.816 MB / 426.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.0003809/0.2484, allocations: 189.7 kB / 479.9 MB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.2487, allocations: 111.9 kB / 480 MB, free: 7.512 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.2504, allocations: 0.992 MB / 481 MB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.2504, allocations: 12 kB / 481 MB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.2504, allocations: 7.984 kB / 481 MB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.2504, allocations: 3.984 kB / 481 MB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.253, allocations: 1.443 MB / 482.4 MB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005696/0.2536, allocations: 363.3 kB / 482.8 MB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.2542, allocations: 191.7 kB / 483 MB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008629/0.255, allocations: 333.5 kB / 483.3 MB, free: 4.191 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.054e-05/0.2551, allocations: 31.92 kB / 483.3 MB, free: 4.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006034/0.2611, allocations: 10.18 MB / 493.5 MB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.2611, allocations: 3.938 kB / 493.5 MB, free: 9.371 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.2631, allocations: 1.157 MB / 494.7 MB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/0.2635, allocations: 135.7 kB / 494.8 MB, free: 8.066 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.2636, allocations: 31.92 kB / 494.8 MB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.2641, allocations: 40.66 kB / 494.9 MB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/0.2643, allocations: 96.91 kB / 495 MB, free: 7.898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.2644, allocations: 31.97 kB / 495 MB, free: 7.867 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004049/0.2648, allocations: 370.5 kB / 495.4 MB, free: 7.535 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2648, allocations: 0 / 495.4 MB, free: 7.535 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001334/0.2661, allocations: 387.9 kB / 495.7 MB, free: 7.156 MB / 442.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.0003263/0.2665, allocations: 183.6 kB / 495.9 MB, free: 6.977 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.2682, allocations: 1.561 MB / 497.5 MB, free: 5.348 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.871e-05/0.2682, allocations: 8 kB / 497.5 MB, free: 5.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.2695, allocations: 1.33 MB / 498.8 MB, free: 3.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.2711, allocations: 0.5337 MB / 499.4 MB, free: 3.406 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.2746, allocations: 2.252 MB / 0.4898 GB, free: 1.148 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.2749, allocations: 232.2 kB / 0.4901 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006963/0.2756, allocations: 206.3 kB / 0.4903 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007554/0.2763, allocations: 429 kB / 0.4907 GB, free: 292 kB / 442.7 MB Notification: Performance of SimCode: time 1.502e-06/0.2763, allocations: 0 / 0.4907 GB, free: 292 kB / 442.7 MB Notification: Performance of Templates: time 0.03356/0.3099, allocations: 27.02 MB / 0.5171 GB, free: 5.926 MB / 474.7 MB " [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 -s gbode -gbm=radauIIA3 -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.129133487120271]