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.0009578/0.0009578, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.00158/0.00158, allocations: 170.5 kB / 25.05 MB, free: 9.203 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.8968/0.8968, allocations: 177.1 MB / 205.5 MB, free: 5.461 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.838/1.838, allocations: 389.6 MB / 0.6363 GB, free: 12.28 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.493e-06/1.493e-06, allocations: 4.594 kB / 0.7762 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.433e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.134/0.134, allocations: 144.3 MB / 0.9171 GB, free: 4.609 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1351, allocations: 1.172 MB / 0.9182 GB, free: 3.434 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.159e-05/0.1352, allocations: 4 kB / 0.9182 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.1355, allocations: 51.62 kB / 0.9183 GB, free: 3.379 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005252/0.136, allocations: 314.4 kB / 0.9186 GB, free: 3.07 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002796/0.1363, allocations: 171.2 kB / 0.9187 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.1366, allocations: 219.2 kB / 0.9189 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.011e-05/0.1367, allocations: 37.94 kB / 0.919 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1368, allocations: 115.8 kB / 0.9191 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.1369, allocations: 47.89 kB / 0.9191 GB, free: 2.488 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1369, allocations: 8 kB / 0.9191 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.1371, allocations: 135.7 kB / 0.9193 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.1371, allocations: 35.89 kB / 0.9193 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.1371, allocations: 39.86 kB / 0.9193 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1374, allocations: 207.3 kB / 0.9195 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1374, allocations: 0 / 0.9195 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1374, allocations: 0 / 0.9195 GB, free: 2.07 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.1374, allocations: 0 / 0.9195 GB, free: 2.07 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.0003814/0.1378, allocations: 360 kB / 0.9199 GB, free: 1.695 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1378, allocations: 17.34 kB / 0.9199 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.1381, allocations: 60.73 kB / 0.92 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1382, allocations: 142.3 kB / 0.9201 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.1382, allocations: 8 kB / 0.9201 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.1382, allocations: 12 kB / 0.9201 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.1383, allocations: 97.12 kB / 0.9202 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1383, allocations: 0 / 0.9202 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.1383, allocations: 8 kB / 0.9202 GB, free: 1.328 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.1383, allocations: 4 kB / 0.9202 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.056e-05/0.1384, allocations: 27.92 kB / 0.9202 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.1387, allocations: 271.8 kB / 0.9205 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.637e-05/0.1388, allocations: 46.5 kB / 0.9205 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.145e-05/0.1388, allocations: 16.86 kB / 0.9206 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.1388, allocations: 0 / 0.9206 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.1388, allocations: 34.56 kB / 0.9206 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1388, allocations: 4 kB / 0.9206 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0001162/0.1389, allocations: 69.59 kB / 0.9207 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.139, allocations: 55.41 kB / 0.9207 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.541e-05/0.139, allocations: 141.6 kB / 0.9209 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.139, allocations: 25.7 kB / 0.9209 GB, free: 0.5742 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.1391, allocations: 115.9 kB / 0.921 GB, free: 468 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.1391, allocations: 23.78 kB / 0.921 GB, free: 444 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.1391, allocations: 21.7 kB / 0.921 GB, free: 416 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.72e-05/0.1392, allocations: 326.8 kB / 0.9213 GB, free: 80 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.1392, allocations: 4 kB / 0.9213 GB, free: 76 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.219e-05/0.1392, allocations: 8 kB / 0.9214 GB, free: 68 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.492e-05/0.1393, allocations: 32.77 kB / 0.9214 GB, free: 32 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1393, allocations: 0 / 0.9214 GB, free: 32 kB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.716e-05/0.1393, allocations: 61.67 kB / 0.9214 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.1393, allocations: 4 kB / 0.9214 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1393, allocations: 4.547 kB / 0.9215 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/0.1393, allocations: 0 / 0.9215 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.1394, allocations: 15.98 kB / 0.9215 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.1394, allocations: 0 / 0.9215 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.1394, allocations: 4 kB / 0.9215 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.1394, allocations: 0 / 0.9215 GB, free: 15.94 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 5.279e-05/0.1395, allocations: 128.5 kB / 0.9216 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.1395, allocations: 11.97 kB / 0.9216 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.1396, allocations: 74.42 kB / 0.9217 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1396, allocations: 0 / 0.9217 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1396, allocations: 4 kB / 0.9217 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1396, allocations: 0 / 0.9217 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.753e-05/0.1397, allocations: 105.7 kB / 0.9218 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1397, allocations: 3.938 kB / 0.9218 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.1397, allocations: 15.98 kB / 0.9218 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.1397, allocations: 0 / 0.9218 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.1397, allocations: 7.938 kB / 0.9218 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1398, allocations: 7.938 kB / 0.9218 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1398, allocations: 0 / 0.9218 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.833e-05/0.1398, allocations: 147.5 kB / 0.922 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.708e-06/0.1398, allocations: 11.89 kB / 0.922 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1399, allocations: 4 kB / 0.922 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.81e-05/0.1399, allocations: 3.984 kB / 0.922 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.1399, allocations: 4 kB / 0.922 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1399, allocations: 0 / 0.922 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.498e-05/0.1399, allocations: 36.81 kB / 0.922 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.1399, allocations: 0 / 0.922 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000124/0.1401, allocations: 27.95 kB / 0.922 GB, free: 15.3 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.871e-05/0.1402, allocations: 80.36 kB / 0.9221 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.309e-05/0.1402, allocations: 36.83 kB / 0.9222 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1402, allocations: 0 / 0.9222 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.423e-05/0.1403, allocations: 20.8 kB / 0.9222 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001737/0.1404, allocations: 39.84 kB / 0.9222 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.1409, allocations: 255.7 kB / 0.9225 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.804e-05/0.141, allocations: 67.34 kB / 0.9225 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.141, allocations: 16.48 kB / 0.9225 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.1411, allocations: 67.36 kB / 0.9226 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of SimCode: time 5.91e-07/0.1411, allocations: 0 / 0.9226 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of Templates: time 0.002726/0.1438, allocations: 1.51 MB / 0.9241 GB, free: 13.2 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.755162757821381]