Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5795/0.5795, allocations: 95.61 MB / 110.6 MB, free: 9.406 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001235/0.001235, allocations: 168.2 kB / 134.2 MB, free: 2.289 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.831/1.831, allocations: 170.7 MB / 328.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001768/0.001768, allocations: 105.9 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004531, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1745, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.8/11.97, allocations: 4.466 GB / 4.978 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/11.97, allocations: 87.94 kB / 4.978 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1588/12.13, allocations: 76.52 MB / 5.053 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.244e-06/12.13, allocations: 0 / 5.053 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.485e-05/12.13, allocations: 0 / 5.053 GB, free: 42.79 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001596/12.13, allocations: 0.6545 MB / 5.054 GB, free: 42.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/12.13, allocations: 11.98 kB / 5.054 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/12.13, allocations: 27.8 kB / 5.054 GB, free: 42.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/12.13, allocations: 214.9 kB / 5.054 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/12.13, allocations: 12 kB / 5.054 GB, free: 41.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/12.13, allocations: 8 kB / 5.054 GB, free: 41.77 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/12.13, allocations: 133.9 kB / 5.054 GB, free: 41.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/12.13, allocations: 3.938 kB / 5.054 GB, free: 41.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/12.13, allocations: 4 kB / 5.054 GB, free: 41.63 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/12.13, allocations: 4 kB / 5.054 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/12.13, allocations: 103.9 kB / 5.054 GB, free: 41.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007212/12.13, allocations: 472.1 kB / 5.055 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/12.13, allocations: 98.47 kB / 5.055 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/12.13, allocations: 0 / 5.055 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/12.13, allocations: 38.56 kB / 5.055 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/12.13, allocations: 0 / 5.055 GB, free: 40.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0004159/12.14, allocations: 145.7 kB / 5.055 GB, free: 40.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/12.14, allocations: 63.39 kB / 5.055 GB, free: 40.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/12.14, allocations: 174.9 kB / 5.055 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/12.14, allocations: 29.64 kB / 5.055 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/12.14, allocations: 123.9 kB / 5.055 GB, free: 40.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/12.14, allocations: 11.72 kB / 5.055 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/12.14, allocations: 4 kB / 5.055 GB, free: 40.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.956e-05/12.14, allocations: 326.8 kB / 5.056 GB, free: 39.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/12.14, allocations: 43.97 kB / 5.056 GB, free: 39.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/12.14, allocations: 36.12 kB / 5.056 GB, free: 39.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/12.14, allocations: 44.44 kB / 5.056 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/12.14, allocations: 0 / 5.056 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002448/12.14, allocations: 129.5 kB / 5.056 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/12.14, allocations: 4 kB / 5.056 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/12.14, allocations: 3.984 kB / 5.056 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/12.14, allocations: 4 kB / 5.056 GB, free: 39.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/12.14, allocations: 27.92 kB / 5.056 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/12.14, allocations: 0 / 5.056 GB, free: 39.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/12.14, allocations: 19.92 kB / 5.056 GB, free: 39.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/12.14, allocations: 0 / 5.056 GB, free: 39.64 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.532e-05/12.14, allocations: 125.8 kB / 5.056 GB, free: 39.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/12.14, allocations: 11.81 kB / 5.056 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003037/12.14, allocations: 135 kB / 5.056 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/12.14, allocations: 4 kB / 5.056 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/12.14, allocations: 0 / 5.056 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/12.14, allocations: 0 / 5.056 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/12.14, allocations: 221.5 kB / 5.056 GB, free: 39.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/12.14, allocations: 0 / 5.056 GB, free: 39.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/12.14, allocations: 27.92 kB / 5.056 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/12.14, allocations: 0 / 5.056 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/12.14, allocations: 0 / 5.056 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/12.14, allocations: 4 kB / 5.056 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/12.14, allocations: 0 / 5.056 GB, free: 39.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/12.14, allocations: 227.2 kB / 5.057 GB, free: 38.82 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/12.14, allocations: 92.91 kB / 5.057 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/12.14, allocations: 0 / 5.057 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/12.14, allocations: 7.984 kB / 5.057 GB, free: 38.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/12.14, allocations: 11.98 kB / 5.057 GB, free: 38.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/12.14, allocations: 11.94 kB / 5.057 GB, free: 38.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.657e-05/12.14, allocations: 139.2 kB / 5.057 GB, free: 38.54 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/12.14, allocations: 4 kB / 5.057 GB, free: 38.54 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004386/12.14, allocations: 67.89 kB / 5.057 GB, free: 38.47 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008195/12.14, allocations: 0.6324 MB / 5.058 GB, free: 37.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002726/12.14, allocations: 87.94 kB / 5.058 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/12.14, allocations: 0 / 5.058 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/12.14, allocations: 43.92 kB / 5.058 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/12.14, allocations: 35.97 kB / 5.058 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004999/12.14, allocations: 313.4 kB / 5.058 GB, free: 37.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/12.14, allocations: 0.7082 MB / 5.059 GB, free: 36.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.219e-05/12.14, allocations: 12.88 kB / 5.059 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/12.14, allocations: 15.44 kB / 5.059 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of SimCode: time 4.1e-07/12.14, allocations: 3.938 kB / 5.059 GB, free: 36.56 MB / 0.5261 GB Notification: Performance of Templates: time 0.01257/12.15, allocations: 9.154 MB / 5.068 GB, free: 27.41 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)