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.001206/0.001206, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001263/0.001263, allocations: 161 kB / 24.17 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.9102/0.9102, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.821/1.821, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.072e-06/1.072e-06, allocations: 0 / 0.7752 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.338e-05/1.445e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1243/0.1243, allocations: 144.3 MB / 0.9161 GB, free: 4.668 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.1255, allocations: 1.168 MB / 0.9173 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.272e-05/0.1256, allocations: 4 kB / 0.9173 GB, free: 3.492 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003019/0.1259, allocations: 51.62 kB / 0.9173 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005921/0.1265, allocations: 310.4 kB / 0.9176 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1268, allocations: 171.2 kB / 0.9178 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.1272, allocations: 223.2 kB / 0.918 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1273, allocations: 41.92 kB / 0.9181 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.1274, allocations: 115.8 kB / 0.9182 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.1275, allocations: 39.89 kB / 0.9182 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.1275, allocations: 12 kB / 0.9182 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.1277, allocations: 131.7 kB / 0.9183 GB, free: 2.414 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.1278, allocations: 35.89 kB / 0.9184 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.1278, allocations: 43.84 kB / 0.9184 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1281, allocations: 211.3 kB / 0.9186 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1281, allocations: 0 / 0.9186 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1281, allocations: 0 / 0.9186 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.1281, allocations: 0 / 0.9186 GB, free: 2.129 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.0003999/0.1285, allocations: 367.9 kB / 0.919 GB, free: 1.746 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1285, allocations: 9.344 kB / 0.919 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.1288, allocations: 60.75 kB / 0.919 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1289, allocations: 146.3 kB / 0.9192 GB, free: 1.512 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1289, allocations: 11.98 kB / 0.9192 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1289, allocations: 12 kB / 0.9192 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1291, allocations: 101.1 kB / 0.9193 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1291, allocations: 4 kB / 0.9193 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.1291, allocations: 4 kB / 0.9193 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1291, allocations: 4 kB / 0.9193 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.1291, allocations: 19.98 kB / 0.9193 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.1295, allocations: 267.7 kB / 0.9196 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.642e-05/0.1295, allocations: 50.42 kB / 0.9196 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.1296, allocations: 16.86 kB / 0.9196 GB, free: 1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.1296, allocations: 4 kB / 0.9196 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.1296, allocations: 42.55 kB / 0.9197 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.1296, allocations: 0 / 0.9197 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0001135/0.1297, allocations: 53.69 kB / 0.9197 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.1297, allocations: 51.41 kB / 0.9198 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.477e-05/0.1298, allocations: 153.1 kB / 0.9199 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1298, allocations: 25.7 kB / 0.92 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.1299, allocations: 111.9 kB / 0.9201 GB, free: 0.5195 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.1299, allocations: 23.73 kB / 0.9201 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.1299, allocations: 25.7 kB / 0.9201 GB, free: 476 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003197/0.1302, allocations: 330.7 kB / 0.9204 GB, free: 136 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.1302, allocations: 8 kB / 0.9204 GB, free: 128 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.215e-05/0.1303, allocations: 4.312 kB / 0.9204 GB, free: 124 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.1303, allocations: 28.98 kB / 0.9205 GB, free: 92 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1303, allocations: 0 / 0.9205 GB, free: 92 kB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.869e-05/0.1304, allocations: 61.66 kB / 0.9205 GB, free: 24 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.1304, allocations: 4 kB / 0.9205 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1304, allocations: 0 / 0.9205 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1304, allocations: 4 kB / 0.9205 GB, free: 16 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.188e-05/0.1305, allocations: 19.97 kB / 0.9206 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.1305, allocations: 0 / 0.9206 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/0.1305, allocations: 12 kB / 0.9206 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.1305, allocations: 4 kB / 0.9206 GB, free: 15.98 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.538e-05/0.1306, allocations: 116.6 kB / 0.9207 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.1306, allocations: 11.94 kB / 0.9207 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.239e-05/0.1307, allocations: 62.39 kB / 0.9207 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1307, allocations: 7.938 kB / 0.9208 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.1307, allocations: 0 / 0.9208 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1307, allocations: 3.984 kB / 0.9208 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.966e-05/0.1308, allocations: 101.8 kB / 0.9209 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1308, allocations: 3.938 kB / 0.9209 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.1308, allocations: 15.98 kB / 0.9209 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1308, allocations: 4 kB / 0.9209 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.1308, allocations: 4 kB / 0.9209 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1308, allocations: 0 / 0.9209 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.71e-07/0.1308, allocations: 0 / 0.9209 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.282e-05/0.1309, allocations: 151.5 kB / 0.921 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.1309, allocations: 11.89 kB / 0.921 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1309, allocations: 3.938 kB / 0.921 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.423e-05/0.131, allocations: 11.97 kB / 0.9211 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.131, allocations: 8 kB / 0.9211 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.131, allocations: 0 / 0.9211 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.465e-05/0.131, allocations: 34.7 kB / 0.9211 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.131, allocations: 0 / 0.9211 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001327/0.1312, allocations: 27.95 kB / 0.9211 GB, free: 15.36 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.133e-05/0.1312, allocations: 80.41 kB / 0.9212 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.759e-05/0.1313, allocations: 28.84 kB / 0.9212 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1313, allocations: 0 / 0.9212 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.1313, allocations: 20.8 kB / 0.9212 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.1315, allocations: 40.39 kB / 0.9213 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005351/0.1321, allocations: 263.6 kB / 0.9215 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.49e-05/0.1321, allocations: 63.34 kB / 0.9216 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.549e-05/0.1321, allocations: 16.48 kB / 0.9216 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.1322, allocations: 67.36 kB / 0.9217 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of SimCode: time 3.81e-07/0.1322, allocations: 0 / 0.9217 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of Templates: time 0.00297/0.1352, allocations: 1.508 MB / 0.9231 GB, free: 13.26 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.756386464461684]