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.0011/0.0011, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.00102/0.00102, allocations: 169 kB / 23.27 MB, free: 1.227 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.9741/0.9741, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.7251/0.7251, allocations: 118.7 MB / 378.9 MB, free: 1.402 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/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="Time|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="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 484 MB, free: 8.074 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.199e-05, allocations: 2.312 kB / 484.1 MB, free: 8.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1296/0.1296, allocations: 126.7 MB / 0.5964 GB, free: 1.324 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1307, allocations: 0.7709 MB / 0.5972 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002117/0.1309, allocations: 31.69 kB / 0.5972 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003921/0.1313, allocations: 79.3 kB / 0.5973 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.1317, allocations: 186.7 kB / 0.5975 GB, free: 264 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.132, allocations: 123.5 kB / 0.5976 GB, free: 140 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.1324, allocations: 446 kB / 0.598 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1326, allocations: 40.91 kB / 0.598 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004912/0.133, allocations: 271.1 kB / 0.5983 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.1332, allocations: 107.7 kB / 0.5984 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1332, allocations: 15.94 kB / 0.5984 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.1334, allocations: 75.81 kB / 0.5985 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.1334, allocations: 39.78 kB / 0.5985 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.555e-05/0.1335, allocations: 71.78 kB / 0.5986 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.1339, allocations: 250.9 kB / 0.5988 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1339, allocations: 4 kB / 0.5988 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1339, allocations: 0 / 0.5988 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1339, allocations: 0 / 0.5988 GB, free: 14.84 MB / 0.5261 GB 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.0006139/0.1345, allocations: 0.6239 MB / 0.5995 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1345, allocations: 8.031 kB / 0.5995 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.1346, allocations: 48.7 kB / 0.5995 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.135, allocations: 370.6 kB / 0.5999 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.135, allocations: 8.609 kB / 0.5999 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.1351, allocations: 12.38 kB / 0.5999 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1352, allocations: 124.9 kB / 0.6 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1352, allocations: 4.188 kB / 0.6 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1352, allocations: 8.125 kB / 0.6 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.1352, allocations: 4 kB / 0.6 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.334e-05/0.1353, allocations: 39.84 kB / 0.6001 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005991/0.1359, allocations: 0.7817 MB / 0.6008 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.136, allocations: 86.16 kB / 0.6009 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.242e-05/0.136, allocations: 27.38 kB / 0.6009 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-05/0.1361, allocations: 16.08 kB / 0.6009 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1361, allocations: 41.33 kB / 0.601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.1361, allocations: 0 / 0.601 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003896/0.1365, allocations: 168.6 kB / 0.6011 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1365, allocations: 77.11 kB / 0.6012 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1368, allocations: 342.6 kB / 0.6015 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1368, allocations: 25.7 kB / 0.6016 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1369, allocations: 234.9 kB / 0.6018 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.1369, allocations: 27.73 kB / 0.6018 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1369, allocations: 35.36 kB / 0.6019 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1371, allocations: 0.5117 MB / 0.6024 GB, free: 11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.1371, allocations: 11.92 kB / 0.6024 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.1372, allocations: 42.73 kB / 0.6024 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/0.1372, allocations: 58.69 kB / 0.6025 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1372, allocations: 3.938 kB / 0.6025 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001772/0.1374, allocations: 148.7 kB / 0.6026 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1374, allocations: 8 kB / 0.6026 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1374, allocations: 0 / 0.6026 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/0.1375, allocations: 39.34 kB / 0.6026 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.712e-05/0.1376, allocations: 8 kB / 0.6027 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.1391, allocations: 3.429 MB / 0.606 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.1392, allocations: 8 kB / 0.606 GB, free: 6.961 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1392, allocations: 8.234 kB / 0.606 GB, free: 6.953 MB / 0.5261 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 9.201e-05/0.1393, allocations: 160.5 kB / 0.6062 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.1393, allocations: 39.77 kB / 0.6062 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/0.1395, allocations: 150.9 kB / 0.6064 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.1395, allocations: 0 / 0.6064 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1395, allocations: 4 kB / 0.6064 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1395, allocations: 3.938 kB / 0.6064 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.1399, allocations: 0.5231 MB / 0.6069 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1399, allocations: 0 / 0.6069 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.506e-06/0.1399, allocations: 4 kB / 0.6069 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.509e-05/0.14, allocations: 43.28 kB / 0.6069 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.14, allocations: 7.984 kB / 0.6069 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001404/0.1414, allocations: 3.43 MB / 0.6103 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1414, allocations: 0 / 0.6103 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1417, allocations: 417.7 kB / 0.6107 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.1417, allocations: 35.8 kB / 0.6107 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1417, allocations: 0 / 0.6107 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.1418, allocations: 4 kB / 0.6107 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.1419, allocations: 15.92 kB / 0.6107 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1419, allocations: 0 / 0.6107 GB, free: 1.77 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001306/0.142, allocations: 231 kB / 0.6109 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.142, allocations: 0 / 0.6109 GB, free: 1.551 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003332/0.1423, allocations: 55.88 kB / 0.611 GB, free: 1.496 MB / 0.5261 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.0001378/0.1425, allocations: 103.3 kB / 0.6111 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002779/0.1427, allocations: 395 kB / 0.6115 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1427, allocations: 4 kB / 0.6115 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001721/0.1429, allocations: 375.4 kB / 0.6118 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.1434, allocations: 79.08 kB / 0.6119 GB, free: 488 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.1444, allocations: 0.5653 MB / 0.6125 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.6e-05/0.1444, allocations: 84.31 kB / 0.6125 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.245e-05/0.1445, allocations: 26.28 kB / 0.6126 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.1446, allocations: 126.2 kB / 0.6127 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of SimCode: time 7.12e-07/0.1446, allocations: 0 / 0.6127 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of Templates: time 0.005282/0.1499, allocations: 3.22 MB / 0.6158 GB, free: 12.48 MB / 0.5417 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 -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.7521843598224223]