Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.001144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 192.5 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 75.34 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3286, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.1593/0.488, allocations: 146.9 MB / 1.211 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.4896, allocations: 1.129 MB / 1.212 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.4898, allocations: 0 / 1.212 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.4902, allocations: 51.72 kB / 1.212 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000853/0.4911, allocations: 282.9 kB / 1.213 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.4915, allocations: 143.5 kB / 1.213 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.492, allocations: 227.3 kB / 1.213 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.4921, allocations: 53.39 kB / 1.213 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.878e-05/0.4922, allocations: 55.78 kB / 1.213 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.4923, allocations: 59.69 kB / 1.213 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.4923, allocations: 12 kB / 1.213 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.4929, allocations: 383.2 kB / 1.213 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.493, allocations: 35.86 kB / 1.213 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.4931, allocations: 71.58 kB / 1.214 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.4936, allocations: 299.1 kB / 1.214 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4936, allocations: 0 / 1.214 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.956e-06/0.4936, allocations: 4 kB / 1.214 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4936, allocations: 0 / 1.214 GB, free: 4.566 MB / 0.9669 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.0006859/0.4943, allocations: 466.9 kB / 1.214 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.4943, allocations: 12.03 kB / 1.214 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003024/0.4946, allocations: 36.72 kB / 1.214 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.4949, allocations: 214.1 kB / 1.215 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4949, allocations: 15.88 kB / 1.215 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.4949, allocations: 12 kB / 1.215 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.4952, allocations: 119.6 kB / 1.215 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4952, allocations: 0 / 1.215 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4952, allocations: 4 kB / 1.215 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4953, allocations: 4 kB / 1.215 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002507/0.4955, allocations: 87.94 kB / 1.215 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006987/0.4962, allocations: 460.1 kB / 1.215 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.4964, allocations: 94.47 kB / 1.215 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.4966, allocations: 36.95 kB / 1.215 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.4966, allocations: 7.984 kB / 1.215 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.4966, allocations: 30.56 kB / 1.215 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.4966, allocations: 0 / 1.215 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004409/0.4971, allocations: 137.5 kB / 1.216 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4971, allocations: 63.34 kB / 1.216 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.4973, allocations: 184 kB / 1.216 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.4974, allocations: 25.7 kB / 1.216 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.4974, allocations: 116 kB / 1.216 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.4975, allocations: 31.62 kB / 1.216 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-05/0.4975, allocations: 17.72 kB / 1.216 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4977, allocations: 326.8 kB / 1.216 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.4978, allocations: 31.97 kB / 1.216 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.4979, allocations: 31.98 kB / 1.216 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.4981, allocations: 76.81 kB / 1.216 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4981, allocations: 0 / 1.216 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002708/0.4984, allocations: 117.4 kB / 1.216 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4984, allocations: 8 kB / 1.216 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4984, allocations: 4 kB / 1.216 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.4984, allocations: 4 kB / 1.216 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.4986, allocations: 15.98 kB / 1.217 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.4986, allocations: 4 kB / 1.217 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.4987, allocations: 15.92 kB / 1.217 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.4987, allocations: 0 / 1.217 GB, free: 1.594 MB / 0.9669 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 0.0001105/0.4988, allocations: 125.7 kB / 1.217 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.4989, allocations: 15.81 kB / 1.217 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.4992, allocations: 131 kB / 1.217 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4992, allocations: 0 / 1.217 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.4992, allocations: 0 / 1.217 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4992, allocations: 4 kB / 1.217 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.4995, allocations: 221.5 kB / 1.217 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4995, allocations: 0 / 1.217 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.4996, allocations: 15.98 kB / 1.217 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4996, allocations: 0 / 1.217 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.4996, allocations: 0 / 1.217 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4996, allocations: 8 kB / 1.217 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4996, allocations: 0 / 1.217 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003012/0.4999, allocations: 219.8 kB / 1.217 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.5, allocations: 89.02 kB / 1.217 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.5, allocations: 4 kB / 1.217 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.5001, allocations: 7.984 kB / 1.217 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.5002, allocations: 11.92 kB / 1.217 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.5002, allocations: 8 kB / 1.217 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001132/0.5003, allocations: 132.2 kB / 1.217 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5003, allocations: 0 / 1.217 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002543/0.5006, allocations: 24 kB / 1.218 GB, free: 0.4961 MB / 0.9669 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 0.0001615/0.5008, allocations: 103.2 kB / 1.218 GB, free: 392 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.5011, allocations: 87.83 kB / 1.218 GB, free: 304 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5011, allocations: 0 / 1.218 GB, free: 304 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.5012, allocations: 44.2 kB / 1.218 GB, free: 260 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.5017, allocations: 49.11 kB / 1.218 GB, free: 212 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.5022, allocations: 292.8 kB / 1.218 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.5025, allocations: 0.7039 MB / 1.219 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.968e-05/0.5026, allocations: 16.88 kB / 1.219 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.048e-05/0.5027, allocations: 11.44 kB / 1.219 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.5027, allocations: 4 kB / 1.219 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of Templates: time 0.00445/0.5071, allocations: 1.52 MB / 1.22 GB, free: 13.63 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)