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.0008745/0.0008745, allocations: 80.81 kB / 21.55 MB, free: 2.941 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.000964/0.000964, allocations: 168.8 kB / 24.97 MB, free: 9.18 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.9316/0.9316, allocations: 177.1 MB / 205.4 MB, free: 5.492 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.921/1.921, allocations: 389.6 MB / 0.6362 GB, free: 12.32 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.633e-06/1.633e-06, allocations: 0 / 0.776 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.1e-05, allocations: 5.688 kB / 0.776 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1231/0.1231, allocations: 144.3 MB / 0.9169 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1242, allocations: 1.172 MB / 0.9181 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.836e-05/0.1243, allocations: 4 kB / 0.9181 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.1246, allocations: 43.69 kB / 0.9181 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005358/0.1251, allocations: 318.4 kB / 0.9184 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1254, allocations: 167.2 kB / 0.9186 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003294/0.1257, allocations: 235.1 kB / 0.9188 GB, free: 2.781 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.1258, allocations: 33.95 kB / 0.9188 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1259, allocations: 115.8 kB / 0.9189 GB, free: 2.633 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.126, allocations: 39.83 kB / 0.919 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.126, allocations: 15.98 kB / 0.919 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1262, allocations: 127.8 kB / 0.9191 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.1262, allocations: 31.91 kB / 0.9191 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.1262, allocations: 35.92 kB / 0.9192 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1265, allocations: 223.2 kB / 0.9194 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1265, allocations: 0 / 0.9194 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1265, allocations: 0 / 0.9194 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1265, allocations: 0 / 0.9194 GB, free: 2.168 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.0003703/0.1268, allocations: 360 kB / 0.9197 GB, free: 1.793 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1269, allocations: 13.33 kB / 0.9198 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.1271, allocations: 60.75 kB / 0.9198 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1273, allocations: 142.3 kB / 0.9199 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1273, allocations: 12 kB / 0.92 GB, free: 1.547 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1273, allocations: 8 kB / 0.92 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1274, allocations: 97.12 kB / 0.9201 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1274, allocations: 0 / 0.9201 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1274, allocations: 8 kB / 0.9201 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1274, allocations: 3.984 kB / 0.9201 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.1275, allocations: 20 kB / 0.9201 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.1278, allocations: 279.8 kB / 0.9204 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.32e-05/0.1279, allocations: 42.5 kB / 0.9204 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.237e-05/0.1279, allocations: 20.84 kB / 0.9204 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.405e-05/0.1279, allocations: 4 kB / 0.9204 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.1279, allocations: 34.5 kB / 0.9205 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.1279, allocations: 0 / 0.9205 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0001167/0.1281, allocations: 69.59 kB / 0.9205 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.1281, allocations: 51.41 kB / 0.9206 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.199e-05/0.1281, allocations: 141.5 kB / 0.9207 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1282, allocations: 25.7 kB / 0.9207 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.1282, allocations: 119.9 kB / 0.9208 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.1282, allocations: 27.77 kB / 0.9209 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.1282, allocations: 17.72 kB / 0.9209 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.919e-05/0.1283, allocations: 322.8 kB / 0.9212 GB, free: 188 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.1283, allocations: 4 kB / 0.9212 GB, free: 184 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.255e-05/0.1283, allocations: 8 kB / 0.9212 GB, free: 176 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.059e-05/0.1284, allocations: 36.75 kB / 0.9212 GB, free: 136 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1284, allocations: 0 / 0.9212 GB, free: 136 kB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.567e-05/0.1284, allocations: 57.62 kB / 0.9213 GB, free: 72 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.1285, allocations: 4 kB / 0.9213 GB, free: 68 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1285, allocations: 0.5469 kB / 0.9213 GB, free: 68 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1285, allocations: 4 kB / 0.9213 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.017e-05/0.1285, allocations: 19.98 kB / 0.9213 GB, free: 44 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.1285, allocations: 4 kB / 0.9213 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.1286, allocations: 0 / 0.9213 GB, free: 40 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.1286, allocations: 8 kB / 0.9213 GB, free: 32 kB / 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.784e-05/0.1286, allocations: 120.6 kB / 0.9214 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.1287, allocations: 8 kB / 0.9215 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.681e-05/0.1288, allocations: 82.33 kB / 0.9215 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1288, allocations: 0 / 0.9215 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1288, allocations: 4 kB / 0.9215 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.1288, allocations: 15.84 kB / 0.9216 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.868e-06/0.1288, allocations: 0 / 0.9216 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.1288, allocations: 4 kB / 0.9216 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1289, allocations: 11.92 kB / 0.9216 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.498e-05/0.1289, allocations: 129 kB / 0.9217 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.706e-05/0.129, allocations: 230.7 kB / 0.9219 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.753e-05/0.1291, allocations: 16.86 kB / 0.9219 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.382e-05/0.1291, allocations: 30.89 kB / 0.922 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of Backend: time 2.2e-07/0.1291, allocations: 0 / 0.922 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003142/0.1294, allocations: 160 kB / 0.9221 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of SimCode: time 0.0006726/0.1301, allocations: 0.7948 MB / 0.9229 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.003766/0.1338, allocations: 2.388 MB / 0.9252 GB, free: 11.98 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.98933763243258]