Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",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.374/2.374, allocations: 248.5 MB / 261.1 MB, free: 5.996 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.001481/0.001481, allocations: 178.8 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.012/2.012, allocations: 205.1 MB / 0.571 GB, free: 11.77 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.001141/0.001141, allocations: 97.28 kB / 0.6754 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/4.006e-05, allocations: 8 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2247, allocations: 106.2 MB / 0.8907 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8216/1.046, allocations: 130.8 MB / 1.018 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/1.047, allocations: 77.5 kB / 1.018 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003664/1.05, allocations: 0.9421 MB / 1.019 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.285e-06/1.05, allocations: 0 / 1.019 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.05, allocations: 4 kB / 1.019 GB, free: 3.227 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003713/1.051, allocations: 321.7 kB / 1.02 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.051, allocations: 8.031 kB / 1.02 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.227e-05/1.051, allocations: 34.56 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/1.051, allocations: 11.92 kB / 1.02 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/1.051, allocations: 170.5 kB / 1.02 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/1.051, allocations: 3.938 kB / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/1.051, allocations: 0.5625 kB / 1.02 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/1.051, allocations: 33.7 kB / 1.02 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.052, allocations: 3.984 kB / 1.02 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/1.052, allocations: 6.562 kB / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/1.052, allocations: 3.875 kB / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.363e-05/1.052, allocations: 4 kB / 1.02 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/1.052, allocations: 164.1 kB / 1.02 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/1.052, allocations: 34.33 kB / 1.02 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/1.052, allocations: 12.92 kB / 1.02 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/1.052, allocations: 3.984 kB / 1.02 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/1.052, allocations: 30.56 kB / 1.02 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/1.052, allocations: 0 / 1.02 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001552/1.052, allocations: 45.72 kB / 1.02 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.052, allocations: 55.34 kB / 1.02 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.108e-05/1.052, allocations: 85 kB / 1.02 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/1.052, allocations: 28.95 kB / 1.02 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/1.052, allocations: 84.14 kB / 1.02 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/1.052, allocations: 7.891 kB / 1.02 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/1.052, allocations: 4 kB / 1.02 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001299/1.053, allocations: 317.5 kB / 1.021 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/1.053, allocations: 7.188 kB / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/1.053, allocations: 0 / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/1.053, allocations: 10.88 kB / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/1.053, allocations: 0 / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001041/1.053, allocations: 44.06 kB / 1.021 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/1.053, allocations: 8 kB / 1.021 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/1.053, allocations: 0 / 1.021 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/1.053, allocations: 0 / 1.021 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/1.054, allocations: 47.86 kB / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/1.055, allocations: 1.291 MB / 1.022 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.766e-05/1.055, allocations: 4.031 kB / 1.022 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/1.055, allocations: 160 / 1.022 GB, free: 80 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/1.055, allocations: 108.9 kB / 1.022 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/1.055, allocations: 4 kB / 1.022 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/1.055, allocations: 7 kB / 1.022 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.055, allocations: 3.938 kB / 1.022 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/1.055, allocations: 0 / 1.022 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.055, allocations: 0 / 1.022 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/1.056, allocations: 161.2 kB / 1.022 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/1.056, allocations: 0 / 1.022 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/1.056, allocations: 47.92 kB / 1.022 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/1.056, allocations: 7.938 kB / 1.022 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/1.056, allocations: 0 / 1.022 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/1.058, allocations: 1.288 MB / 1.024 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.058, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/1.058, allocations: 76.33 kB / 1.024 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/1.058, allocations: 81.02 kB / 1.024 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/1.058, allocations: 4 kB / 1.024 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.421e-05/1.058, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/1.058, allocations: 0 / 1.024 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/1.058, allocations: 3.984 kB / 1.024 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.348e-05/1.058, allocations: 75.28 kB / 1.024 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.51e-07/1.058, allocations: 4 kB / 1.024 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002418/1.058, allocations: 3.188 kB / 1.024 GB, free: 14.02 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005097/1.059, allocations: 0.6107 MB / 1.025 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006443/1.059, allocations: 51.81 kB / 1.025 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.059, allocations: 0 / 1.025 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/1.06, allocations: 31.84 kB / 1.025 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/1.06, allocations: 7.938 kB / 1.025 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003338/1.06, allocations: 83.11 kB / 1.025 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/1.061, allocations: 0.677 MB / 1.025 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.993e-05/1.061, allocations: 4 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/1.061, allocations: 11.44 kB / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/1.061, allocations: 0 / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/1.082, allocations: 1.069 MB / 1.026 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/1.082, allocations: 190 kB / 1.027 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.324, allocations: 2.672 kB / 1.027 GB, free: 11.34 MB / 0.6511 GB