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.001611/0.001611, allocations: 89.06 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.00176/0.00176, allocations: 173.3 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 1.087/1.087, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7669/0.7669, allocations: 118.6 MB / 378.6 MB, free: 1.488 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 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="Time|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="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Boundaries.Tests.SourceSink") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 483.6 MB, free: 8.199 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.417e-05, allocations: 2.312 kB / 483.6 MB, free: 8.195 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1439/0.1439, allocations: 129.6 MB / 0.5988 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.145, allocations: 0.7632 MB / 0.5996 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.1452, allocations: 35.69 kB / 0.5996 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.1456, allocations: 75.3 kB / 0.5997 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.146, allocations: 190.7 kB / 0.5999 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.1463, allocations: 123.6 kB / 0.6 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.1468, allocations: 446 kB / 0.6004 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001632/0.1469, allocations: 36.92 kB / 0.6005 GB, free: 13 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/0.1474, allocations: 259.1 kB / 0.6007 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.1476, allocations: 107.7 kB / 0.6008 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.1476, allocations: 12 kB / 0.6008 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.1478, allocations: 75.8 kB / 0.6009 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.1479, allocations: 43.72 kB / 0.6009 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.148, allocations: 67.8 kB / 0.601 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.1484, allocations: 250.9 kB / 0.6012 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1484, allocations: 0 / 0.6012 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1484, allocations: 0 / 0.6012 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.1484, allocations: 4 kB / 0.6012 GB, free: 12.19 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.0007907/0.1492, allocations: 0.6278 MB / 0.6018 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1492, allocations: 8.031 kB / 0.6019 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/0.1493, allocations: 44.7 kB / 0.6019 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.1498, allocations: 366.6 kB / 0.6022 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1498, allocations: 12.61 kB / 0.6023 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.1498, allocations: 16.36 kB / 0.6023 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002153/0.15, allocations: 137.1 kB / 0.6024 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.15, allocations: 192 / 0.6024 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1501, allocations: 8.125 kB / 0.6024 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1501, allocations: 8 kB / 0.6024 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.1501, allocations: 42.53 kB / 0.6025 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007995/0.1509, allocations: 0.828 MB / 0.6033 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1511, allocations: 90.11 kB / 0.6034 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.1511, allocations: 31.38 kB / 0.6034 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.955e-05/0.1512, allocations: 12.02 kB / 0.6034 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1512, allocations: 37.39 kB / 0.6034 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.645e-06/0.1512, allocations: 4 kB / 0.6034 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.000485/0.1517, allocations: 172.6 kB / 0.6036 GB, free: 9.574 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1518, allocations: 85.03 kB / 0.6037 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.1522, allocations: 346.8 kB / 0.604 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1522, allocations: 25.7 kB / 0.604 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.1523, allocations: 223 kB / 0.6042 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.1524, allocations: 31.73 kB / 0.6043 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.1524, allocations: 35.33 kB / 0.6043 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1526, allocations: 0.5156 MB / 0.6048 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.099e-05/0.1526, allocations: 12 kB / 0.6048 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.595e-05/0.1527, allocations: 50.73 kB / 0.6049 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.275e-05/0.1527, allocations: 70.67 kB / 0.6049 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1527, allocations: 0 / 0.6049 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002003/0.1529, allocations: 140.7 kB / 0.6051 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.153, allocations: 8.062 kB / 0.6051 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.153, allocations: 4 kB / 0.6051 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.1532, allocations: 39.36 kB / 0.6051 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.699e-05/0.1532, allocations: 11.94 kB / 0.6051 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/0.155, allocations: 3.463 MB / 0.6085 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.155, allocations: 11.89 kB / 0.6085 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.155, allocations: 8 kB / 0.6085 GB, free: 4.148 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 0.0001028/0.1551, allocations: 160.7 kB / 0.6087 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.795e-05/0.1552, allocations: 39.8 kB / 0.6087 GB, free: 3.941 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.1554, allocations: 150.9 kB / 0.6089 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1554, allocations: 4 kB / 0.6089 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.1554, allocations: 0 / 0.6089 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1554, allocations: 0 / 0.6089 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.1558, allocations: 0.5694 MB / 0.6094 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1558, allocations: 8.031 kB / 0.6094 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/0.1558, allocations: 8 kB / 0.6095 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.1559, allocations: 43.28 kB / 0.6095 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1559, allocations: 8 kB / 0.6095 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.1576, allocations: 3.456 MB / 0.6129 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1576, allocations: 7.938 kB / 0.6129 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1578, allocations: 417.7 kB / 0.6133 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.1578, allocations: 35.83 kB / 0.6133 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.1579, allocations: 4 kB / 0.6133 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.871e-05/0.1579, allocations: 7.938 kB / 0.6133 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.158, allocations: 7.984 kB / 0.6133 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.158, allocations: 4 kB / 0.6133 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001425/0.1581, allocations: 243.1 kB / 0.6136 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.1581, allocations: 0 / 0.6136 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002697/0.1584, allocations: 51.89 kB / 0.6136 GB, free: 14.57 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.0001934/0.1586, allocations: 107.3 kB / 0.6137 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003885/0.159, allocations: 403.2 kB / 0.6141 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.159, allocations: 0 / 0.6141 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1591, allocations: 371.6 kB / 0.6145 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.1596, allocations: 57.64 kB / 0.6145 GB, free: 13.56 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1607, allocations: 0.5729 MB / 0.6151 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.073e-05/0.1607, allocations: 88.31 kB / 0.6152 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.49e-05/0.1608, allocations: 30.22 kB / 0.6152 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.1608, allocations: 24.48 kB / 0.6152 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of SimCode: time 9.12e-07/0.1608, allocations: 0 / 0.6152 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of Templates: time 0.006244/0.1671, allocations: 2.965 MB / 0.6181 GB, free: 9.91 MB / 0.5417 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 -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: 4.20637090690434]