Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.184/2.184, allocations: 248.5 MB / 261.1 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 186.6 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001188/0.001187, allocations: 106.4 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.046e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2077, allocations: 106.2 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.449/7.657, allocations: 2.175 GB / 3.065 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/7.657, allocations: 86.75 kB / 3.065 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1303/7.788, allocations: 40.58 MB / 3.105 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/7.788, allocations: 0 / 3.105 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.414e-05/7.788, allocations: 7.984 kB / 3.105 GB, free: 124.1 MB / 0.8698 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.0006539/7.789, allocations: 446.3 kB / 3.105 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/7.789, allocations: 12.03 kB / 3.105 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/7.789, allocations: 38.56 kB / 3.105 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003257/7.789, allocations: 39.78 kB / 3.105 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/7.789, allocations: 206.9 kB / 3.106 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/7.789, allocations: 11.94 kB / 3.106 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/7.789, allocations: 8 kB / 3.106 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/7.79, allocations: 110.6 kB / 3.106 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/7.79, allocations: 0 / 3.106 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/7.79, allocations: 7.938 kB / 3.106 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/7.79, allocations: 4 kB / 3.106 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/7.79, allocations: 60.66 kB / 3.106 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008249/7.791, allocations: 460.2 kB / 3.106 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/7.791, allocations: 86.5 kB / 3.106 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.4e-05/7.791, allocations: 24.92 kB / 3.106 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/7.791, allocations: 0 / 3.106 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/7.791, allocations: 34.56 kB / 3.106 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/7.791, allocations: 0 / 3.106 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002726/7.791, allocations: 89.59 kB / 3.107 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/7.791, allocations: 55.41 kB / 3.107 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/7.792, allocations: 163 kB / 3.107 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/7.792, allocations: 25.7 kB / 3.107 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.975e-05/7.792, allocations: 128 kB / 3.107 GB, free: 122 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/7.792, allocations: 19.64 kB / 3.107 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/7.792, allocations: 8 kB / 3.107 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/7.792, allocations: 318.8 kB / 3.107 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.549e-05/7.792, allocations: 20 kB / 3.107 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/7.792, allocations: 23.94 kB / 3.107 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.19e-05/7.792, allocations: 24 kB / 3.107 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/7.792, allocations: 0 / 3.107 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002044/7.792, allocations: 93.81 kB / 3.107 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/7.792, allocations: 4 kB / 3.107 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/7.792, allocations: 7.938 kB / 3.107 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/7.792, allocations: 0 / 3.107 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/7.793, allocations: 23.94 kB / 3.107 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/7.793, allocations: 0 / 3.107 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/7.793, allocations: 23.89 kB / 3.107 GB, free: 121.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/7.793, allocations: 0 / 3.107 GB, free: 121.4 MB / 0.8698 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.534e-05/7.793, allocations: 112.9 kB / 3.108 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/7.793, allocations: 15.75 kB / 3.108 GB, free: 121.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/7.793, allocations: 103.2 kB / 3.108 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/7.793, allocations: 0 / 3.108 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/7.793, allocations: 3.953 kB / 3.108 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/7.793, allocations: 0 / 3.108 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/7.794, allocations: 221.5 kB / 3.108 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/7.794, allocations: 4 kB / 3.108 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/7.794, allocations: 23.92 kB / 3.108 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/7.794, allocations: 0 / 3.108 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/7.794, allocations: 4 kB / 3.108 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/7.794, allocations: 0 / 3.108 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/7.794, allocations: 0 / 3.108 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/7.794, allocations: 179.4 kB / 3.108 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/7.794, allocations: 100.9 kB / 3.108 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/7.794, allocations: 0 / 3.108 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/7.794, allocations: 11.98 kB / 3.108 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/7.794, allocations: 3.984 kB / 3.108 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/7.795, allocations: 8 kB / 3.108 GB, free: 120.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001279/7.795, allocations: 132.3 kB / 3.108 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.11e-07/7.795, allocations: 0 / 3.108 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004508/7.795, allocations: 55.94 kB / 3.108 GB, free: 120.3 MB / 0.8698 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.001114/7.796, allocations: 1.185 MB / 3.11 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002002/7.796, allocations: 51.92 kB / 3.11 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/7.796, allocations: 8 kB / 3.11 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/7.797, allocations: 24 kB / 3.11 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/7.797, allocations: 31.95 kB / 3.11 GB, free: 119 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007221/7.798, allocations: 211.4 kB / 3.11 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/7.798, allocations: 0.716 MB / 3.111 GB, free: 118 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000122/7.798, allocations: 8.891 kB / 3.111 GB, free: 118 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/7.798, allocations: 35.42 kB / 3.111 GB, free: 118 MB / 0.8698 GB Notification: Performance of SimCode: time 7.61e-07/7.798, allocations: 0 / 3.111 GB, free: 118 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0469/7.845, allocations: 13.57 MB / 3.124 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/7.845, allocations: 171 kB / 3.124 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.948/10.79, allocations: 0 / 3.124 GB, free: 104.3 MB / 0.8698 GB