Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 285.4 MB / 298 MB, free: 6.027 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001394/0.001394, allocations: 180.9 kB / 366.4 MB, free: 2.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.1 MB / 0.6248 GB, free: 7.727 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000841/0.0008412, allocations: 100.6 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.012e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7405, allocations: 115.3 MB / 0.9709 GB, free: 77.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.065/5.806, allocations: 2.057 GB / 3.028 GB, free: 37.92 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000407/5.806, allocations: 88.59 kB / 3.028 GB, free: 37.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6884/6.495, allocations: 41.33 MB / 3.068 GB, free: 330.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.885e-06/6.495, allocations: 0 / 3.068 GB, free: 330.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.655e-05/6.495, allocations: 3.766 kB / 3.068 GB, free: 330.3 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.0007145/6.496, allocations: 445.1 kB / 3.068 GB, free: 329.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/6.496, allocations: 9.875 kB / 3.068 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/6.496, allocations: 37.62 kB / 3.068 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/6.496, allocations: 206.1 kB / 3.069 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/6.496, allocations: 8.594 kB / 3.069 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/6.496, allocations: 14.72 kB / 3.069 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/6.497, allocations: 102.2 kB / 3.069 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/6.497, allocations: 0 / 3.069 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/6.497, allocations: 5.375 kB / 3.069 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/6.497, allocations: 3.25 kB / 3.069 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/6.497, allocations: 67.97 kB / 3.069 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000954/6.498, allocations: 469.5 kB / 3.069 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/6.498, allocations: 81.56 kB / 3.069 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.605e-05/6.498, allocations: 25.89 kB / 3.069 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/6.498, allocations: 6.297 kB / 3.069 GB, free: 329.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/6.498, allocations: 32.62 kB / 3.069 GB, free: 329.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/6.498, allocations: 0.5312 kB / 3.069 GB, free: 329.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002899/6.499, allocations: 88.09 kB / 3.07 GB, free: 329.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/6.499, allocations: 54.91 kB / 3.07 GB, free: 329.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/6.499, allocations: 160.6 kB / 3.07 GB, free: 329.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/6.499, allocations: 27.86 kB / 3.07 GB, free: 329.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/6.499, allocations: 118.1 kB / 3.07 GB, free: 329 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/6.499, allocations: 26.34 kB / 3.07 GB, free: 329 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/6.499, allocations: 0.9688 kB / 3.07 GB, free: 329 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/6.499, allocations: 322.5 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.248e-05/6.499, allocations: 23.25 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/6.499, allocations: 19.72 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.239e-05/6.499, allocations: 28.08 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/6.499, allocations: 2.094 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001721/6.499, allocations: 96.62 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/6.499, allocations: 5.156 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/6.499, allocations: 3.031 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/6.499, allocations: 0.5312 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/6.5, allocations: 21.61 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/6.5, allocations: 0.8125 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/6.5, allocations: 20.45 kB / 3.07 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/6.5, allocations: 6.656 kB / 3.07 GB, free: 328.7 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 6.766e-05/6.5, allocations: 110.1 kB / 3.071 GB, free: 328.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/6.5, allocations: 14.72 kB / 3.071 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/6.5, allocations: 95.42 kB / 3.071 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/6.5, allocations: 3.828 kB / 3.071 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/6.5, allocations: 0.6562 kB / 3.071 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/6.5, allocations: 2.859 kB / 3.071 GB, free: 328.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/6.5, allocations: 223.1 kB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/6.5, allocations: 5.312 kB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/6.501, allocations: 18.2 kB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/6.501, allocations: 4.906 kB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/6.501, allocations: 1.531 kB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/6.501, allocations: 5.062 kB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/6.501, allocations: 5.328 kB / 3.071 GB, free: 328.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/6.501, allocations: 178.2 kB / 3.071 GB, free: 328.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/6.501, allocations: 97.08 kB / 3.071 GB, free: 328.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/6.501, allocations: 7.156 kB / 3.071 GB, free: 328.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/6.501, allocations: 9.547 kB / 3.071 GB, free: 328.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/6.501, allocations: 4.188 kB / 3.071 GB, free: 328.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/6.501, allocations: 2.734 kB / 3.071 GB, free: 328.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001314/6.501, allocations: 133.6 kB / 3.071 GB, free: 328 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/6.501, allocations: 4.25 kB / 3.071 GB, free: 328 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004528/6.502, allocations: 54.34 kB / 3.071 GB, free: 328 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.001024/6.503, allocations: 0.5546 MB / 3.072 GB, free: 327.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001837/6.503, allocations: 51.77 kB / 3.072 GB, free: 327.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/6.503, allocations: 0 / 3.072 GB, free: 327.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.757e-05/6.503, allocations: 29.28 kB / 3.072 GB, free: 327.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/6.503, allocations: 35.05 kB / 3.072 GB, free: 327.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/6.504, allocations: 153 kB / 3.072 GB, free: 327.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/6.504, allocations: 0.7123 MB / 3.073 GB, free: 327.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.417e-05/6.504, allocations: 13.98 kB / 3.073 GB, free: 327.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/6.504, allocations: 12.81 kB / 3.073 GB, free: 327.1 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/6.504, allocations: 0 / 3.073 GB, free: 327.1 MB / 0.948 GB Notification: Performance of Templates: time 0.01971/6.524, allocations: 10.19 MB / 3.083 GB, free: 326.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)