Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_Average",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.18/2.18, allocations: 248.5 MB / 261.1 MB, free: 6.043 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.001438/0.001438, allocations: 178.6 kB / 320.4 MB, free: 15.36 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.042/2.042, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001159/0.001159, allocations: 94.44 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.883e-05/3.905e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2196, allocations: 106.2 MB / 0.8907 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9027/1.122, allocations: 131.6 MB / 1.019 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.123, allocations: 76.31 kB / 1.019 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004916/1.128, allocations: 1.123 MB / 1.02 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.205e-06/1.128, allocations: 2.625 kB / 1.02 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.229e-05/1.128, allocations: 0 / 1.02 GB, free: 2.207 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006483/1.128, allocations: 370 kB / 1.021 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.128, allocations: 8.031 kB / 1.021 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/1.129, allocations: 42.06 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/1.129, allocations: 3.906 kB / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/1.129, allocations: 202.2 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/1.129, allocations: 3.5 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/1.129, allocations: 4 kB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/1.129, allocations: 56.56 kB / 1.021 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/1.129, allocations: 0 / 1.021 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.129, allocations: 3.984 kB / 1.021 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/1.129, allocations: 4 kB / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/1.129, allocations: 30.5 kB / 1.021 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/1.13, allocations: 333.6 kB / 1.021 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/1.13, allocations: 45.97 kB / 1.021 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/1.13, allocations: 22.41 kB / 1.021 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/1.13, allocations: 7.984 kB / 1.021 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/1.13, allocations: 30.56 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.983e-06/1.13, allocations: 0 / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002368/1.131, allocations: 56.3 kB / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/1.131, allocations: 51.41 kB / 1.022 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/1.131, allocations: 120.5 kB / 1.022 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/1.131, allocations: 29.7 kB / 1.022 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/1.131, allocations: 91.97 kB / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/1.131, allocations: 15.16 kB / 1.022 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/1.131, allocations: 3.938 kB / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.131, allocations: 313.8 kB / 1.022 GB, free: 284 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.957e-05/1.131, allocations: 11.69 kB / 1.022 GB, free: 276 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/1.131, allocations: 15.7 kB / 1.022 GB, free: 264 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/1.131, allocations: 15.56 kB / 1.022 GB, free: 252 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.131, allocations: 0 / 1.022 GB, free: 252 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001532/1.132, allocations: 60.16 kB / 1.022 GB, free: 196 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.132, allocations: 8 kB / 1.022 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/1.132, allocations: 0 / 1.022 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.132, allocations: 3.953 kB / 1.022 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/1.132, allocations: 23.97 kB / 1.022 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.132, allocations: 7.875 kB / 1.022 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/1.132, allocations: 19.98 kB / 1.022 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/1.132, allocations: 3.875 kB / 1.022 GB, free: 132 kB / 0.6355 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 (3): * Single equations (assignments): 3 * 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 8.091e-05/1.132, allocations: 105 kB / 1.022 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/1.132, allocations: 0 / 1.022 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/1.132, allocations: 71.61 kB / 1.022 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.133, allocations: 0 / 1.022 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.133, allocations: 7.953 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.133, allocations: 3.984 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/1.133, allocations: 170.8 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/1.133, allocations: 0 / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/1.133, allocations: 23.97 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/1.133, allocations: 0 / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/1.133, allocations: 2.562 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.133, allocations: 7.938 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.133, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/1.133, allocations: 151.8 kB / 1.023 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/1.133, allocations: 89 kB / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/1.133, allocations: 2.625 kB / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/1.134, allocations: 15.98 kB / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/1.134, allocations: 0 / 1.023 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/1.134, allocations: 12.86 kB / 1.023 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.937e-05/1.134, allocations: 95.84 kB / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.81e-07/1.134, allocations: 0 / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002967/1.134, allocations: 12 kB / 1.023 GB, free: 15.31 MB / 0.6511 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 (3): * Single equations (assignments): 3 * 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.0005459/1.135, allocations: 0.6911 MB / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001573/1.135, allocations: 33.62 kB / 1.024 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.135, allocations: 0 / 1.024 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/1.135, allocations: 19.55 kB / 1.024 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/1.135, allocations: 11.56 kB / 1.024 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/1.136, allocations: 133.9 kB / 1.024 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/1.136, allocations: 0.6887 MB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.674e-05/1.136, allocations: 11.98 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.819e-05/1.136, allocations: 19.56 kB / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/1.136, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/1.16, allocations: 1.463 MB / 1.026 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002918/1.16, allocations: 144 kB / 1.026 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.348/3.509, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.6511 GB