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.001108/0.001108, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001164/0.001164, allocations: 169 kB / 23.02 MB, free: 1.547 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.9146/0.9146, allocations: 177.1 MB / 203.4 MB, free: 5.582 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.6256/0.6256, allocations: 118.6 MB / 378.6 MB, free: 1.516 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.352e-06/1.352e-06, allocations: 0 / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.457e-05, allocations: 5.266 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1201/0.1201, allocations: 129.6 MB / 0.5988 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007519/0.1208, allocations: 0.7631 MB / 0.5996 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.121, allocations: 39.69 kB / 0.5996 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1213, allocations: 79.22 kB / 0.5997 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.1216, allocations: 182.8 kB / 0.5999 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.1218, allocations: 123.5 kB / 0.6 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.1221, allocations: 449.9 kB / 0.6004 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1222, allocations: 36.91 kB / 0.6005 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.1225, allocations: 255.2 kB / 0.6007 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1227, allocations: 111.7 kB / 0.6008 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1227, allocations: 8 kB / 0.6008 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1228, allocations: 83.73 kB / 0.6009 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.1228, allocations: 39.73 kB / 0.6009 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.1229, allocations: 75.78 kB / 0.601 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1232, allocations: 243 kB / 0.6012 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1232, allocations: 0 / 0.6012 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1232, allocations: 0 / 0.6012 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1232, allocations: 0 / 0.6012 GB, free: 12.21 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.0005591/0.1237, allocations: 0.6317 MB / 0.6019 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.1238, allocations: 11.97 kB / 0.6019 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.1238, allocations: 48.7 kB / 0.6019 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.1242, allocations: 362.7 kB / 0.6023 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1242, allocations: 8.594 kB / 0.6023 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.1242, allocations: 12.38 kB / 0.6023 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1244, allocations: 136.9 kB / 0.6024 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1244, allocations: 4.188 kB / 0.6024 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1244, allocations: 8.125 kB / 0.6024 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1244, allocations: 8 kB / 0.6024 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.575e-05/0.1245, allocations: 39.91 kB / 0.6025 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.125, allocations: 0.832 MB / 0.6033 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.1251, allocations: 86.12 kB / 0.6034 GB, free: 9.879 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.1252, allocations: 31.38 kB / 0.6034 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.126e-05/0.1252, allocations: 12.08 kB / 0.6034 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.1252, allocations: 37.33 kB / 0.6034 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1253, allocations: 4 kB / 0.6034 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003781/0.1256, allocations: 172.6 kB / 0.6036 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.1257, allocations: 85.09 kB / 0.6037 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1259, allocations: 346.8 kB / 0.604 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.1259, allocations: 25.7 kB / 0.604 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.126, allocations: 223 kB / 0.6043 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.126, allocations: 31.73 kB / 0.6043 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.126, allocations: 35.38 kB / 0.6043 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003342/0.1264, allocations: 0.5117 MB / 0.6048 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.1264, allocations: 8 kB / 0.6048 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.1264, allocations: 54.67 kB / 0.6049 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.1265, allocations: 67.09 kB / 0.6049 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1265, allocations: 0 / 0.6049 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001476/0.1266, allocations: 144.7 kB / 0.6051 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1266, allocations: 11.03 kB / 0.6051 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1266, allocations: 0 / 0.6051 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001446/0.1268, allocations: 43.3 kB / 0.6051 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.275e-05/0.1268, allocations: 12 kB / 0.6051 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.1281, allocations: 3.463 MB / 0.6085 GB, free: 4.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.1281, allocations: 11.94 kB / 0.6085 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1281, allocations: 4 kB / 0.6085 GB, free: 4.176 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 7.472e-05/0.1282, allocations: 160.8 kB / 0.6087 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.1282, allocations: 39.75 kB / 0.6087 GB, free: 3.969 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.1284, allocations: 146.8 kB / 0.6089 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1284, allocations: 4 kB / 0.6089 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.1284, allocations: 4 kB / 0.6089 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1284, allocations: 0 / 0.6089 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.1287, allocations: 0.5694 MB / 0.6094 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1287, allocations: 4.125 kB / 0.6094 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.544e-06/0.1287, allocations: 7.938 kB / 0.6095 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.211e-05/0.1288, allocations: 43.34 kB / 0.6095 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1288, allocations: 4 kB / 0.6095 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.1301, allocations: 3.456 MB / 0.6129 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1301, allocations: 0 / 0.6129 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.1303, allocations: 425.7 kB / 0.6133 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.1304, allocations: 43.75 kB / 0.6133 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.1304, allocations: 8 kB / 0.6133 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.1305, allocations: 3.938 kB / 0.6133 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.1305, allocations: 8.047 kB / 0.6133 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.1305, allocations: 8 kB / 0.6133 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001268/0.1306, allocations: 239.1 kB / 0.6136 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.1306, allocations: 4 kB / 0.6136 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000232/0.1308, allocations: 51.88 kB / 0.6136 GB, free: 14.59 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.0001227/0.131, allocations: 111.4 kB / 0.6137 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.1312, allocations: 399.2 kB / 0.6141 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1312, allocations: 0 / 0.6141 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1314, allocations: 371.7 kB / 0.6145 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1317, allocations: 61.44 kB / 0.6145 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/0.1326, allocations: 0.568 MB / 0.6151 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.1327, allocations: 88.25 kB / 0.6152 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.872e-05/0.1327, allocations: 38.2 kB / 0.6152 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.1327, allocations: 24.48 kB / 0.6152 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.1327, allocations: 0 / 0.6152 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of Templates: time 0.004609/0.1373, allocations: 2.963 MB / 0.6181 GB, free: 9.93 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.5109140900895]