Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear",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.327/2.327, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.001492/0.001492, allocations: 178 kB / 315.4 MB, free: 4.004 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.092/2.092, allocations: 205.3 MB / 0.5662 GB, free: 0.6289 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.001078/0.001078, allocations: 89.91 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.555e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.217, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8924/1.109, allocations: 131.7 MB / 1.013 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.11, allocations: 78.58 kB / 1.013 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005291/1.115, allocations: 1.08 MB / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/1.115, allocations: 0 / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.115, allocations: 4 kB / 1.014 GB, free: 6.406 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006228/1.116, allocations: 377.4 kB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.116, allocations: 12.03 kB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/1.116, allocations: 3.906 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/1.116, allocations: 174.9 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/1.116, allocations: 7.938 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/1.116, allocations: 0 / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000149/1.116, allocations: 36.11 kB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/1.116, allocations: 48.44 kB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.116, allocations: 0 / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/1.116, allocations: 4 kB / 1.014 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.116, allocations: 0 / 1.014 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007522/1.117, allocations: 303.2 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/1.117, allocations: 44.19 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.654e-05/1.117, allocations: 22.61 kB / 1.015 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/1.118, allocations: 104.2 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/1.118, allocations: 38.56 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.425e-06/1.118, allocations: 0 / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003608/1.118, allocations: 79.06 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/1.118, allocations: 51.41 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/1.118, allocations: 116 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/1.118, allocations: 25.7 kB / 1.015 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/1.118, allocations: 87.58 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/1.118, allocations: 7.094 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/1.119, allocations: 0 / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.119, allocations: 330.2 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.086e-05/1.119, allocations: 11.38 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/1.119, allocations: 18.8 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/1.119, allocations: 19.3 kB / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.119, allocations: 0 / 1.016 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002367/1.119, allocations: 79.31 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.119, allocations: 4 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.119, allocations: 0 / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.119, allocations: 0 / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/1.119, allocations: 23.98 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/1.12, allocations: 4.719 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/1.12, allocations: 15.98 kB / 1.016 GB, free: 4.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/1.12, allocations: 4 kB / 1.016 GB, free: 4.289 MB / 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.848e-05/1.12, allocations: 120.4 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002454/1.12, allocations: 72.89 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/1.12, allocations: 240 / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/1.12, allocations: 94.77 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/1.12, allocations: 3.938 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.12, allocations: 3.984 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/1.12, allocations: 3.953 kB / 1.016 GB, free: 4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002157/1.121, allocations: 160.8 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.121, allocations: 0 / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/1.121, allocations: 29.48 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.121, allocations: 0 / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/1.121, allocations: 0 / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/1.121, allocations: 0 / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.121, allocations: 0 / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/1.121, allocations: 172.9 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/1.121, allocations: 88.95 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/1.121, allocations: 4 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.122, allocations: 15.98 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/1.122, allocations: 3.984 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/1.122, allocations: 4 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.526e-05/1.122, allocations: 101.1 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.122, allocations: 0 / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003041/1.122, allocations: 8 kB / 1.017 GB, free: 3.387 MB / 0.6355 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.0006238/1.123, allocations: 0.72 MB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001392/1.123, allocations: 29.19 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.123, allocations: 0 / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/1.123, allocations: 19.88 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/1.123, allocations: 17.09 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/1.124, allocations: 136.1 kB / 1.018 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/1.124, allocations: 0.6924 MB / 1.018 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.062e-05/1.125, allocations: 7.859 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/1.125, allocations: 13.69 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/1.125, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/1.161, allocations: 1.217 MB / 1.019 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003121/1.161, allocations: 142.3 kB / 1.02 GB, free: 320 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/3.512, allocations: 4.031 kB / 1.02 GB, free: 316 kB / 0.6355 GB