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.206/2.206, allocations: 248.5 MB / 261 MB, free: 6.055 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.00142/0.00142, allocations: 176.9 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.119/2.119, allocations: 205.2 MB / 0.571 GB, free: 11.79 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.001135/0.001134, allocations: 105.6 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.65e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2162, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9102/1.126, allocations: 131.4 MB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/1.127, allocations: 71.89 kB / 1.019 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004831/1.132, allocations: 1.085 MB / 1.02 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.067e-06/1.132, allocations: 4 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.795e-06/1.132, allocations: 3.938 kB / 1.02 GB, free: 2.773 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.0006138/1.132, allocations: 372.1 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.132, allocations: 12.03 kB / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/1.132, allocations: 34.55 kB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/1.132, allocations: 7.906 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/1.133, allocations: 177.5 kB / 1.021 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/1.133, allocations: 0 / 1.021 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.133, allocations: 0 / 1.021 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/1.133, allocations: 54.38 kB / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/1.133, allocations: 0 / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.133, allocations: 0 / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/1.133, allocations: 0 / 1.021 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/1.133, allocations: 40.92 kB / 1.021 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/1.134, allocations: 318.7 kB / 1.021 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/1.134, allocations: 63.67 kB / 1.021 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.097e-05/1.134, allocations: 20.44 kB / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002726/1.134, allocations: 104.7 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/1.134, allocations: 32.38 kB / 1.021 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.274e-06/1.134, allocations: 3.938 kB / 1.021 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000268/1.135, allocations: 72.08 kB / 1.021 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/1.135, allocations: 59.36 kB / 1.021 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/1.135, allocations: 117 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/1.135, allocations: 25.7 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/1.135, allocations: 91.25 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/1.135, allocations: 11.89 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.135, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.135, allocations: 317.4 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/1.135, allocations: 15.11 kB / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/1.135, allocations: 19.69 kB / 1.022 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.022e-05/1.135, allocations: 19.86 kB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.135, allocations: 0 / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001934/1.136, allocations: 75.95 kB / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.136, allocations: 6.656 kB / 1.022 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.136, allocations: 0 / 1.022 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.136, allocations: 0 / 1.022 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/1.136, allocations: 19.98 kB / 1.022 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.136, allocations: 0 / 1.022 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/1.136, allocations: 23.94 kB / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/1.136, allocations: 7.609 kB / 1.022 GB, free: 0.5859 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 7.891e-05/1.136, allocations: 105 kB / 1.022 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.548e-05/1.136, allocations: 7.906 kB / 1.022 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/1.137, allocations: 83.41 kB / 1.022 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.137, allocations: 0 / 1.022 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.137, allocations: 4 kB / 1.022 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/1.137, allocations: 7.984 kB / 1.022 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/1.137, allocations: 176.8 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.137, allocations: 0 / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/1.137, allocations: 20.86 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.137, allocations: 0 / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/1.137, allocations: 0 / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.137, allocations: 0 / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.137, allocations: 4 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/1.138, allocations: 169.1 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/1.138, allocations: 85.33 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/1.138, allocations: 8.797 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/1.138, allocations: 15.98 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/1.138, allocations: 15.75 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/1.138, allocations: 3.984 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.626e-05/1.138, allocations: 98.39 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.138, allocations: 0 / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002937/1.138, allocations: 15.56 kB / 1.023 GB, free: 15.73 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.0005851/1.139, allocations: 0.7034 MB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000156/1.139, allocations: 31.56 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.139, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.685e-05/1.139, allocations: 22.3 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/1.139, allocations: 7.938 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/1.14, allocations: 137.8 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/1.14, allocations: 0.6887 MB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.674e-05/1.14, allocations: 11.84 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/1.14, allocations: 22.36 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of SimCode: time 1.393e-06/1.14, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/1.166, allocations: 1.53 MB / 1.026 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/1.166, allocations: 159.9 kB / 1.026 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.419/3.585, allocations: 6.891 kB / 1.026 GB, free: 12.41 MB / 0.6511 GB