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.0009838/0.0009838, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001491/0.002475, allocations: 449.8 kB / 10.44 MB, free: 252 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.001028/0.001028, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001476/0.002504, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.898/0.898, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0791/0.9771, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.811/1.811, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4139/2.224, allocations: 127.1 MB / 0.7435 GB, free: 4.504 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.543e-06/1.543e-06, allocations: 0.6562 kB / 0.7448 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.945e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1202/0.1203, allocations: 144.7 MB / 0.8861 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1215, allocations: 1.183 MB / 0.8873 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.404e-05/0.1216, allocations: 0 / 0.8873 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.1219, allocations: 55.62 kB / 0.8873 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006147/0.1225, allocations: 306.4 kB / 0.8876 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1228, allocations: 171.1 kB / 0.8878 GB, free: 448 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.1231, allocations: 219.3 kB / 0.888 GB, free: 228 kB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.1232, allocations: 49.91 kB / 0.8881 GB, free: 176 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.1234, allocations: 115.8 kB / 0.8882 GB, free: 60 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.1234, allocations: 43.88 kB / 0.8882 GB, free: 16 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1235, allocations: 15.94 kB / 0.8882 GB, free: 0 / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1236, allocations: 131.8 kB / 0.8884 GB, free: 15.87 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.1237, allocations: 23.88 kB / 0.8884 GB, free: 15.85 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.1237, allocations: 31.94 kB / 0.8884 GB, free: 15.82 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1239, allocations: 195.4 kB / 0.8886 GB, free: 15.62 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 1.164e-05/0.1239, allocations: 4 kB / 0.8886 GB, free: 15.62 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1239, allocations: 0 / 0.8886 GB, free: 15.62 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.124, allocations: 0 / 0.8886 GB, free: 15.62 MB / 0.8699 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.000428/0.1244, allocations: 407.5 kB / 0.889 GB, free: 15.2 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.1244, allocations: 8.031 kB / 0.889 GB, free: 15.19 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.1247, allocations: 145.8 kB / 0.8891 GB, free: 15.03 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1248, allocations: 139.4 kB / 0.8893 GB, free: 14.87 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1248, allocations: 12 kB / 0.8893 GB, free: 14.86 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.1249, allocations: 12 kB / 0.8893 GB, free: 14.85 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.125, allocations: 101.3 kB / 0.8894 GB, free: 14.74 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.125, allocations: 0 / 0.8894 GB, free: 14.74 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.125, allocations: 4 kB / 0.8894 GB, free: 14.74 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.125, allocations: 7.984 kB / 0.8894 GB, free: 14.73 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.095e-05/0.125, allocations: 27.92 kB / 0.8894 GB, free: 14.7 MB / 0.8699 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.1254, allocations: 267.8 kB / 0.8897 GB, free: 14.43 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 6.562e-05/0.1254, allocations: 50.5 kB / 0.8897 GB, free: 14.37 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.909e-05/0.1254, allocations: 12.86 kB / 0.8897 GB, free: 14.35 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.1255, allocations: 0 / 0.8897 GB, free: 14.35 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.1255, allocations: 38.5 kB / 0.8898 GB, free: 14.3 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=7): time 6.91e-07/0.1255, allocations: 0 / 0.8898 GB, free: 14.3 MB / 0.8699 GB Notification: Performance of matching and sorting (n=7): time 0.0001108/0.1256, allocations: 61.66 kB / 0.8898 GB, free: 14.24 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.1256, allocations: 59.41 kB / 0.8899 GB, free: 14.17 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.1257, allocations: 137.8 kB / 0.89 GB, free: 14.02 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.1257, allocations: 25.7 kB / 0.89 GB, free: 13.99 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.1257, allocations: 119.9 kB / 0.8902 GB, free: 13.87 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.1258, allocations: 27.78 kB / 0.8902 GB, free: 13.84 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.1258, allocations: 21.7 kB / 0.8902 GB, free: 13.82 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.1258, allocations: 322.8 kB / 0.8905 GB, free: 13.49 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.1259, allocations: 7.984 kB / 0.8905 GB, free: 13.48 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.176e-05/0.1259, allocations: 4 kB / 0.8905 GB, free: 13.48 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.1259, allocations: 32.77 kB / 0.8906 GB, free: 13.45 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1259, allocations: 4 kB / 0.8906 GB, free: 13.44 MB / 0.8699 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.527e-05/0.126, allocations: 58.14 kB / 0.8906 GB, free: 13.38 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.126, allocations: 8.625 kB / 0.8906 GB, free: 13.37 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.126, allocations: 0 / 0.8906 GB, free: 13.37 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.126, allocations: 0 / 0.8906 GB, free: 13.37 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.699e-05/0.1261, allocations: 16 kB / 0.8906 GB, free: 13.36 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1261, allocations: 8.047 kB / 0.8906 GB, free: 13.35 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.1261, allocations: 7.938 kB / 0.8907 GB, free: 13.34 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1261, allocations: 7.938 kB / 0.8907 GB, free: 13.33 MB / 0.8699 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 5.016e-05/0.1262, allocations: 120.5 kB / 0.8908 GB, free: 13.2 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.1262, allocations: 7.984 kB / 0.8908 GB, free: 13.2 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.923e-05/0.1263, allocations: 66.45 kB / 0.8908 GB, free: 13.12 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1263, allocations: 0 / 0.8908 GB, free: 13.12 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.1263, allocations: 0 / 0.8908 GB, free: 13.12 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1263, allocations: 4 kB / 0.8909 GB, free: 13.12 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1264, allocations: 101.8 kB / 0.8909 GB, free: 13 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1264, allocations: 7.938 kB / 0.891 GB, free: 12.99 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.1264, allocations: 19.92 kB / 0.891 GB, free: 12.97 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.1264, allocations: 7.938 kB / 0.891 GB, free: 12.96 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1264, allocations: 4 kB / 0.891 GB, free: 12.96 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.1264, allocations: 0 / 0.891 GB, free: 12.96 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1264, allocations: 4 kB / 0.891 GB, free: 12.96 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1264, allocations: 0 / 0.891 GB, free: 12.96 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.43e-05/0.1265, allocations: 151.5 kB / 0.8911 GB, free: 12.79 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1265, allocations: 4 kB / 0.8911 GB, free: 12.79 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.1266, allocations: 8 kB / 0.8911 GB, free: 12.78 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.1266, allocations: 3.984 kB / 0.8912 GB, free: 12.78 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.1266, allocations: 4 kB / 0.8912 GB, free: 12.77 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 2.323e-05/0.1266, allocations: 32.81 kB / 0.8912 GB, free: 12.74 MB / 0.8699 GB Notification: Performance of sort global known variables: time 4e-08/0.1266, allocations: 4 kB / 0.8912 GB, free: 12.73 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0001209/0.1267, allocations: 23.89 kB / 0.8912 GB, free: 12.71 MB / 0.8699 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 8.137e-05/0.1268, allocations: 80.36 kB / 0.8913 GB, free: 12.62 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 7.854e-05/0.1269, allocations: 40.83 kB / 0.8913 GB, free: 12.58 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.1269, allocations: 3.938 kB / 0.8913 GB, free: 12.58 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.1269, allocations: 24.86 kB / 0.8914 GB, free: 12.55 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.1272, allocations: 188.3 kB / 0.8915 GB, free: 12.34 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1283, allocations: 271.6 kB / 0.8918 GB, free: 12.04 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.1283, allocations: 67.33 kB / 0.8919 GB, free: 11.96 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 4.023e-05/0.1284, allocations: 4.5 kB / 0.8919 GB, free: 11.95 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.321e-05/0.1284, allocations: 67.36 kB / 0.8919 GB, free: 11.89 MB / 0.8699 GB Notification: Performance of SimCode: time 5.81e-07/0.1285, allocations: 4 kB / 0.8919 GB, free: 11.88 MB / 0.8699 GB Notification: Performance of Templates: time 0.002693/0.1311, allocations: 1.537 MB / 0.8934 GB, free: 10.4 MB / 0.8699 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.529525342397392]