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.001465/0.001465, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.001621/0.001621, allocations: 165 kB / 24.25 MB, free: 208 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.9558/0.9558, allocations: 177.1 MB / 204.7 MB, free: 5.457 MB / 186.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.859/1.859, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 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.513e-06/1.513e-06, allocations: 0 / 0.7754 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.442e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1287/0.1287, allocations: 144.3 MB / 0.9163 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.13, allocations: 1.172 MB / 0.9175 GB, free: 3.406 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1301, allocations: 7.938 kB / 0.9175 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.1305, allocations: 39.69 kB / 0.9175 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.000701/0.1312, allocations: 318.3 kB / 0.9178 GB, free: 3.047 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.1315, allocations: 171.2 kB / 0.918 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0006857/0.1322, allocations: 223.2 kB / 0.9182 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1323, allocations: 41.92 kB / 0.9182 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.1325, allocations: 115.7 kB / 0.9183 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.1325, allocations: 47.81 kB / 0.9184 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1325, allocations: 12 kB / 0.9184 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.1327, allocations: 123.8 kB / 0.9185 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.1328, allocations: 35.84 kB / 0.9185 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1328, allocations: 35.92 kB / 0.9186 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1331, allocations: 219.2 kB / 0.9188 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1331, allocations: 0 / 0.9188 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1331, allocations: 4 kB / 0.9188 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.1331, allocations: 0 / 0.9188 GB, free: 2.035 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.0004337/0.1336, allocations: 368 kB / 0.9191 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1336, allocations: 9.344 kB / 0.9191 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.1339, allocations: 60.75 kB / 0.9192 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.134, allocations: 133.4 kB / 0.9193 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.134, allocations: 15.94 kB / 0.9193 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.134, allocations: 4 kB / 0.9193 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1342, allocations: 102.3 kB / 0.9194 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1342, allocations: 0 / 0.9194 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1342, allocations: 8 kB / 0.9195 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1342, allocations: 0 / 0.9195 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.194e-05/0.1343, allocations: 29.72 kB / 0.9195 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.1346, allocations: 263.8 kB / 0.9197 GB, free: 0.9922 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.618e-05/0.1347, allocations: 50.44 kB / 0.9198 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.1347, allocations: 20.84 kB / 0.9198 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1347, allocations: 0 / 0.9198 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1347, allocations: 34.56 kB / 0.9198 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1347, allocations: 0 / 0.9198 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.000123/0.1349, allocations: 61.67 kB / 0.9199 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.1349, allocations: 55.34 kB / 0.9199 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.135, allocations: 141.1 kB / 0.9201 GB, free: 0.5859 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.135, allocations: 33.7 kB / 0.9201 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.135, allocations: 107.9 kB / 0.9202 GB, free: 448 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.135, allocations: 31.78 kB / 0.9202 GB, free: 416 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1351, allocations: 21.72 kB / 0.9203 GB, free: 388 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.086e-05/0.1351, allocations: 326.7 kB / 0.9206 GB, free: 52 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.1352, allocations: 11.94 kB / 0.9206 GB, free: 40 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/0.1352, allocations: 8.297 kB / 0.9206 GB, free: 32 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.045e-05/0.1352, allocations: 28.98 kB / 0.9206 GB, free: 0 / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1352, allocations: 0 / 0.9206 GB, free: 0 / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.757e-05/0.1353, allocations: 57.62 kB / 0.9207 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1353, allocations: 7.984 kB / 0.9207 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.1353, allocations: 0 / 0.9207 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.1353, allocations: 0 / 0.9207 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.1354, allocations: 20 kB / 0.9207 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.1354, allocations: 0 / 0.9207 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.34e-05/0.1354, allocations: 7.984 kB / 0.9207 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1354, allocations: 4 kB / 0.9207 GB, free: 15.9 MB / 0.8855 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.155e-05/0.1355, allocations: 116.6 kB / 0.9208 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.1355, allocations: 12 kB / 0.9208 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.1356, allocations: 74.36 kB / 0.9209 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1356, allocations: 0 / 0.9209 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-06/0.1356, allocations: 4 kB / 0.9209 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1356, allocations: 0 / 0.9209 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1357, allocations: 109.7 kB / 0.921 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1357, allocations: 3.938 kB / 0.921 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.895e-05/0.1358, allocations: 15.98 kB / 0.921 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1358, allocations: 0 / 0.921 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.1358, allocations: 0 / 0.921 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1358, allocations: 0 / 0.921 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1358, allocations: 0 / 0.921 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.46e-05/0.1359, allocations: 155.5 kB / 0.9212 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.1359, allocations: 15.88 kB / 0.9212 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.1359, allocations: 0 / 0.9212 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.136, allocations: 4 kB / 0.9212 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.136, allocations: 11.98 kB / 0.9212 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.136, allocations: 4 kB / 0.9212 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.605e-05/0.136, allocations: 22.72 kB / 0.9212 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.136, allocations: 4 kB / 0.9212 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001361/0.1362, allocations: 23.95 kB / 0.9213 GB, free: 15.28 MB / 0.8855 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 0.0001155/0.1363, allocations: 80.41 kB / 0.9213 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.412e-05/0.1364, allocations: 32.78 kB / 0.9214 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1364, allocations: 7.938 kB / 0.9214 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.1364, allocations: 20.84 kB / 0.9214 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.1366, allocations: 36.45 kB / 0.9214 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.1373, allocations: 263.6 kB / 0.9217 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.1373, allocations: 67.34 kB / 0.9218 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.15e-05/0.1374, allocations: 8.484 kB / 0.9218 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.1374, allocations: 67.36 kB / 0.9218 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of SimCode: time 8.52e-07/0.1374, allocations: 0 / 0.9218 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of Templates: time 0.003108/0.1406, allocations: 1.513 MB / 0.9233 GB, free: 13.18 MB / 0.8855 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.88200687803328]