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.001119/0.001119, 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.001533/0.001533, 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.9381/0.9381, allocations: 177.2 MB / 204.6 MB, free: 5.484 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.945/1.945, allocations: 389.6 MB / 0.6354 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.743e-06/1.743e-06, allocations: 0 / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.738e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1195/0.1195, allocations: 144.2 MB / 0.916 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1207, allocations: 1.176 MB / 0.9172 GB, free: 3.645 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.1208, allocations: 8 kB / 0.9172 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.121, allocations: 47.62 kB / 0.9173 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.000569/0.1216, allocations: 310.4 kB / 0.9175 GB, free: 3.285 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1219, allocations: 183.2 kB / 0.9177 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.1222, allocations: 215.2 kB / 0.9179 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.933e-05/0.1223, allocations: 45.92 kB / 0.918 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1224, allocations: 107.8 kB / 0.9181 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.1225, allocations: 47.81 kB / 0.9181 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1225, allocations: 16 kB / 0.9181 GB, free: 2.68 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.1227, allocations: 127.7 kB / 0.9183 GB, free: 2.555 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.1227, allocations: 27.92 kB / 0.9183 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.1227, allocations: 43.91 kB / 0.9183 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.123, allocations: 211.2 kB / 0.9185 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.123, allocations: 0 / 0.9185 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.02e-07/0.123, allocations: 0 / 0.9185 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.123, allocations: 0 / 0.9185 GB, free: 2.277 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.000393/0.1234, allocations: 364 kB / 0.9189 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.1234, allocations: 9.344 kB / 0.9189 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002696/0.1237, allocations: 64.75 kB / 0.9189 GB, free: 1.828 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1238, allocations: 142.3 kB / 0.9191 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1238, allocations: 8 kB / 0.9191 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.1238, allocations: 12 kB / 0.9191 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.124, allocations: 101.1 kB / 0.9192 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.994e-06/0.124, allocations: 0 / 0.9192 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.124, allocations: 8 kB / 0.9192 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.124, allocations: 7.938 kB / 0.9192 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.224e-05/0.124, allocations: 23.98 kB / 0.9192 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.1244, allocations: 267.8 kB / 0.9195 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.082e-05/0.1245, allocations: 50.48 kB / 0.9195 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.92e-05/0.1245, allocations: 12.86 kB / 0.9195 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.1245, allocations: 4 kB / 0.9196 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.1245, allocations: 34.5 kB / 0.9196 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1245, allocations: 0 / 0.9196 GB, free: 1.102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0001184/0.1246, allocations: 69.67 kB / 0.9197 GB, free: 1.027 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.1247, allocations: 51.41 kB / 0.9197 GB, free: 0.9648 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.1247, allocations: 145.4 kB / 0.9198 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.1247, allocations: 25.7 kB / 0.9199 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.1248, allocations: 119.9 kB / 0.92 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.1248, allocations: 19.8 kB / 0.92 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.1248, allocations: 25.69 kB / 0.92 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/0.1249, allocations: 322.8 kB / 0.9203 GB, free: 292 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.1249, allocations: 7.984 kB / 0.9203 GB, free: 284 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.1249, allocations: 12.25 kB / 0.9203 GB, free: 272 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.125, allocations: 32.97 kB / 0.9204 GB, free: 236 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.125, allocations: 4 kB / 0.9204 GB, free: 232 kB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 5.957e-05/0.125, allocations: 61.67 kB / 0.9204 GB, free: 164 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.125, allocations: 4 kB / 0.9204 GB, free: 160 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.125, allocations: 0 / 0.9204 GB, free: 160 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1251, allocations: 0 / 0.9204 GB, free: 160 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.1251, allocations: 12 kB / 0.9205 GB, free: 148 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.1251, allocations: 3.938 kB / 0.9205 GB, free: 144 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.1251, allocations: 7.984 kB / 0.9205 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-06/0.1252, allocations: 0 / 0.9205 GB, free: 136 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 5.909e-05/0.1252, allocations: 120.6 kB / 0.9206 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.1252, allocations: 11.98 kB / 0.9206 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.446e-05/0.1253, allocations: 66.45 kB / 0.9207 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1253, allocations: 0 / 0.9207 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1253, allocations: 0 / 0.9207 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1253, allocations: 0 / 0.9207 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.1254, allocations: 105.7 kB / 0.9208 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1254, allocations: 7.938 kB / 0.9208 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.1255, allocations: 19.92 kB / 0.9208 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.1255, allocations: 0 / 0.9208 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.1255, allocations: 0 / 0.9208 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.1255, allocations: 8 kB / 0.9208 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-07/0.1255, allocations: 0 / 0.9208 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.847e-05/0.1256, allocations: 155.5 kB / 0.9209 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.1256, allocations: 11.88 kB / 0.921 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1256, allocations: 4 kB / 0.921 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.1256, allocations: 0 / 0.921 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.1257, allocations: 7.984 kB / 0.921 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1257, allocations: 3.938 kB / 0.921 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.694e-05/0.1257, allocations: 34.89 kB / 0.921 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1257, allocations: 0 / 0.921 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001285/0.1258, allocations: 27.89 kB / 0.921 GB, free: 15.51 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.612e-05/0.1259, allocations: 84.41 kB / 0.9211 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.523e-05/0.126, allocations: 32.84 kB / 0.9211 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.126, allocations: 0 / 0.9211 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.237e-05/0.126, allocations: 20.8 kB / 0.9212 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.1262, allocations: 31.91 kB / 0.9212 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.1267, allocations: 263.2 kB / 0.9214 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.451e-05/0.1267, allocations: 71.34 kB / 0.9215 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.1268, allocations: 12.48 kB / 0.9215 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.161e-05/0.1268, allocations: 67.36 kB / 0.9216 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of SimCode: time 7.12e-07/0.1268, allocations: 0 / 0.9216 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of Templates: time 0.002947/0.1298, allocations: 1.515 MB / 0.9231 GB, free: 13.4 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.960285535082221]