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.189/2.189, allocations: 248.7 MB / 256.2 MB, free: 7.039 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.001469/0.001469, allocations: 174.9 kB / 315.4 MB, free: 3.98 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 88.06 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.864e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.23, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.255/7.485, allocations: 2.175 GB / 3.059 GB, free: 178.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/7.486, allocations: 87.5 kB / 3.059 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1315/7.617, allocations: 39.91 MB / 3.098 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.724e-06/7.617, allocations: 0 / 3.098 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.484e-05/7.617, allocations: 8 kB / 3.098 GB, free: 145.8 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.0006557/7.618, allocations: 453.4 kB / 3.098 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/7.618, allocations: 8.031 kB / 3.098 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/7.618, allocations: 39.66 kB / 3.098 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/7.619, allocations: 208.3 kB / 3.099 GB, free: 145 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/7.619, allocations: 8 kB / 3.099 GB, free: 145 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/7.619, allocations: 11.94 kB / 3.099 GB, free: 145 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001955/7.619, allocations: 57 kB / 3.099 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/7.619, allocations: 93.66 kB / 3.099 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/7.619, allocations: 0 / 3.099 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/7.619, allocations: 0 / 3.099 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/7.619, allocations: 0 / 3.099 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/7.62, allocations: 419.5 kB / 3.099 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/7.62, allocations: 74.56 kB / 3.099 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/7.62, allocations: 36.84 kB / 3.099 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/7.62, allocations: 0 / 3.099 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/7.62, allocations: 34.56 kB / 3.099 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/7.62, allocations: 0 / 3.099 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.000258/7.621, allocations: 81.58 kB / 3.099 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/7.621, allocations: 55.36 kB / 3.1 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/7.621, allocations: 137.5 kB / 3.1 GB, free: 144 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/7.621, allocations: 25.7 kB / 3.1 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/7.621, allocations: 127.8 kB / 3.1 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/7.621, allocations: 19.66 kB / 3.1 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/7.621, allocations: 0 / 3.1 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.686e-05/7.621, allocations: 322.8 kB / 3.1 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/7.621, allocations: 16 kB / 3.1 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.389e-05/7.621, allocations: 20 kB / 3.1 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/7.621, allocations: 28.12 kB / 3.1 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/7.621, allocations: 0 / 3.1 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000179/7.621, allocations: 85.59 kB / 3.1 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/7.621, allocations: 8 kB / 3.1 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/7.621, allocations: 0 / 3.1 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/7.621, allocations: 0 / 3.1 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/7.622, allocations: 23.92 kB / 3.1 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/7.622, allocations: 0 / 3.1 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/7.622, allocations: 15.94 kB / 3.1 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/7.622, allocations: 0 / 3.1 GB, free: 143.3 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.566e-05/7.622, allocations: 109 kB / 3.1 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001744/7.622, allocations: 77.59 kB / 3.1 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/7.622, allocations: 15.75 kB / 3.1 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/7.622, allocations: 94.61 kB / 3.101 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/7.622, allocations: 4 kB / 3.101 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/7.622, allocations: 3.953 kB / 3.101 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/7.623, allocations: 0 / 3.101 GB, free: 143 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/7.623, allocations: 186.1 kB / 3.101 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/7.623, allocations: 0 / 3.101 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/7.623, allocations: 23.98 kB / 3.101 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/7.623, allocations: 0 / 3.101 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/7.623, allocations: 0 / 3.101 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/7.623, allocations: 4 kB / 3.101 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/7.623, allocations: 0 / 3.101 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/7.623, allocations: 191.4 kB / 3.101 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/7.623, allocations: 81.02 kB / 3.101 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/7.623, allocations: 4 kB / 3.101 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/7.624, allocations: 15.98 kB / 3.101 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/7.624, allocations: 7.938 kB / 3.101 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/7.624, allocations: 0 / 3.101 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.162e-05/7.624, allocations: 115.2 kB / 3.101 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.91e-07/7.624, allocations: 0 / 3.101 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004808/7.624, allocations: 55.83 kB / 3.101 GB, free: 142.2 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.001208/7.625, allocations: 1.259 MB / 3.102 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001906/7.626, allocations: 47.98 kB / 3.103 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/7.626, allocations: 0 / 3.103 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/7.626, allocations: 24 kB / 3.103 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/7.626, allocations: 35.84 kB / 3.103 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007304/7.627, allocations: 190.6 kB / 3.103 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/7.627, allocations: 0.7157 MB / 3.103 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001241/7.627, allocations: 8.438 kB / 3.103 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.072e-05/7.627, allocations: 39.42 kB / 3.104 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.473e-06/7.627, allocations: 0 / 3.104 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0479/7.675, allocations: 6.568 MB / 3.11 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/7.676, allocations: 156.6 kB / 3.11 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/10.23, allocations: 11.8 kB / 3.11 GB, free: 133.1 MB / 0.8698 GB