Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.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.001024/0.001024, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001202/0.001202, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9338/0.9338, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.6672/0.6672, allocations: 118.6 MB / 378.9 MB, free: 1.359 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.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 1.562 kB / 484 MB, free: 8.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.486e-05, allocations: 5.125 kB / 484 MB, free: 8.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.1157/0.1157, allocations: 127.2 MB / 0.5969 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001246/0.117, allocations: 1.344 MB / 0.5982 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1171, allocations: 43.62 kB / 0.5983 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.1175, allocations: 111 kB / 0.5984 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.1179, allocations: 333.9 kB / 0.5987 GB, free: 15 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.1182, allocations: 227.2 kB / 0.5989 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.1188, allocations: 0.8215 MB / 0.5997 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1189, allocations: 79.52 kB / 0.5998 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.1194, allocations: 454.8 kB / 0.6002 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.1198, allocations: 363.1 kB / 0.6006 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.1198, allocations: 31.94 kB / 0.6006 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.12, allocations: 159.7 kB / 0.6007 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.062e-05/0.1201, allocations: 119.6 kB / 0.6008 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.1202, allocations: 147.6 kB / 0.601 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000714/0.1209, allocations: 0.4982 MB / 0.6015 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1209, allocations: 0 / 0.6015 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1209, allocations: 0 / 0.6015 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1209, allocations: 3.938 kB / 0.6015 GB, free: 12.12 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008453/0.1218, allocations: 0.8575 MB / 0.6023 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1218, allocations: 12.03 kB / 0.6023 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.585e-05/0.1219, allocations: 76.55 kB / 0.6024 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.1223, allocations: 466.3 kB / 0.6028 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1223, allocations: 16.88 kB / 0.6029 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.1223, allocations: 24.38 kB / 0.6029 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.1226, allocations: 269.2 kB / 0.6031 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.1226, allocations: 7.938 kB / 0.6032 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1226, allocations: 4 kB / 0.6032 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.1226, allocations: 24.48 kB / 0.6032 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1228, allocations: 155.2 kB / 0.6033 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1238, allocations: 1.198 MB / 0.6045 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.124, allocations: 131 kB / 0.6046 GB, free: 8.762 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.893e-05/0.1241, allocations: 98.88 kB / 0.6047 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.852e-05/0.1242, allocations: 30.44 kB / 0.6047 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.1242, allocations: 41.33 kB / 0.6048 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.242e-06/0.1242, allocations: 4 kB / 0.6048 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001033/0.1252, allocations: 0.7551 MB / 0.6055 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.1253, allocations: 55.41 kB / 0.6056 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1254, allocations: 386.5 kB / 0.6059 GB, free: 7.328 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1255, allocations: 29.7 kB / 0.606 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1256, allocations: 267.4 kB / 0.6062 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.221e-05/0.1256, allocations: 122.9 kB / 0.6063 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-05/0.1257, allocations: 75.3 kB / 0.6064 GB, free: 6.824 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1259, allocations: 0.539 MB / 0.6069 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.578e-05/0.1259, allocations: 51.81 kB / 0.607 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.021e-05/0.126, allocations: 55.81 kB / 0.607 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001709/0.1262, allocations: 151.6 kB / 0.6072 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1262, allocations: 0 / 0.6072 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003477/0.1265, allocations: 332.9 kB / 0.6075 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.1265, allocations: 4 kB / 0.6075 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1265, allocations: 0 / 0.6075 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.1267, allocations: 102.9 kB / 0.6076 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1269, allocations: 55.89 kB / 0.6077 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.1285, allocations: 2.381 MB / 0.61 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.1286, allocations: 4 kB / 0.61 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1286, allocations: 11.98 kB / 0.61 GB, free: 3.004 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.739e-05/0.1287, allocations: 168.6 kB / 0.6102 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.1287, allocations: 55.66 kB / 0.6102 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004856/0.1292, allocations: 0.5232 MB / 0.6107 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1292, allocations: 7.984 kB / 0.6107 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1292, allocations: 3.984 kB / 0.6107 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1292, allocations: 7.938 kB / 0.6107 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.1294, allocations: 253 kB / 0.611 GB, free: 1.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1294, allocations: 4 kB / 0.611 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.592e-05/0.1295, allocations: 27.91 kB / 0.611 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.1297, allocations: 106.9 kB / 0.6111 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.1297, allocations: 15.97 kB / 0.6111 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.1309, allocations: 2.396 MB / 0.6135 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1309, allocations: 0 / 0.6135 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.1314, allocations: 385 kB / 0.6138 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.1314, allocations: 63.67 kB / 0.6139 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1315, allocations: 4 kB / 0.6139 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.1315, allocations: 8 kB / 0.6139 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1316, allocations: 27.94 kB / 0.6139 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.1316, allocations: 7.984 kB / 0.614 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001279/0.1317, allocations: 278.9 kB / 0.6142 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1317, allocations: 0 / 0.6142 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002932/0.132, allocations: 108 kB / 0.6143 GB, free: 14.36 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (source.outlet.m_flow,source1.outlet.m_flow,source2.outlet.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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.1321, allocations: 123.2 kB / 0.6144 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.1326, allocations: 421 kB / 0.6148 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1326, allocations: 0 / 0.6148 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/0.1331, allocations: 349.8 kB / 0.6152 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1335, allocations: 125.7 kB / 0.6153 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.1346, allocations: 0.826 MB / 0.6161 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.96e-05/0.1347, allocations: 129.2 kB / 0.6162 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.1348, allocations: 63.2 kB / 0.6163 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.135, allocations: 174.1 kB / 0.6164 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of SimCode: time 6.51e-07/0.135, allocations: 0 / 0.6164 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.008672/0.1437, allocations: 7.283 MB / 0.6236 GB, free: 4.945 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_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.6437839469872415]