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.001167/0.001167, 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.001458/0.001458, allocations: 169 kB / 23.27 MB, free: 1.223 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.9604/0.9604, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.6775/0.6775, allocations: 118.6 MB / 378.9 MB, free: 1.355 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.583e-06/1.583e-06, allocations: 0 / 484 MB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.833e-05, allocations: 10.52 kB / 484.1 MB, free: 8.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1421/0.1421, allocations: 126.7 MB / 0.5964 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007838/0.1429, allocations: 0.767 MB / 0.5972 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.1431, allocations: 31.69 kB / 0.5972 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.1434, allocations: 79.23 kB / 0.5973 GB, free: 420 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1437, allocations: 190.8 kB / 0.5975 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1439, allocations: 123.5 kB / 0.5976 GB, free: 104 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.1443, allocations: 445.9 kB / 0.598 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1444, allocations: 40.62 kB / 0.5981 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003891/0.1448, allocations: 263.2 kB / 0.5983 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1449, allocations: 115.7 kB / 0.5984 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1449, allocations: 8 kB / 0.5984 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1451, allocations: 87.67 kB / 0.5985 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.633e-05/0.1451, allocations: 35.78 kB / 0.5985 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.1452, allocations: 71.78 kB / 0.5986 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.1455, allocations: 239 kB / 0.5988 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1455, allocations: 0 / 0.5988 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1455, allocations: 0 / 0.5988 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1455, allocations: 4 kB / 0.5988 GB, free: 14.82 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.0005373/0.146, allocations: 0.6356 MB / 0.5995 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1461, allocations: 11.97 kB / 0.5995 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.1461, allocations: 48.7 kB / 0.5995 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1464, allocations: 362.7 kB / 0.5999 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1465, allocations: 12.61 kB / 0.5999 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1465, allocations: 16.36 kB / 0.5999 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1466, allocations: 129.1 kB / 0.6 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1466, allocations: 192 / 0.6 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1466, allocations: 8.125 kB / 0.6 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1467, allocations: 4 kB / 0.6 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.464e-05/0.1467, allocations: 31.91 kB / 0.6001 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.1472, allocations: 0.7895 MB / 0.6008 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.1473, allocations: 82.14 kB / 0.6009 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.741e-05/0.1473, allocations: 31.45 kB / 0.6009 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.1474, allocations: 4 kB / 0.6009 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.1474, allocations: 41.39 kB / 0.601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.1474, allocations: 0 / 0.601 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003653/0.1478, allocations: 180.9 kB / 0.6011 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.1478, allocations: 77.11 kB / 0.6012 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.148, allocations: 342.6 kB / 0.6015 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.148, allocations: 25.7 kB / 0.6016 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.073e-05/0.1481, allocations: 230.9 kB / 0.6018 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1481, allocations: 31.73 kB / 0.6018 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1481, allocations: 35.31 kB / 0.6019 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1483, allocations: 0.5156 MB / 0.6024 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.1483, allocations: 4 kB / 0.6024 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.1483, allocations: 46.67 kB / 0.6024 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.1484, allocations: 74.7 kB / 0.6025 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1484, allocations: 3.938 kB / 0.6025 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001472/0.1485, allocations: 132.7 kB / 0.6026 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1485, allocations: 4 kB / 0.6026 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1485, allocations: 4 kB / 0.6026 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001282/0.1487, allocations: 47.36 kB / 0.6027 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.763e-05/0.1487, allocations: 11.98 kB / 0.6027 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.15, allocations: 3.425 MB / 0.606 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.1501, allocations: 7.953 kB / 0.606 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.1501, allocations: 0 / 0.606 GB, free: 6.918 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 8.309e-05/0.1501, allocations: 164.5 kB / 0.6062 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.1502, allocations: 31.81 kB / 0.6062 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1503, allocations: 151 kB / 0.6064 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1503, allocations: 4.062 kB / 0.6064 GB, free: 6.535 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1503, allocations: 3.984 kB / 0.6064 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1504, allocations: 7.938 kB / 0.6064 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.1507, allocations: 0.5152 MB / 0.6069 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1507, allocations: 0 / 0.6069 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-06/0.1507, allocations: 7.938 kB / 0.6069 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.878e-05/0.1508, allocations: 47.47 kB / 0.6069 GB, free: 5.895 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1508, allocations: 7.938 kB / 0.6069 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001144/0.1519, allocations: 3.43 MB / 0.6103 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1519, allocations: 0 / 0.6103 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.1521, allocations: 413.5 kB / 0.6107 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.1521, allocations: 32.03 kB / 0.6107 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.1522, allocations: 8 kB / 0.6107 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.576e-05/0.1522, allocations: 0 / 0.6107 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.1522, allocations: 7.984 kB / 0.6107 GB, free: 1.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.778e-06/0.1522, allocations: 8.125 kB / 0.6107 GB, free: 1.734 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001035/0.1523, allocations: 235 kB / 0.611 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.1523, allocations: 0 / 0.611 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002568/0.1526, allocations: 51.89 kB / 0.611 GB, free: 1.461 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.0001447/0.1527, allocations: 103.2 kB / 0.6111 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.153, allocations: 398.9 kB / 0.6115 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.153, allocations: 0 / 0.6115 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1532, allocations: 367.4 kB / 0.6118 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1535, allocations: 73.77 kB / 0.6119 GB, free: 460 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/0.1544, allocations: 0.5613 MB / 0.6125 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.379e-05/0.1545, allocations: 92.23 kB / 0.6125 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.511e-05/0.1545, allocations: 30.27 kB / 0.6126 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.1546, allocations: 130.2 kB / 0.6127 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of SimCode: time 6.41e-07/0.1546, allocations: 0 / 0.6127 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of Templates: time 0.005091/0.1597, allocations: 3.217 MB / 0.6158 GB, free: 12.45 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: 3.6735659651458263]