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.0009271/0.0009271, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.003923/0.003923, allocations: 162.8 kB / 24.38 MB, free: 8.484 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.8927/0.8927, allocations: 177.2 MB / 204.8 MB, free: 5.398 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.804/1.804, allocations: 389.6 MB / 0.6356 GB, free: 12.21 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.543e-06/1.543e-06, allocations: 0 / 0.7756 GB, free: 5.094 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.482e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1288/0.1289, allocations: 144.3 MB / 0.9165 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.13, allocations: 1.164 MB / 0.9177 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1302, allocations: 8 kB / 0.9177 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.1305, allocations: 51.62 kB / 0.9177 GB, free: 3.234 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006177/0.1311, allocations: 310.3 kB / 0.918 GB, free: 2.93 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1314, allocations: 171.2 kB / 0.9182 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.1318, allocations: 223.2 kB / 0.9184 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1319, allocations: 41.92 kB / 0.9184 GB, free: 2.5 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.132, allocations: 107.8 kB / 0.9185 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.1321, allocations: 51.81 kB / 0.9186 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1321, allocations: 12 kB / 0.9186 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.1323, allocations: 131.8 kB / 0.9187 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.1324, allocations: 35.83 kB / 0.9187 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.1324, allocations: 39.91 kB / 0.9188 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1327, allocations: 207.3 kB / 0.919 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1327, allocations: 4 kB / 0.919 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1327, allocations: 0 / 0.919 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1327, allocations: 0 / 0.919 GB, free: 1.922 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.0003876/0.1331, allocations: 363.9 kB / 0.9193 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1331, allocations: 17.34 kB / 0.9194 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/0.1334, allocations: 56.75 kB / 0.9194 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1336, allocations: 147.4 kB / 0.9195 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1336, allocations: 8 kB / 0.9196 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.1336, allocations: 8 kB / 0.9196 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.1337, allocations: 101.1 kB / 0.9197 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1337, allocations: 0 / 0.9197 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.1337, allocations: 4 kB / 0.9197 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1337, allocations: 8 kB / 0.9197 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.259e-05/0.1338, allocations: 27.92 kB / 0.9197 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.1341, allocations: 259.8 kB / 0.9199 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.1342, allocations: 50.47 kB / 0.92 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.1342, allocations: 16.86 kB / 0.92 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1343, allocations: 4 kB / 0.92 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1343, allocations: 38.55 kB / 0.92 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.1343, allocations: 4 kB / 0.9201 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0001223/0.1344, allocations: 57.62 kB / 0.9201 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.1344, allocations: 55.41 kB / 0.9202 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.711e-05/0.1345, allocations: 144.9 kB / 0.9203 GB, free: 472 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1345, allocations: 29.7 kB / 0.9203 GB, free: 436 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/0.1346, allocations: 111.9 kB / 0.9204 GB, free: 320 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.1346, allocations: 23.8 kB / 0.9205 GB, free: 296 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-05/0.1346, allocations: 25.69 kB / 0.9205 GB, free: 264 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.376e-05/0.1347, allocations: 326.8 kB / 0.9208 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.694e-05/0.1347, allocations: 4 kB / 0.9208 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.445e-05/0.1347, allocations: 8 kB / 0.9208 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.1348, allocations: 28.78 kB / 0.9208 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1348, allocations: 0 / 0.9208 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.052e-05/0.1349, allocations: 62.12 kB / 0.9209 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1349, allocations: 10.59 kB / 0.9209 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1349, allocations: 4 kB / 0.9209 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.1349, allocations: 0 / 0.9209 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.135, allocations: 15.98 kB / 0.9209 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.135, allocations: 80 / 0.9209 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.135, allocations: 8 kB / 0.9209 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.135, allocations: 3.984 kB / 0.9209 GB, free: 15.78 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.292e-05/0.1351, allocations: 124.5 kB / 0.9211 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.1351, allocations: 7.984 kB / 0.9211 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.1352, allocations: 66.45 kB / 0.9211 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1352, allocations: 0 / 0.9211 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.1352, allocations: 0 / 0.9211 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1352, allocations: 0 / 0.9211 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.1353, allocations: 105.7 kB / 0.9212 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1353, allocations: 7.938 kB / 0.9212 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.1354, allocations: 15.98 kB / 0.9212 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1354, allocations: 0 / 0.9212 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.1354, allocations: 4 kB / 0.9212 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1354, allocations: 7.938 kB / 0.9213 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1354, allocations: 0 / 0.9213 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.111e-05/0.1355, allocations: 151.5 kB / 0.9214 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.1355, allocations: 11.89 kB / 0.9214 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.1355, allocations: 4 kB / 0.9214 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.421e-05/0.1355, allocations: 3.984 kB / 0.9214 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.1356, allocations: 8 kB / 0.9214 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1356, allocations: 0 / 0.9214 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.1356, allocations: 34.88 kB / 0.9215 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1356, allocations: 0 / 0.9215 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001328/0.1357, allocations: 31.95 kB / 0.9215 GB, free: 15.16 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 9.079e-05/0.1358, allocations: 80.36 kB / 0.9216 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.1359, allocations: 28.84 kB / 0.9216 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.1359, allocations: 0 / 0.9216 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.1359, allocations: 20.8 kB / 0.9216 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1361, allocations: 39.91 kB / 0.9217 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.1367, allocations: 255.7 kB / 0.9219 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.607e-05/0.1367, allocations: 63.34 kB / 0.922 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.277e-05/0.1368, allocations: 24.41 kB / 0.922 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.1369, allocations: 67.36 kB / 0.922 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of SimCode: time 7.91e-07/0.1369, allocations: 0 / 0.922 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of Templates: time 0.003209/0.1401, allocations: 1.508 MB / 0.9235 GB, free: 13.06 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 & (cd run_cvode && ../Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_gbode.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_ida.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.889198546297848]