Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.00102/0.00102, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002445, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001084/0.001084, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001451/0.002535, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.8989/0.8989, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08237/0.9813, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.788/1.788, allocations: 389.9 MB / 0.6191 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4121/2.2, allocations: 127.1 MB / 0.7432 GB, free: 4.605 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7445 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.947e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1283/0.1283, allocations: 144.7 MB / 0.8858 GB, free: 2.262 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.1296, allocations: 1.18 MB / 0.887 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.31e-05/0.1296, allocations: 4 kB / 0.887 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1299, allocations: 51.62 kB / 0.887 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000463/0.1303, allocations: 306.4 kB / 0.8873 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.1305, allocations: 167.2 kB / 0.8875 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.1308, allocations: 227.2 kB / 0.8877 GB, free: 344 kB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.1309, allocations: 41.92 kB / 0.8877 GB, free: 300 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1311, allocations: 123.8 kB / 0.8878 GB, free: 176 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.92e-05/0.1311, allocations: 43.88 kB / 0.8879 GB, free: 132 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1311, allocations: 12 kB / 0.8879 GB, free: 120 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.1313, allocations: 131.7 kB / 0.888 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.1313, allocations: 27.94 kB / 0.8881 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.1314, allocations: 35.88 kB / 0.8881 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1316, allocations: 191.4 kB / 0.8883 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.547e-05/0.1316, allocations: 0 / 0.8883 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1316, allocations: 4 kB / 0.8883 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.1316, allocations: 4 kB / 0.8883 GB, free: 15.73 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004506/0.1321, allocations: 399.6 kB / 0.8887 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.1321, allocations: 8.031 kB / 0.8887 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.1324, allocations: 137.9 kB / 0.8888 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.1326, allocations: 141.3 kB / 0.8889 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1326, allocations: 8 kB / 0.8889 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1326, allocations: 16 kB / 0.889 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1327, allocations: 97.34 kB / 0.889 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.1328, allocations: 0 / 0.889 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1328, allocations: 4 kB / 0.8891 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1328, allocations: 7.938 kB / 0.8891 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/0.1328, allocations: 23.98 kB / 0.8891 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1332, allocations: 271.8 kB / 0.8893 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.495e-05/0.1333, allocations: 50.48 kB / 0.8894 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.1333, allocations: 16.84 kB / 0.8894 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.1333, allocations: 4 kB / 0.8894 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1334, allocations: 30.56 kB / 0.8894 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.1334, allocations: 0 / 0.8894 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0001395/0.1335, allocations: 65.61 kB / 0.8895 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.1335, allocations: 51.41 kB / 0.8895 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.1336, allocations: 144.9 kB / 0.8897 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.1336, allocations: 25.7 kB / 0.8897 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.1337, allocations: 115.9 kB / 0.8898 GB, free: 14 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.1337, allocations: 23.78 kB / 0.8898 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.1337, allocations: 25.7 kB / 0.8899 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.1338, allocations: 326.8 kB / 0.8902 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.1338, allocations: 4 kB / 0.8902 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.1339, allocations: 8 kB / 0.8902 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.1339, allocations: 32.81 kB / 0.8902 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1339, allocations: 0 / 0.8902 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.183e-05/0.134, allocations: 58.09 kB / 0.8903 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.134, allocations: 6.656 kB / 0.8903 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.134, allocations: 80 / 0.8903 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.134, allocations: 0 / 0.8903 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/0.1341, allocations: 27.98 kB / 0.8903 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1341, allocations: 3.984 kB / 0.8903 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.1341, allocations: 7.938 kB / 0.8903 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.1341, allocations: 0 / 0.8903 GB, free: 13.46 MB / 0.8698 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.28e-05/0.1342, allocations: 120.6 kB / 0.8904 GB, free: 13.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.1342, allocations: 8 kB / 0.8904 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.1343, allocations: 74.36 kB / 0.8905 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1343, allocations: 4 kB / 0.8905 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1343, allocations: 4 kB / 0.8905 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1344, allocations: 0 / 0.8905 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.1345, allocations: 101.8 kB / 0.8906 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1345, allocations: 3.938 kB / 0.8906 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.1345, allocations: 19.94 kB / 0.8906 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.1345, allocations: 11.94 kB / 0.8907 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1345, allocations: 0 / 0.8907 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.1345, allocations: 0 / 0.8907 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1345, allocations: 0 / 0.8907 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1345, allocations: 0 / 0.8907 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.587e-05/0.1346, allocations: 159.4 kB / 0.8908 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.1346, allocations: 0 / 0.8908 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.1347, allocations: 8 kB / 0.8908 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.1347, allocations: 11.98 kB / 0.8908 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1347, allocations: 0 / 0.8908 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.458e-05/0.1347, allocations: 28.83 kB / 0.8909 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1347, allocations: 0 / 0.8909 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001244/0.1349, allocations: 31.89 kB / 0.8909 GB, free: 12.83 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.325e-05/0.1349, allocations: 76.42 kB / 0.891 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.899e-05/0.135, allocations: 32.78 kB / 0.891 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.135, allocations: 0 / 0.891 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/0.135, allocations: 28.83 kB / 0.891 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.1352, allocations: 45.92 kB / 0.8911 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.1363, allocations: 274.1 kB / 0.8913 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.403e-05/0.1363, allocations: 67.34 kB / 0.8914 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.236e-05/0.1364, allocations: 12.48 kB / 0.8914 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.1365, allocations: 67.36 kB / 0.8915 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of SimCode: time 9.01e-07/0.1365, allocations: 0 / 0.8915 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of Templates: time 0.002855/0.1393, allocations: 1.568 MB / 0.893 GB, free: 10.66 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5182036170735955]