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.281/2.281, allocations: 251 MB / 265.9 MB, free: 11.69 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.001558/0.001558, allocations: 177.2 kB / 325.5 MB, free: 2.902 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.372/2.372, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001214/0.001214, allocations: 90.06 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005294/0.0005294, allocations: 20.53 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2307, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.752/6.983, allocations: 2.175 GB / 3.073 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/6.983, allocations: 92.19 kB / 3.074 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7739/7.757, allocations: 40.66 MB / 3.113 GB, free: 329 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.114e-06/7.757, allocations: 0 / 3.113 GB, free: 329 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.385e-05/7.757, allocations: 1.531 kB / 3.113 GB, free: 329 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.0009175/7.758, allocations: 466.9 kB / 3.114 GB, free: 328.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/7.758, allocations: 9.062 kB / 3.114 GB, free: 328.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.476e-05/7.758, allocations: 48.12 kB / 3.114 GB, free: 328.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004023/7.759, allocations: 41.41 kB / 3.114 GB, free: 328.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/7.759, allocations: 205.4 kB / 3.114 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/7.759, allocations: 9.094 kB / 3.114 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/7.759, allocations: 9.844 kB / 3.114 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/7.759, allocations: 117.8 kB / 3.114 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/7.76, allocations: 0 / 3.114 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/7.76, allocations: 4 kB / 3.114 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/7.76, allocations: 7.797 kB / 3.114 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/7.76, allocations: 106.8 kB / 3.114 GB, free: 328.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000941/7.761, allocations: 462.1 kB / 3.115 GB, free: 328 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/7.761, allocations: 98.2 kB / 3.115 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/7.761, allocations: 0 / 3.115 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/7.761, allocations: 34.12 kB / 3.115 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/7.761, allocations: 3.75 kB / 3.115 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7): time 0.0007179/7.762, allocations: 163.9 kB / 3.115 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/7.762, allocations: 51.41 kB / 3.115 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/7.762, allocations: 165 kB / 3.115 GB, free: 327.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/7.762, allocations: 25.7 kB / 3.115 GB, free: 327.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/7.763, allocations: 111.1 kB / 3.115 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/7.763, allocations: 32.75 kB / 3.115 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/7.763, allocations: 0 / 3.115 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.583e-05/7.763, allocations: 327.3 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/7.763, allocations: 35.86 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/7.763, allocations: 32.94 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/7.763, allocations: 52.73 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/7.763, allocations: 0 / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004705/7.764, allocations: 124.9 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/7.764, allocations: 11.16 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/7.764, allocations: 0 / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/7.764, allocations: 0 / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/7.764, allocations: 18.11 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/7.764, allocations: 2.812 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/7.764, allocations: 18 kB / 3.116 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/7.764, allocations: 10.47 kB / 3.116 GB, free: 327.2 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 0.0001327/7.764, allocations: 134 kB / 3.116 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/7.765, allocations: 10.88 kB / 3.116 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005216/7.765, allocations: 129.2 kB / 3.116 GB, free: 327 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/7.765, allocations: 3.156 kB / 3.116 GB, free: 327 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/7.765, allocations: 4 kB / 3.116 GB, free: 327 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/7.765, allocations: 0 / 3.116 GB, free: 327 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/7.765, allocations: 226.2 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/7.765, allocations: 3.984 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/7.766, allocations: 20.3 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/7.766, allocations: 3.25 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/7.766, allocations: 3.844 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/7.766, allocations: 3.703 kB / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/7.766, allocations: 0 / 3.116 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/7.766, allocations: 222.1 kB / 3.117 GB, free: 326.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/7.766, allocations: 88.25 kB / 3.117 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/7.766, allocations: 0 / 3.117 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/7.767, allocations: 14.19 kB / 3.117 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/7.767, allocations: 6.844 kB / 3.117 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/7.767, allocations: 0 / 3.117 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001509/7.767, allocations: 136.3 kB / 3.117 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.11e-07/7.767, allocations: 0 / 3.117 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005096/7.767, allocations: 65.47 kB / 3.117 GB, free: 326.5 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.001515/7.769, allocations: 1.205 MB / 3.118 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005/7.769, allocations: 85.36 kB / 3.118 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/7.769, allocations: 3.938 kB / 3.118 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/7.77, allocations: 43.61 kB / 3.118 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004914/7.77, allocations: 32.53 kB / 3.118 GB, free: 325.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/7.772, allocations: 0.8503 MB / 3.119 GB, free: 325.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/7.772, allocations: 0.716 MB / 3.12 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000141/7.773, allocations: 11.58 kB / 3.12 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.484e-05/7.773, allocations: 32.92 kB / 3.12 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.343e-06/7.773, allocations: 0 / 3.12 GB, free: 324.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/7.817, allocations: 11.88 MB / 3.131 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/7.817, allocations: 195.5 kB / 3.132 GB, free: 320.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/10.75, allocations: 2.656 kB / 3.132 GB, free: 320.4 MB / 0.8855 GB