Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.753/2.753, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002626/0.002626, allocations: 180.9 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 92.16 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.538e-05/2.538e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8002/0.8003, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.026/6.827, allocations: 2.056 GB / 3.019 GB, free: 63.28 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/6.827, allocations: 88.5 kB / 3.019 GB, free: 63.23 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1316/6.959, allocations: 40.66 MB / 3.059 GB, free: 26.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.854e-06/6.959, allocations: 0 / 3.059 GB, free: 26.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.509e-05/6.959, allocations: 4 kB / 3.059 GB, free: 26.35 MB / 0.948 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.0006365/6.959, allocations: 450.2 kB / 3.06 GB, free: 25.87 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/6.959, allocations: 8.031 kB / 3.06 GB, free: 25.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/6.96, allocations: 46.42 kB / 3.06 GB, free: 25.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/6.96, allocations: 208 kB / 3.06 GB, free: 25.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/6.96, allocations: 4 kB / 3.06 GB, free: 25.57 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/6.96, allocations: 9.219 kB / 3.06 GB, free: 25.56 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001999/6.96, allocations: 56.44 kB / 3.06 GB, free: 25.51 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/6.96, allocations: 91.36 kB / 3.06 GB, free: 25.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/6.96, allocations: 7.953 kB / 3.06 GB, free: 25.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/6.96, allocations: 3.984 kB / 3.06 GB, free: 25.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/6.96, allocations: 4 kB / 3.06 GB, free: 25.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007559/6.961, allocations: 412.9 kB / 3.06 GB, free: 24.96 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/6.961, allocations: 78.48 kB / 3.06 GB, free: 24.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.449e-05/6.962, allocations: 24.92 kB / 3.06 GB, free: 24.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/6.962, allocations: 0 / 3.06 GB, free: 24.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/6.962, allocations: 34.56 kB / 3.06 GB, free: 24.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/6.962, allocations: 4 kB / 3.06 GB, free: 24.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002323/6.962, allocations: 73.64 kB / 3.061 GB, free: 24.72 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/6.962, allocations: 58.12 kB / 3.061 GB, free: 24.65 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/6.962, allocations: 132.9 kB / 3.061 GB, free: 24.52 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/6.962, allocations: 25.7 kB / 3.061 GB, free: 24.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/6.962, allocations: 119.9 kB / 3.061 GB, free: 24.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/6.962, allocations: 27.59 kB / 3.061 GB, free: 24.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/6.962, allocations: 0 / 3.061 GB, free: 24.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/6.962, allocations: 326.8 kB / 3.061 GB, free: 24.01 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.528e-05/6.962, allocations: 20 kB / 3.061 GB, free: 23.99 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.202e-05/6.962, allocations: 16 kB / 3.061 GB, free: 23.97 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.371e-05/6.962, allocations: 27.03 kB / 3.061 GB, free: 23.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/6.962, allocations: 0 / 3.061 GB, free: 23.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001813/6.963, allocations: 85.73 kB / 3.061 GB, free: 23.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/6.963, allocations: 8 kB / 3.061 GB, free: 23.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/6.963, allocations: 0 / 3.061 GB, free: 23.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/6.963, allocations: 0 / 3.061 GB, free: 23.85 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/6.963, allocations: 27.92 kB / 3.061 GB, free: 23.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/6.963, allocations: 0 / 3.061 GB, free: 23.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/6.963, allocations: 15.89 kB / 3.061 GB, free: 23.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/6.963, allocations: 0 / 3.061 GB, free: 23.81 MB / 0.948 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 () * 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 5.906e-05/6.963, allocations: 112.7 kB / 3.061 GB, free: 23.69 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/6.963, allocations: 11.91 kB / 3.062 GB, free: 23.68 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/6.964, allocations: 90.3 kB / 3.062 GB, free: 23.58 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/6.964, allocations: 4 kB / 3.062 GB, free: 23.58 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/6.964, allocations: 0 / 3.062 GB, free: 23.58 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/6.964, allocations: 0 / 3.062 GB, free: 23.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/6.964, allocations: 196.2 kB / 3.062 GB, free: 23.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/6.964, allocations: 0 / 3.062 GB, free: 23.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/6.964, allocations: 19.92 kB / 3.062 GB, free: 23.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/6.964, allocations: 4 kB / 3.062 GB, free: 23.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/6.964, allocations: 0.75 kB / 3.062 GB, free: 23.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/6.964, allocations: 3.984 kB / 3.062 GB, free: 23.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/6.964, allocations: 0 / 3.062 GB, free: 23.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/6.964, allocations: 183.4 kB / 3.062 GB, free: 23.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/6.964, allocations: 84.92 kB / 3.062 GB, free: 23.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.996e-05/6.964, allocations: 4 kB / 3.062 GB, free: 23.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/6.965, allocations: 11.98 kB / 3.062 GB, free: 23.01 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/6.965, allocations: 4 kB / 3.062 GB, free: 23.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/6.965, allocations: 3.281 kB / 3.062 GB, free: 23.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.416e-05/6.965, allocations: 115.8 kB / 3.062 GB, free: 22.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.21e-07/6.965, allocations: 0 / 3.062 GB, free: 22.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000416/6.965, allocations: 51.92 kB / 3.062 GB, free: 22.84 MB / 0.948 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 () * 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.0008936/6.966, allocations: 0.6406 MB / 3.063 GB, free: 22.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001776/6.966, allocations: 48.3 kB / 3.063 GB, free: 22.16 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/6.966, allocations: 0 / 3.063 GB, free: 22.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/6.966, allocations: 24 kB / 3.063 GB, free: 22.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/6.967, allocations: 35.92 kB / 3.063 GB, free: 22.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/6.967, allocations: 156.8 kB / 3.063 GB, free: 21.93 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/6.968, allocations: 0.7119 MB / 3.064 GB, free: 21.19 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001139/6.968, allocations: 8.422 kB / 3.064 GB, free: 21.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/6.968, allocations: 11.44 kB / 3.064 GB, free: 21.17 MB / 0.948 GB Notification: Performance of SimCode: time 9.72e-07/6.968, allocations: 0 / 3.064 GB, free: 21.17 MB / 0.948 GB Notification: Performance of Templates: time 0.01191/6.98, allocations: 4.378 MB / 3.068 GB, free: 16.84 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)