Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.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.0008655/0.0008655, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001926, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007158/0.0007158, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009085/0.001624, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.8931/0.8931, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08654/0.9797, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.6575/0.6575, allocations: 118.7 MB / 362.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05065/0.7082, allocations: 35.83 MB / 398.4 MB, free: 13.25 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.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") translateModel(ThermofluidStream.Boundaries.Tests.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.247e-06/1.034e-05, allocations: 6.312 kB / 399.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.2745/0.2745, allocations: 129.1 MB / 0.5164 GB, free: 3.066 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008854/0.2754, allocations: 0.7779 MB / 0.5172 GB, free: 2.293 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.2755, allocations: 31.69 kB / 0.5172 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.2758, allocations: 90.17 kB / 0.5173 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003009/0.2761, allocations: 186.8 kB / 0.5175 GB, free: 1.992 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.2763, allocations: 109.8 kB / 0.5176 GB, free: 1.887 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.2767, allocations: 438 kB / 0.518 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.2768, allocations: 49.97 kB / 0.518 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.2772, allocations: 276.1 kB / 0.5183 GB, free: 1.148 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.2773, allocations: 111.7 kB / 0.5184 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2774, allocations: 12 kB / 0.5184 GB, free: 1.027 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2775, allocations: 75.88 kB / 0.5185 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.2775, allocations: 27.81 kB / 0.5185 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.2776, allocations: 63.75 kB / 0.5186 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.2779, allocations: 245 kB / 0.5188 GB, free: 0.625 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.665e-05/0.2779, allocations: 4 kB / 0.5188 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2779, allocations: 0 / 0.5188 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.2779, allocations: 0 / 0.5188 GB, free: 0.6211 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006394/0.2786, allocations: 0.6328 MB / 0.5194 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.694e-05/0.2786, allocations: 11.97 kB / 0.5194 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.2786, allocations: 32.91 kB / 0.5195 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.279, allocations: 364.3 kB / 0.5198 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.279, allocations: 8.609 kB / 0.5198 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.279, allocations: 16.33 kB / 0.5198 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.2791, allocations: 130.2 kB / 0.52 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2792, allocations: 0 / 0.52 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2792, allocations: 4 kB / 0.52 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.2792, allocations: 4 kB / 0.52 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.099e-05/0.2792, allocations: 42.83 kB / 0.52 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.2797, allocations: 0.528 MB / 0.5205 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.796e-05/0.2797, allocations: 65.16 kB / 0.5206 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.2798, allocations: 21.72 kB / 0.5206 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.2798, allocations: 12.08 kB / 0.5206 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2798, allocations: 34.56 kB / 0.5206 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.041e-06/0.2798, allocations: 0 / 0.5206 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0003075/0.2801, allocations: 135.2 kB / 0.5208 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.2802, allocations: 85.05 kB / 0.5209 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.2803, allocations: 291.4 kB / 0.5211 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.2803, allocations: 25.7 kB / 0.5212 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.2804, allocations: 149.1 kB / 0.5213 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.2804, allocations: 27.73 kB / 0.5213 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.2804, allocations: 25.7 kB / 0.5214 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.2805, allocations: 350.8 kB / 0.5217 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.2805, allocations: 7.984 kB / 0.5217 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.2806, allocations: 27.44 kB / 0.5217 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.835e-05/0.2806, allocations: 51.34 kB / 0.5218 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2806, allocations: 0 / 0.5218 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001189/0.2807, allocations: 111.7 kB / 0.5219 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2807, allocations: 8 kB / 0.5219 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2807, allocations: 4.062 kB / 0.5219 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/0.2809, allocations: 33.69 kB / 0.5219 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.636e-05/0.2809, allocations: 16 kB / 0.5219 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.2819, allocations: 2.319 MB / 0.5242 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.282, allocations: 4 kB / 0.5242 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.282, allocations: 5.062 kB / 0.5242 GB, free: 10.65 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.63e-05/0.2821, allocations: 128.7 kB / 0.5243 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.2821, allocations: 19.98 kB / 0.5244 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.2823, allocations: 137.6 kB / 0.5245 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2823, allocations: 0 / 0.5245 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.2823, allocations: 0 / 0.5245 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.2823, allocations: 4 kB / 0.5245 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.2825, allocations: 389.2 kB / 0.5249 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2825, allocations: 4.125 kB / 0.5249 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.017e-06/0.2825, allocations: 5 kB / 0.5249 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.2825, allocations: 23.81 kB / 0.5249 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.238e-05/0.2826, allocations: 41.72 kB / 0.5249 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2826, allocations: 4 kB / 0.5249 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008517/0.2835, allocations: 2.324 MB / 0.5272 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2835, allocations: 0 / 0.5272 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.2836, allocations: 294.2 kB / 0.5275 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2837, allocations: 4 kB / 0.5275 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.2837, allocations: 1.25 kB / 0.5275 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.2837, allocations: 11.92 kB / 0.5275 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.2837, allocations: 8 kB / 0.5275 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.781e-05/0.2838, allocations: 120.7 kB / 0.5276 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-08/0.2838, allocations: 0 / 0.5276 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002151/0.284, allocations: 51.89 kB / 0.5277 GB, free: 6.836 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (sink1.inlet.m_flow,sink.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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001344/0.2842, allocations: 84.45 kB / 0.5278 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002394/0.2844, allocations: 289.6 kB / 0.528 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.2844, allocations: 8 kB / 0.528 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.2845, allocations: 246.4 kB / 0.5283 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.2849, allocations: 90.17 kB / 0.5284 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.2879, allocations: 0.5315 MB / 0.5289 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.938e-05/0.2879, allocations: 88.3 kB / 0.529 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.187e-05/0.288, allocations: 22.28 kB / 0.529 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2881, allocations: 107.3 kB / 0.5291 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of SimCode: time 7.91e-07/0.2881, allocations: 0 / 0.5291 GB, free: 5.277 MB / 0.4948 GB Notification: Performance of Templates: time 0.005233/0.2934, allocations: 3.322 MB / 0.5323 GB, free: 2.055 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Boundaries.Tests.SourceSink_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: 3.334498223848641]