Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.00108/0.00108, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002578, 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.001042/0.001042, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001278/0.00232, 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.9412/0.9412, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09408/1.035, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.6635/0.6635, allocations: 118.7 MB / 362.7 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0553/0.7188, allocations: 35.83 MB / 398.5 MB, free: 13.36 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-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.SourceSink,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_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_dev_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.992e-06/5.992e-06, allocations: 0 / 399.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.597e-05, allocations: 2.312 kB / 399.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.3287/0.3288, allocations: 129.1 MB / 0.5164 GB, free: 3.219 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3298, allocations: 0.7817 MB / 0.5172 GB, free: 2.441 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.3299, allocations: 31.69 kB / 0.5172 GB, free: 2.41 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.3302, allocations: 86.19 kB / 0.5173 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.3305, allocations: 178.8 kB / 0.5175 GB, free: 2.152 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.3307, allocations: 117.7 kB / 0.5176 GB, free: 2.039 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003643/0.3311, allocations: 442 kB / 0.518 GB, free: 1.605 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3312, allocations: 41.97 kB / 0.5181 GB, free: 1.57 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.3316, allocations: 280.1 kB / 0.5183 GB, free: 1.301 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.3317, allocations: 107.7 kB / 0.5184 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3318, allocations: 12 kB / 0.5185 GB, free: 1.184 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3319, allocations: 75.88 kB / 0.5185 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.3319, allocations: 35.81 kB / 0.5186 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.134e-05/0.332, allocations: 63.75 kB / 0.5186 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.3323, allocations: 244.8 kB / 0.5189 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.3323, allocations: 0 / 0.5189 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3323, allocations: 0 / 0.5189 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.3323, allocations: 0 / 0.5189 GB, free: 0.7734 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.0005995/0.3329, allocations: 0.6348 MB / 0.5195 GB, free: 96 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.3329, allocations: 8.031 kB / 0.5195 GB, free: 88 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.333, allocations: 32.91 kB / 0.5195 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.3333, allocations: 356.3 kB / 0.5198 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3334, allocations: 16.59 kB / 0.5199 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3334, allocations: 17.56 kB / 0.5199 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3335, allocations: 134.4 kB / 0.52 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.3335, allocations: 0 / 0.52 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3335, allocations: 4 kB / 0.52 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3335, allocations: 4 kB / 0.52 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.3336, allocations: 41.2 kB / 0.5201 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.334, allocations: 0.5203 MB / 0.5206 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.3341, allocations: 61.16 kB / 0.5206 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.3341, allocations: 29.72 kB / 0.5207 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-05/0.3342, allocations: 8.078 kB / 0.5207 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.3342, allocations: 30.56 kB / 0.5207 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3342, allocations: 0 / 0.5207 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002963/0.3345, allocations: 139.2 kB / 0.5208 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.3345, allocations: 85.05 kB / 0.5209 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3346, allocations: 287.4 kB / 0.5212 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.3347, allocations: 29.7 kB / 0.5212 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.3347, allocations: 149.1 kB / 0.5213 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.3347, allocations: 31.73 kB / 0.5214 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.3348, allocations: 25.7 kB / 0.5214 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.3348, allocations: 342.7 kB / 0.5217 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.3348, allocations: 11.98 kB / 0.5217 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.3349, allocations: 27.44 kB / 0.5218 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.239e-05/0.3349, allocations: 63.69 kB / 0.5218 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3349, allocations: 4.562 kB / 0.5218 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001119/0.335, allocations: 103.2 kB / 0.5219 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.335, allocations: 8 kB / 0.5219 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3351, allocations: 0 / 0.5219 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/0.3352, allocations: 33.69 kB / 0.522 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.519e-05/0.3352, allocations: 12.06 kB / 0.522 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.3362, allocations: 2.319 MB / 0.5242 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.3363, allocations: 10.17 kB / 0.5243 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-06/0.3363, allocations: 4 kB / 0.5243 GB, free: 10.8 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 6.632e-05/0.3363, allocations: 124.5 kB / 0.5244 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.3364, allocations: 15.98 kB / 0.5244 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.3365, allocations: 140.9 kB / 0.5245 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3365, allocations: 0 / 0.5245 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.3365, allocations: 3.938 kB / 0.5245 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3365, allocations: 7.938 kB / 0.5245 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.3368, allocations: 389.2 kB / 0.5249 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3368, allocations: 4 kB / 0.5249 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-06/0.3368, allocations: 4 kB / 0.5249 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.3368, allocations: 23.81 kB / 0.5249 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.748e-05/0.3369, allocations: 45.73 kB / 0.525 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3369, allocations: 4 kB / 0.525 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008413/0.3377, allocations: 2.315 MB / 0.5272 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3377, allocations: 7.938 kB / 0.5273 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.3379, allocations: 290 kB / 0.5275 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.3379, allocations: 4 kB / 0.5275 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.338, allocations: 4 kB / 0.5275 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.338, allocations: 7.984 kB / 0.5275 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.338, allocations: 5.062 kB / 0.5276 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.486e-05/0.3381, allocations: 124.8 kB / 0.5277 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.3381, allocations: 4 kB / 0.5277 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002096/0.3383, allocations: 47.89 kB / 0.5277 GB, free: 6.984 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.0001182/0.3384, allocations: 84.42 kB / 0.5278 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.3386, allocations: 283.2 kB / 0.5281 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.3386, allocations: 8 kB / 0.5281 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3387, allocations: 254 kB / 0.5283 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.3391, allocations: 96 kB / 0.5284 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.3419, allocations: 0.5236 MB / 0.5289 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.342, allocations: 88.3 kB / 0.529 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.21e-05/0.342, allocations: 26.22 kB / 0.529 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/0.3421, allocations: 107.3 kB / 0.5291 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of SimCode: time 5.71e-07/0.3421, allocations: 0 / 0.5291 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of Templates: time 0.005291/0.3474, allocations: 3.317 MB / 0.5324 GB, free: 2.207 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.sim & ./ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_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.495098111219704]