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.0009527/0.0009527, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.0009271/0.0009271, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9267/0.9267, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.6662/0.6662, allocations: 118.6 MB / 379.7 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 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.783e-06/1.783e-06, allocations: 6.984 kB / 484.8 MB, free: 8.125 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.569e-05, allocations: 2.312 kB / 484.8 MB, free: 8.121 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Boundaries.Tests.SourceSink): time 0.1163/0.1163, allocations: 126.7 MB / 0.5972 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008293/0.1172, allocations: 0.7669 MB / 0.598 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.1173, allocations: 27.75 kB / 0.598 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003344/0.1177, allocations: 75.3 kB / 0.5981 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.118, allocations: 190.7 kB / 0.5982 GB, free: 248 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1182, allocations: 119.6 kB / 0.5984 GB, free: 128 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0003566/0.1186, allocations: 450 kB / 0.5988 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1187, allocations: 36.92 kB / 0.5988 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003917/0.1191, allocations: 271.1 kB / 0.5991 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1192, allocations: 111.7 kB / 0.5992 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1192, allocations: 15.94 kB / 0.5992 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.1193, allocations: 75.81 kB / 0.5993 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.1194, allocations: 35.78 kB / 0.5993 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 5.263e-05/0.1194, allocations: 71.73 kB / 0.5994 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.1197, allocations: 243 kB / 0.5996 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1197, allocations: 4 kB / 0.5996 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1197, allocations: 3.938 kB / 0.5996 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1197, allocations: 4 kB / 0.5996 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.0004973/0.1202, allocations: 0.6315 MB / 0.6002 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.1202, allocations: 8.031 kB / 0.6002 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.1203, allocations: 48.7 kB / 0.6003 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1206, allocations: 366.7 kB / 0.6006 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1206, allocations: 12.61 kB / 0.6006 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1206, allocations: 16.31 kB / 0.6007 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.1208, allocations: 124.9 kB / 0.6008 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.1208, allocations: 192 / 0.6008 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1208, allocations: 8.125 kB / 0.6008 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1208, allocations: 4 kB / 0.6008 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.21e-05/0.1208, allocations: 35.91 kB / 0.6008 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.1213, allocations: 0.7817 MB / 0.6016 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.464e-05/0.1214, allocations: 90.09 kB / 0.6017 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.1214, allocations: 27.38 kB / 0.6017 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.1215, allocations: 8.078 kB / 0.6017 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.1215, allocations: 37.39 kB / 0.6017 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.1215, allocations: 3.938 kB / 0.6018 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0003208/0.1218, allocations: 168.6 kB / 0.6019 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002822/0.1221, allocations: 81.09 kB / 0.602 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.1222, allocations: 346.6 kB / 0.6023 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.1223, allocations: 25.7 kB / 0.6023 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.1223, allocations: 223 kB / 0.6026 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1224, allocations: 35.72 kB / 0.6026 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.1224, allocations: 27.38 kB / 0.6026 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1225, allocations: 0.5156 MB / 0.6031 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.285e-05/0.1225, allocations: 4 kB / 0.6031 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.363e-05/0.1226, allocations: 54.66 kB / 0.6032 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.1226, allocations: 62.69 kB / 0.6032 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1226, allocations: 3.938 kB / 0.6032 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001348/0.1228, allocations: 136.7 kB / 0.6034 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.1228, allocations: 4 kB / 0.6034 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1228, allocations: 7.984 kB / 0.6034 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001136/0.1229, allocations: 47.36 kB / 0.6034 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.28e-05/0.1229, allocations: 8 kB / 0.6034 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.1241, allocations: 3.433 MB / 0.6068 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.1241, allocations: 3.984 kB / 0.6068 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1241, allocations: 4 kB / 0.6068 GB, free: 6.938 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.038e-05/0.1242, allocations: 164.5 kB / 0.607 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.1243, allocations: 35.77 kB / 0.607 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.1244, allocations: 147 kB / 0.6071 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.1244, allocations: 4 kB / 0.6071 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.1244, allocations: 3.938 kB / 0.6071 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1244, allocations: 3.938 kB / 0.6071 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002785/0.1247, allocations: 0.5191 MB / 0.6076 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1247, allocations: 0 / 0.6076 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-06/0.1247, allocations: 7.984 kB / 0.6077 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.708e-05/0.1248, allocations: 43.48 kB / 0.6077 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1248, allocations: 3.984 kB / 0.6077 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/0.1262, allocations: 3.418 MB / 0.611 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1262, allocations: 4 kB / 0.611 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.1264, allocations: 417.5 kB / 0.6114 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.1264, allocations: 35.8 kB / 0.6115 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1264, allocations: 0 / 0.6115 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.1265, allocations: 12.16 kB / 0.6115 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.1265, allocations: 7.984 kB / 0.6115 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1265, allocations: 0 / 0.6115 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001003/0.1266, allocations: 235 kB / 0.6117 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1266, allocations: 3.938 kB / 0.6117 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000249/0.1269, allocations: 51.89 kB / 0.6118 GB, free: 1.488 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.0001024/0.127, allocations: 107.4 kB / 0.6119 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.1272, allocations: 399.1 kB / 0.6123 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1272, allocations: 0 / 0.6123 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1273, allocations: 371.3 kB / 0.6126 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.1277, allocations: 74.2 kB / 0.6127 GB, free: 484 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.1285, allocations: 0.5678 MB / 0.6132 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.075e-05/0.1285, allocations: 84.31 kB / 0.6133 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.987e-05/0.1286, allocations: 34.22 kB / 0.6133 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.1287, allocations: 126.2 kB / 0.6135 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of SimCode: time 7.62e-07/0.1287, allocations: 3.938 kB / 0.6135 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of Templates: time 0.005345/0.134, allocations: 3.249 MB / 0.6166 GB, free: 12.44 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.520926721394062]