Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009882/0.0009878, allocations: 177.2 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.429/1.429, allocations: 205.4 MB / 0.5785 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007426/0.0007427, allocations: 89.64 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003603, allocations: 14.88 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1832, allocations: 106.3 MB / 0.9012 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.818/4.001, allocations: 2.175 GB / 3.076 GB, free: 45.96 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/4.001, allocations: 91.94 kB / 3.076 GB, free: 45.87 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07051/4.071, allocations: 40.58 MB / 3.116 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.142e-06/4.072, allocations: 0 / 3.116 GB, free: 4.781 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.297e-05/4.072, allocations: 4 kB / 3.116 GB, free: 4.777 MB / 0.8855 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.0005336/4.072, allocations: 475.1 kB / 3.116 GB, free: 4.262 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/4.072, allocations: 8.031 kB / 3.116 GB, free: 4.254 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/4.072, allocations: 32.73 kB / 3.116 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/4.073, allocations: 214.2 kB / 3.117 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/4.073, allocations: 8.375 kB / 3.117 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/4.073, allocations: 16.38 kB / 3.117 GB, free: 3.953 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/4.073, allocations: 131.2 kB / 3.117 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/4.073, allocations: 192 / 3.117 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/4.073, allocations: 7.938 kB / 3.117 GB, free: 3.812 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/4.073, allocations: 4 kB / 3.117 GB, free: 3.809 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/4.073, allocations: 102.1 kB / 3.117 GB, free: 3.711 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/4.074, allocations: 456.2 kB / 3.117 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/4.074, allocations: 94.48 kB / 3.117 GB, free: 3.113 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.741e-05/4.074, allocations: 52.94 kB / 3.117 GB, free: 3.059 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/4.074, allocations: 0 / 3.117 GB, free: 3.059 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/4.074, allocations: 34.5 kB / 3.117 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/4.074, allocations: 0 / 3.117 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0003732/4.074, allocations: 165.5 kB / 3.118 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/4.075, allocations: 55.34 kB / 3.118 GB, free: 2.781 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/4.075, allocations: 180 kB / 3.118 GB, free: 2.598 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/4.075, allocations: 29.7 kB / 3.118 GB, free: 2.562 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/4.075, allocations: 116 kB / 3.118 GB, free: 2.445 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/4.075, allocations: 19.72 kB / 3.118 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/4.075, allocations: 4 kB / 3.118 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/4.075, allocations: 330.8 kB / 3.118 GB, free: 2.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.275e-05/4.075, allocations: 35.97 kB / 3.118 GB, free: 2.055 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.24e-05/4.075, allocations: 35.98 kB / 3.118 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/4.075, allocations: 85.28 kB / 3.118 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/4.075, allocations: 0 / 3.118 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002249/4.075, allocations: 141.5 kB / 3.119 GB, free: 1.789 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/4.075, allocations: 10.75 kB / 3.119 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/4.075, allocations: 0 / 3.119 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/4.075, allocations: 0 / 3.119 GB, free: 1.781 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/4.076, allocations: 19.98 kB / 3.119 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/4.076, allocations: 0 / 3.119 GB, free: 1.762 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/4.076, allocations: 19.83 kB / 3.119 GB, free: 1.742 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/4.076, allocations: 8 kB / 3.119 GB, free: 1.734 MB / 0.8855 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 6.348e-05/4.076, allocations: 117.8 kB / 3.119 GB, free: 1.609 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/4.076, allocations: 19.75 kB / 3.119 GB, free: 1.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/4.076, allocations: 139 kB / 3.119 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/4.076, allocations: 0 / 3.119 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/4.076, allocations: 0 / 3.119 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/4.076, allocations: 0 / 3.119 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/4.076, allocations: 221.6 kB / 3.119 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/4.076, allocations: 0 / 3.119 GB, free: 1.184 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/4.076, allocations: 19.97 kB / 3.119 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/4.076, allocations: 7.938 kB / 3.119 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/4.076, allocations: 0 / 3.119 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/4.076, allocations: 0 / 3.119 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/4.076, allocations: 4 kB / 3.119 GB, free: 1.152 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/4.077, allocations: 223.2 kB / 3.119 GB, free: 0.918 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/4.077, allocations: 92.89 kB / 3.119 GB, free: 0.8086 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/4.077, allocations: 4 kB / 3.119 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/4.077, allocations: 15.98 kB / 3.119 GB, free: 0.7891 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/4.077, allocations: 3.984 kB / 3.119 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/4.077, allocations: 8 kB / 3.119 GB, free: 0.7773 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.867e-05/4.077, allocations: 135.5 kB / 3.12 GB, free: 0.6445 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/4.077, allocations: 0 / 3.12 GB, free: 0.6445 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003289/4.077, allocations: 55.98 kB / 3.12 GB, free: 0.5898 MB / 0.8855 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.0005749/4.078, allocations: 0.5488 MB / 3.12 GB, free: 32 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.3453/4.423, allocations: 79.3 kB / 3.12 GB, free: 315.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/4.423, allocations: 0 / 3.12 GB, free: 315.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/4.423, allocations: 47.72 kB / 3.12 GB, free: 315.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/4.424, allocations: 30.45 kB / 3.12 GB, free: 315.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/4.424, allocations: 321 kB / 3.121 GB, free: 315.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/4.425, allocations: 0.7074 MB / 3.121 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.114e-05/4.425, allocations: 13.34 kB / 3.121 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/4.425, allocations: 13.75 kB / 3.121 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of SimCode: time 8.72e-07/4.425, allocations: 0 / 3.121 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.01286/4.438, allocations: 8.562 MB / 3.13 GB, free: 314.1 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1)