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.001443/0.001443, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001038/0.001038, allocations: 173 kB / 23.49 MB, free: 1.059 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.9576/0.9576, allocations: 177.1 MB / 203.8 MB, free: 5.598 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.678/0.678, allocations: 118.6 MB / 378.9 MB, free: 1.504 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.904e-06/1.904e-06, allocations: 0 / 483.6 MB, free: 8.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.556e-05, allocations: 3.516 kB / 483.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1178/0.1178, allocations: 135.8 MB / 0.6049 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1192, allocations: 1.647 MB / 0.6065 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1194, allocations: 31.69 kB / 0.6065 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.1198, allocations: 127 kB / 0.6066 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.1202, allocations: 230.5 kB / 0.6069 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.1204, allocations: 207.1 kB / 0.6071 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.1207, allocations: 446 kB / 0.6075 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.1209, allocations: 36.91 kB / 0.6075 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.1213, allocations: 310.8 kB / 0.6078 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.1214, allocations: 111.7 kB / 0.6079 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1214, allocations: 12 kB / 0.6079 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.1216, allocations: 215.5 kB / 0.6081 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.1217, allocations: 39.72 kB / 0.6082 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.1218, allocations: 71.73 kB / 0.6082 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.1221, allocations: 294.9 kB / 0.6085 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1221, allocations: 8 kB / 0.6085 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1221, allocations: 0 / 0.6085 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1221, allocations: 0 / 0.6085 GB, free: 5.078 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.0005863/0.1227, allocations: 0.6313 MB / 0.6091 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1227, allocations: 8.031 kB / 0.6092 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.1228, allocations: 44.7 kB / 0.6092 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.1232, allocations: 370.7 kB / 0.6095 GB, free: 3.965 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.1232, allocations: 4.609 kB / 0.6096 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1232, allocations: 12.38 kB / 0.6096 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1234, allocations: 136.9 kB / 0.6097 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1234, allocations: 4.125 kB / 0.6097 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1234, allocations: 12.12 kB / 0.6097 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.1234, allocations: 8 kB / 0.6097 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/0.1235, allocations: 43.91 kB / 0.6098 GB, free: 3.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.1241, allocations: 0.8319 MB / 0.6106 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.1242, allocations: 86.12 kB / 0.6107 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.1242, allocations: 31.45 kB / 0.6107 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.576e-05/0.1243, allocations: 12 kB / 0.6107 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.1243, allocations: 41.38 kB / 0.6107 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1243, allocations: 0 / 0.6107 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0004072/0.1247, allocations: 184.8 kB / 0.6109 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.022e-05/0.1247, allocations: 77.11 kB / 0.611 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.125, allocations: 346.8 kB / 0.6113 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.125, allocations: 25.7 kB / 0.6113 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.1251, allocations: 223 kB / 0.6116 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1251, allocations: 35.69 kB / 0.6116 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.1251, allocations: 31.38 kB / 0.6116 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1252, allocations: 0.5117 MB / 0.6121 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.1253, allocations: 15.98 kB / 0.6121 GB, free: 1.121 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/0.1253, allocations: 50.67 kB / 0.6122 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.1256, allocations: 58.75 kB / 0.6122 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1256, allocations: 0 / 0.6122 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001644/0.1258, allocations: 140.7 kB / 0.6124 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1258, allocations: 4 kB / 0.6124 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1258, allocations: 4.062 kB / 0.6124 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.1259, allocations: 51.28 kB / 0.6124 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.494e-05/0.126, allocations: 8 kB / 0.6124 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.1273, allocations: 3.483 MB / 0.6158 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.1274, allocations: 7.891 kB / 0.6158 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.1274, allocations: 4 kB / 0.6158 GB, free: 13.02 MB / 0.5417 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 8.615e-05/0.1275, allocations: 160.6 kB / 0.616 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.1275, allocations: 35.97 kB / 0.616 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.1277, allocations: 154.4 kB / 0.6162 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1277, allocations: 3.984 kB / 0.6162 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.1277, allocations: 0 / 0.6162 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1277, allocations: 4 kB / 0.6162 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.128, allocations: 0.5732 MB / 0.6167 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.128, allocations: 7.938 kB / 0.6168 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-06/0.1281, allocations: 8.125 kB / 0.6168 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.83e-05/0.1281, allocations: 39.34 kB / 0.6168 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1281, allocations: 4 kB / 0.6168 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.1297, allocations: 3.464 MB / 0.6202 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1297, allocations: 0 / 0.6202 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1299, allocations: 417.5 kB / 0.6206 GB, free: 7.777 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.408e-05/0.1299, allocations: 31.81 kB / 0.6206 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.13, allocations: 8.266 kB / 0.6206 GB, free: 7.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.767e-05/0.13, allocations: 11.94 kB / 0.6206 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.13, allocations: 4 kB / 0.6206 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.13, allocations: 7.984 kB / 0.6206 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001403/0.1302, allocations: 243.1 kB / 0.6209 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1302, allocations: 0 / 0.6209 GB, free: 7.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002711/0.1305, allocations: 51.89 kB / 0.6209 GB, free: 7.43 MB / 0.5417 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.0002351/0.1307, allocations: 159.3 kB / 0.6211 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.131, allocations: 398.9 kB / 0.6215 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1311, allocations: 0 / 0.6215 GB, free: 6.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.1312, allocations: 363.4 kB / 0.6218 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1316, allocations: 65.77 kB / 0.6219 GB, free: 6.383 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.1325, allocations: 0.5614 MB / 0.6224 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.708e-05/0.1326, allocations: 92.23 kB / 0.6225 GB, free: 5.668 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.1326, allocations: 26.12 kB / 0.6225 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.1327, allocations: 28.48 kB / 0.6226 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/0.1327, allocations: 0 / 0.6226 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of Templates: time 0.005747/0.1384, allocations: 3.558 MB / 0.626 GB, free: 2.141 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.5785930149722844]