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.001072/0.001072, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001505/0.002577, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001076/0.001076, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002457, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9115/0.9115, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0806/0.9921, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6404/0.6404, allocations: 118.7 MB / 362.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05717/0.6976, allocations: 35.84 MB / 398.7 MB, free: 13.11 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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="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="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.763e-06/1.763e-06, allocations: 0 / 400 MB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.46e-05, allocations: 6.312 kB / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.Reservoir): time 0.007342/0.007357, allocations: 10.44 MB / 410.5 MB, free: 1.305 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003445/0.0108, allocations: 3.184 MB / 413.6 MB, free: 14.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004137/0.01122, allocations: 63.44 kB / 413.7 MB, free: 14.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.01161, allocations: 257.6 kB / 414 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.01278, allocations: 1.02 MB / 415 MB, free: 12.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000762/0.01354, allocations: 0.6231 MB / 415.6 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.0149, allocations: 2.275 MB / 417.9 MB, free: 9.855 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.01514, allocations: 159.2 kB / 418 MB, free: 9.684 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001333/0.01647, allocations: 1.345 MB / 419.4 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.01708, allocations: 0.5997 MB / 420 MB, free: 7.734 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.01721, allocations: 96 kB / 420.1 MB, free: 7.641 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.0177, allocations: 351.6 kB / 420.4 MB, free: 7.297 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.01785, allocations: 195.1 kB / 420.6 MB, free: 7.105 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.01816, allocations: 403.1 kB / 421 MB, free: 6.711 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.01922, allocations: 1.234 MB / 422.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.01923, allocations: 0 / 422.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01923, allocations: 0 / 422.2 MB, free: 5.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.01926, allocations: 0 / 422.2 MB, free: 5.473 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.001847/0.0211, allocations: 2.022 MB / 424.3 MB, free: 3.398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.02113, allocations: 12.03 kB / 424.3 MB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.02158, allocations: 256.4 kB / 424.5 MB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.02243, allocations: 0.7793 MB / 425.3 MB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.02251, allocations: 118 kB / 425.4 MB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/0.0226, allocations: 104.3 kB / 425.5 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007826/0.02339, allocations: 1.087 MB / 426.6 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.0234, allocations: 0 / 426.6 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/0.02345, allocations: 43.98 kB / 426.6 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.02346, allocations: 20 kB / 426.7 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.02386, allocations: 363.2 kB / 427 MB, free: 440 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1886/0.2125, allocations: 2.62 MB / 429.6 MB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.2135, allocations: 0.6372 MB / 430.3 MB, free: 18.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.2138, allocations: 199.5 kB / 430.5 MB, free: 18.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/0.2154, allocations: 0.9884 MB / 431.5 MB, free: 17.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.2154, allocations: 48.92 kB / 431.5 MB, free: 17.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 2.866e-06/0.2154, allocations: 0 / 431.5 MB, free: 17.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.005581/0.221, allocations: 2.685 MB / 434.2 MB, free: 17.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.221, allocations: 91.84 kB / 434.3 MB, free: 17.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005195/0.2215, allocations: 0.7314 MB / 435 MB, free: 17.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.2216, allocations: 47.22 kB / 435.1 MB, free: 17.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.2218, allocations: 387.4 kB / 435.4 MB, free: 16.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.222, allocations: 407.1 kB / 435.8 MB, free: 16.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.2222, allocations: 195.1 kB / 436 MB, free: 16.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.2222, allocations: 356.2 kB / 436.4 MB, free: 16.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001948/0.2224, allocations: 133.7 kB / 436.5 MB, free: 16.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.2226, allocations: 332.1 kB / 436.8 MB, free: 16.19 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.0005655/0.2232, allocations: 0.6158 MB / 437.4 MB, free: 16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2232, allocations: 0.5938 kB / 437.4 MB, free: 16 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0009172/0.2241, allocations: 0.828 MB / 438.3 MB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.2241, allocations: 9.109 kB / 438.3 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003803/0.2245, allocations: 336.6 kB / 438.6 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/0.2251, allocations: 323.3 kB / 438.9 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.2255, allocations: 246.3 kB / 439.2 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/0.2286, allocations: 10.19 MB / 449.4 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.2289, allocations: 33.69 kB / 449.4 MB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.113e-05/0.2289, allocations: 42.95 kB / 449.4 MB, free: 6.434 MB / 410.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.0001833/0.2291, allocations: 180.5 kB / 449.6 MB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.2293, allocations: 110.5 kB / 449.7 MB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.2303, allocations: 1.002 MB / 450.7 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2303, allocations: 8.781 kB / 450.7 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2303, allocations: 5.812 kB / 450.7 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.2303, allocations: 7.797 kB / 450.7 MB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.2318, allocations: 1.446 MB / 452.2 MB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000345/0.2321, allocations: 360.9 kB / 452.5 MB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.2325, allocations: 204.9 kB / 452.7 MB, free: 4.516 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.2327, allocations: 137.2 kB / 452.9 MB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000567/0.2332, allocations: 348.2 kB / 453.2 MB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.2333, allocations: 32.09 kB / 453.2 MB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/0.237, allocations: 10.18 MB / 463.4 MB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2371, allocations: 0 / 463.4 MB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.2383, allocations: 1.164 MB / 464.6 MB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.2384, allocations: 24.66 kB / 464.6 MB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.2387, allocations: 38.61 kB / 464.6 MB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.2388, allocations: 100.9 kB / 464.7 MB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.2389, allocations: 27.97 kB / 464.8 MB, free: 8.074 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002648/0.2391, allocations: 378.9 kB / 465.1 MB, free: 7.734 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2391, allocations: 0 / 465.1 MB, free: 7.734 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000805/0.2399, allocations: 387.5 kB / 465.5 MB, free: 7.367 MB / 426.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.0002656/0.2402, allocations: 186.9 kB / 465.7 MB, free: 7.195 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.2414, allocations: 1.579 MB / 467.3 MB, free: 5.551 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.787e-05/0.2414, allocations: 23.31 kB / 467.3 MB, free: 5.531 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009335/0.2424, allocations: 1.386 MB / 468.7 MB, free: 4.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.2443, allocations: 3.223 MB / 471.9 MB, free: 276 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/0.2576, allocations: 2.315 MB / 474.2 MB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.2578, allocations: 247 kB / 474.5 MB, free: 13.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005338/0.2583, allocations: 208.6 kB / 474.7 MB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/0.259, allocations: 441 kB / 475.1 MB, free: 13.08 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.259, allocations: 0 / 475.1 MB, free: 13.08 MB / 442.7 MB Notification: Performance of Templates: time 0.0301/0.2891, allocations: 28.18 MB / 0.4915 GB, free: 1.594 MB / 458.7 MB " [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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9416067292913795]