Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.00113/0.00113, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.825/1.825, allocations: 205.3 MB / 0.626 GB, free: 7.129 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.0009394/0.0009394, allocations: 95.52 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.263e-05, allocations: 4 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.738, allocations: 116.3 MB / 0.9733 GB, free: 76.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.453/5.191, allocations: 2.057 GB / 3.03 GB, free: 27.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/5.191, allocations: 89.75 kB / 3.03 GB, free: 27.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6949/5.886, allocations: 40.67 MB / 3.07 GB, free: 332 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.014e-06/5.886, allocations: 1.812 kB / 3.07 GB, free: 332 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.697e-05/5.886, allocations: 1.5 kB / 3.07 GB, free: 332 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.0006095/5.887, allocations: 447.6 kB / 3.07 GB, free: 331.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/5.887, allocations: 10.31 kB / 3.07 GB, free: 331.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/5.887, allocations: 34.45 kB / 3.07 GB, free: 331.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/5.888, allocations: 212.8 kB / 3.071 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/5.888, allocations: 3.281 kB / 3.071 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/5.888, allocations: 5.594 kB / 3.071 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001602/5.888, allocations: 60.72 kB / 3.071 GB, free: 331.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/5.888, allocations: 90.03 kB / 3.071 GB, free: 331.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/5.888, allocations: 1 kB / 3.071 GB, free: 331.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/5.888, allocations: 3.75 kB / 3.071 GB, free: 331.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/5.888, allocations: 3.844 kB / 3.071 GB, free: 331.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/5.889, allocations: 422.2 kB / 3.071 GB, free: 331.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/5.889, allocations: 74.06 kB / 3.071 GB, free: 331.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/5.889, allocations: 25.58 kB / 3.071 GB, free: 331.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/5.889, allocations: 1.125 kB / 3.071 GB, free: 331.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/5.889, allocations: 38.62 kB / 3.071 GB, free: 331 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.953e-06/5.889, allocations: 0 / 3.071 GB, free: 331 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002191/5.889, allocations: 80.81 kB / 3.071 GB, free: 331 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/5.889, allocations: 55.12 kB / 3.072 GB, free: 330.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/5.89, allocations: 136 kB / 3.072 GB, free: 330.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/5.89, allocations: 26.7 kB / 3.072 GB, free: 330.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/5.89, allocations: 119.4 kB / 3.072 GB, free: 330.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/5.89, allocations: 24.67 kB / 3.072 GB, free: 330.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/5.89, allocations: 0 / 3.072 GB, free: 330.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/5.89, allocations: 318.6 kB / 3.072 GB, free: 330.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-05/5.89, allocations: 18.84 kB / 3.072 GB, free: 330.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/5.89, allocations: 23.48 kB / 3.072 GB, free: 330.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.527e-05/5.89, allocations: 16.44 kB / 3.072 GB, free: 330.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/5.89, allocations: 6.406 kB / 3.072 GB, free: 330.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001296/5.89, allocations: 89.64 kB / 3.072 GB, free: 330.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/5.89, allocations: 4.844 kB / 3.072 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/5.89, allocations: 0 / 3.072 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/5.89, allocations: 2.25 kB / 3.072 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/5.89, allocations: 23.55 kB / 3.072 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/5.89, allocations: 1.5 kB / 3.072 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/5.89, allocations: 12.62 kB / 3.072 GB, free: 330.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/5.89, allocations: 2 kB / 3.072 GB, free: 330.3 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.974e-05/5.89, allocations: 106.8 kB / 3.072 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/5.89, allocations: 17.2 kB / 3.072 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/5.891, allocations: 98.88 kB / 3.073 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/5.891, allocations: 0 / 3.073 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/5.891, allocations: 0 / 3.073 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/5.891, allocations: 0 / 3.073 GB, free: 330.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/5.891, allocations: 191.6 kB / 3.073 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/5.891, allocations: 0 / 3.073 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/5.891, allocations: 17.28 kB / 3.073 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/5.891, allocations: 0 / 3.073 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/5.891, allocations: 5.453 kB / 3.073 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/5.891, allocations: 6.031 kB / 3.073 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/5.891, allocations: 3.844 kB / 3.073 GB, free: 330 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/5.891, allocations: 179 kB / 3.073 GB, free: 329.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/5.891, allocations: 83.92 kB / 3.073 GB, free: 329.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/5.891, allocations: 2.156 kB / 3.073 GB, free: 329.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/5.891, allocations: 17.27 kB / 3.073 GB, free: 329.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/5.891, allocations: 9.031 kB / 3.073 GB, free: 329.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/5.891, allocations: 1.375 kB / 3.073 GB, free: 329.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.995e-05/5.891, allocations: 111.8 kB / 3.073 GB, free: 329.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.891, allocations: 1 kB / 3.073 GB, free: 329.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003369/5.892, allocations: 52.19 kB / 3.073 GB, free: 329.7 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.0007978/5.893, allocations: 0.6429 MB / 3.074 GB, free: 329.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000147/5.893, allocations: 43.88 kB / 3.074 GB, free: 329.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/5.893, allocations: 4 kB / 3.074 GB, free: 329.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-05/5.893, allocations: 31.59 kB / 3.074 GB, free: 329.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/5.893, allocations: 29.41 kB / 3.074 GB, free: 329.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/5.894, allocations: 142.9 kB / 3.074 GB, free: 329.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/5.894, allocations: 0.7108 MB / 3.075 GB, free: 328.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.075e-05/5.894, allocations: 11.31 kB / 3.075 GB, free: 328.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/5.894, allocations: 19.38 kB / 3.075 GB, free: 328.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/5.894, allocations: 0 / 3.075 GB, free: 328.7 MB / 0.948 GB Notification: Performance of Templates: time 0.007656/5.901, allocations: 4.379 MB / 3.079 GB, free: 328.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)