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.0008103/0.0008103, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001161/0.001971, 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.0006905/0.0006905, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009403/0.001631, 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.9123/0.9123, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09606/1.008, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.7042/0.7042, allocations: 118.7 MB / 362.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05946/0.7637, 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.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.733e-06/1.733e-06, allocations: 0 / 400 MB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.567e-05, allocations: 6.25 kB / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.3305/0.3305, allocations: 129.1 MB / 0.5167 GB, free: 2.812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009155/0.3315, allocations: 0.7779 MB / 0.5174 GB, free: 2.039 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.3316, allocations: 31.69 kB / 0.5175 GB, free: 2.008 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.3319, allocations: 78.25 kB / 0.5175 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.3322, allocations: 194.7 kB / 0.5177 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.3324, allocations: 109.8 kB / 0.5178 GB, free: 1.637 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.3327, allocations: 442 kB / 0.5183 GB, free: 1.203 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.3329, allocations: 41.97 kB / 0.5183 GB, free: 1.168 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004241/0.3333, allocations: 288.1 kB / 0.5186 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.3337, allocations: 111.7 kB / 0.5187 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3337, allocations: 12 kB / 0.5187 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001332/0.3338, allocations: 67.88 kB / 0.5188 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.3339, allocations: 36.38 kB / 0.5188 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.3339, allocations: 59.81 kB / 0.5188 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.3342, allocations: 248.8 kB / 0.5191 GB, free: 376 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.3342, allocations: 0 / 0.5191 GB, free: 376 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3342, allocations: 0 / 0.5191 GB, free: 376 kB / 490.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3342, allocations: 4 kB / 0.5191 GB, free: 372 kB / 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.0005628/0.3348, allocations: 0.6348 MB / 0.5197 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.3348, allocations: 8.031 kB / 0.5197 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.3348, allocations: 32.91 kB / 0.5197 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.3352, allocations: 360.3 kB / 0.5201 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3352, allocations: 12.61 kB / 0.5201 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.3352, allocations: 16.36 kB / 0.5201 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.3354, allocations: 121.3 kB / 0.5202 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3354, allocations: 5.188 kB / 0.5202 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3354, allocations: 4 kB / 0.5202 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3354, allocations: 7.984 kB / 0.5202 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.307e-05/0.3354, allocations: 37.62 kB / 0.5203 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.3358, allocations: 0.5241 MB / 0.5208 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.423e-05/0.3359, allocations: 61.12 kB / 0.5209 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.3359, allocations: 29.83 kB / 0.5209 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.336, allocations: 8 kB / 0.5209 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.336, allocations: 30.56 kB / 0.5209 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.336, allocations: 0 / 0.5209 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002941/0.3363, allocations: 139.2 kB / 0.5211 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.3363, allocations: 81.11 kB / 0.5211 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3365, allocations: 287.4 kB / 0.5214 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.3365, allocations: 29.7 kB / 0.5214 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.3365, allocations: 145.1 kB / 0.5216 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.3365, allocations: 31.72 kB / 0.5216 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.3366, allocations: 29.64 kB / 0.5216 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.3366, allocations: 342.7 kB / 0.522 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.3367, allocations: 12 kB / 0.522 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.3367, allocations: 39.41 kB / 0.522 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.42e-05/0.3367, allocations: 47.41 kB / 0.522 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3367, allocations: 0 / 0.522 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001079/0.3368, allocations: 108.6 kB / 0.5222 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.3368, allocations: 11.94 kB / 0.5222 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3368, allocations: 3.984 kB / 0.5222 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.337, allocations: 37.75 kB / 0.5222 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.43e-05/0.337, allocations: 16 kB / 0.5222 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009188/0.3379, allocations: 2.319 MB / 0.5245 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.761e-05/0.338, allocations: 7.953 kB / 0.5245 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.338, allocations: 4 kB / 0.5245 GB, free: 10.39 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.107e-05/0.338, allocations: 124.5 kB / 0.5246 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.3381, allocations: 15.98 kB / 0.5246 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.3382, allocations: 129.9 kB / 0.5248 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3382, allocations: 96 / 0.5248 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3382, allocations: 5.047 kB / 0.5248 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3382, allocations: 11.92 kB / 0.5248 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.3384, allocations: 389.2 kB / 0.5251 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3384, allocations: 0 / 0.5251 GB, free: 9.656 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.366e-06/0.3385, allocations: 4 kB / 0.5251 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.784e-05/0.3385, allocations: 31.92 kB / 0.5252 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.7e-05/0.3386, allocations: 37.69 kB / 0.5252 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3386, allocations: 4 kB / 0.5252 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.3396, allocations: 2.319 MB / 0.5275 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3396, allocations: 0 / 0.5275 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.3397, allocations: 294 kB / 0.5278 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.3397, allocations: 5.219 kB / 0.5278 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.799e-05/0.3398, allocations: 4 kB / 0.5278 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.432e-05/0.3398, allocations: 11.92 kB / 0.5278 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.3398, allocations: 8 kB / 0.5278 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.917e-05/0.3399, allocations: 116.7 kB / 0.5279 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-08/0.3399, allocations: 0 / 0.5279 GB, free: 6.629 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002052/0.3401, allocations: 51.89 kB / 0.5279 GB, free: 6.578 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.0001141/0.3402, allocations: 92.39 kB / 0.528 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.3404, allocations: 284.1 kB / 0.5283 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.3404, allocations: 4 kB / 0.5283 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3405, allocations: 254.5 kB / 0.5286 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004337/0.341, allocations: 0.5903 MB / 0.5291 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.3439, allocations: 0.5322 MB / 0.5297 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.179e-05/0.3439, allocations: 88.31 kB / 0.5297 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.78e-05/0.344, allocations: 22.28 kB / 0.5298 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/0.3441, allocations: 99.34 kB / 0.5299 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/0.3441, allocations: 0 / 0.5299 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of Templates: time 0.005334/0.3494, allocations: 3.292 MB / 0.5331 GB, free: 1.215 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4452106449753046]