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.000892/0.000892, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009582/0.0009582, allocations: 161.4 kB / 24.16 MB, free: 332 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.9496/0.9496, allocations: 177.1 MB / 204.6 MB, free: 5.328 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.918/1.918, allocations: 389.6 MB / 0.6354 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.243e-06/1.243e-06, allocations: 3.938 kB / 0.7752 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.282e-05/1.407e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1271/0.1271, allocations: 144.3 MB / 0.9161 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1283, allocations: 1.168 MB / 0.9173 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.286e-05/0.1284, allocations: 0 / 0.9173 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.1287, allocations: 43.7 kB / 0.9173 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006363/0.1293, allocations: 330.2 kB / 0.9176 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.1296, allocations: 159.3 kB / 0.9178 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.1303, allocations: 227.1 kB / 0.918 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1304, allocations: 37.95 kB / 0.918 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1305, allocations: 123.8 kB / 0.9182 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.1306, allocations: 39.83 kB / 0.9182 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.1306, allocations: 12 kB / 0.9182 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.1308, allocations: 131.8 kB / 0.9183 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.1309, allocations: 31.84 kB / 0.9184 GB, free: 2.418 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.1309, allocations: 35.92 kB / 0.9184 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.1312, allocations: 215.3 kB / 0.9186 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1312, allocations: 0 / 0.9186 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.12e-07/0.1312, allocations: 0 / 0.9186 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.1312, allocations: 0 / 0.9186 GB, free: 2.172 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.0003877/0.1316, allocations: 367.9 kB / 0.919 GB, free: 1.789 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1316, allocations: 13.34 kB / 0.919 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002943/0.1319, allocations: 64.73 kB / 0.919 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006272/0.1325, allocations: 135.6 kB / 0.9192 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1326, allocations: 8 kB / 0.9192 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1326, allocations: 12 kB / 0.9192 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.1327, allocations: 101.1 kB / 0.9193 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1327, allocations: 0 / 0.9193 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1328, allocations: 7.984 kB / 0.9193 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1328, allocations: 4 kB / 0.9193 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.1328, allocations: 23.94 kB / 0.9193 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.1333, allocations: 271.8 kB / 0.9196 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.129e-05/0.1333, allocations: 42.5 kB / 0.9196 GB, free: 1.066 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.1334, allocations: 20.84 kB / 0.9196 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1334, allocations: 8 kB / 0.9196 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.1334, allocations: 30.56 kB / 0.9197 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1334, allocations: 0 / 0.9197 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0001518/0.1336, allocations: 69.59 kB / 0.9197 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.1336, allocations: 51.41 kB / 0.9198 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.1337, allocations: 140.5 kB / 0.9199 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.1337, allocations: 25.7 kB / 0.9199 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.1337, allocations: 115.9 kB / 0.92 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1338, allocations: 27.77 kB / 0.9201 GB, free: 0.5352 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.1338, allocations: 17.72 kB / 0.9201 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.1339, allocations: 326.8 kB / 0.9204 GB, free: 188 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.1339, allocations: 8 kB / 0.9204 GB, free: 180 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.397e-05/0.1339, allocations: 8.312 kB / 0.9204 GB, free: 172 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.703e-05/0.1339, allocations: 40.89 kB / 0.9205 GB, free: 128 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1339, allocations: 0 / 0.9205 GB, free: 128 kB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.339e-05/0.134, allocations: 49.69 kB / 0.9205 GB, free: 72 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.134, allocations: 8 kB / 0.9205 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.134, allocations: 3.984 kB / 0.9205 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.134, allocations: 3.938 kB / 0.9205 GB, free: 56 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.1341, allocations: 19.98 kB / 0.9205 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.1341, allocations: 0 / 0.9205 GB, free: 36 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.1342, allocations: 8 kB / 0.9205 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1342, allocations: 4 kB / 0.9206 GB, free: 24 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.906e-05/0.1342, allocations: 124.5 kB / 0.9207 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.1343, allocations: 8 kB / 0.9207 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/0.1344, allocations: 70.44 kB / 0.9207 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1344, allocations: 0 / 0.9207 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.1344, allocations: 0 / 0.9207 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1344, allocations: 0 / 0.9207 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.1345, allocations: 101.7 kB / 0.9208 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1345, allocations: 3.938 kB / 0.9208 GB, free: 15.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.1345, allocations: 20 kB / 0.9209 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1345, allocations: 0 / 0.9209 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.1345, allocations: 4 kB / 0.9209 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1345, allocations: 3.984 kB / 0.9209 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1345, allocations: 3.938 kB / 0.9209 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.02e-05/0.1346, allocations: 147.5 kB / 0.921 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.1346, allocations: 15.88 kB / 0.921 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.1346, allocations: 0 / 0.921 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.261e-05/0.1347, allocations: 4 kB / 0.921 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.1347, allocations: 7.984 kB / 0.921 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.1347, allocations: 0 / 0.921 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.504e-05/0.1347, allocations: 34.7 kB / 0.9211 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1347, allocations: 0 / 0.9211 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001374/0.1349, allocations: 27.95 kB / 0.9211 GB, free: 15.41 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 8.542e-05/0.1349, allocations: 76.42 kB / 0.9212 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.74e-05/0.135, allocations: 36.77 kB / 0.9212 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.135, allocations: 0 / 0.9212 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.514e-05/0.135, allocations: 24.84 kB / 0.9212 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.1352, allocations: 36.41 kB / 0.9213 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.1358, allocations: 259.7 kB / 0.9215 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.367e-05/0.1358, allocations: 67.33 kB / 0.9216 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.291e-05/0.1359, allocations: 8.5 kB / 0.9216 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.1359, allocations: 71.36 kB / 0.9217 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of SimCode: time 9.82e-07/0.136, allocations: 3.938 kB / 0.9217 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of Templates: time 0.002886/0.1388, allocations: 1.522 MB / 0.9231 GB, free: 13.29 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.774960434064269]