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.553/2.553, allocations: 248.7 MB / 256.2 MB, free: 7.066 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.001528/0.001528, allocations: 178.3 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.161/2.161, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.00108/0.00108, allocations: 89.97 kB / 0.6704 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.842e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2015, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9086/1.11, allocations: 131 MB / 1.012 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/1.11, allocations: 75 kB / 1.012 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003637/1.114, allocations: 0.9518 MB / 1.013 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.343e-06/1.114, allocations: 0 / 1.013 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.821e-06/1.114, allocations: 0 / 1.013 GB, free: 6.957 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.0003604/1.115, allocations: 318.5 kB / 1.013 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/1.115, allocations: 12.03 kB / 1.013 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/1.115, allocations: 7.984 kB / 1.013 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/1.115, allocations: 171 kB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/1.115, allocations: 0 / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/1.115, allocations: 0 / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.191e-05/1.115, allocations: 15.62 kB / 1.014 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/1.115, allocations: 37.69 kB / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.115, allocations: 0 / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.115, allocations: 0 / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/1.115, allocations: 0 / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001843/1.115, allocations: 133.8 kB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/1.116, allocations: 42.97 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/1.116, allocations: 8.922 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/1.116, allocations: 3.75 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.116, allocations: 34.5 kB / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/1.116, allocations: 0 / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001634/1.116, allocations: 41.78 kB / 1.014 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/1.116, allocations: 51.41 kB / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.741e-05/1.116, allocations: 92.69 kB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/1.116, allocations: 29.64 kB / 1.014 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/1.116, allocations: 80.14 kB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/1.116, allocations: 3.906 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/1.116, allocations: 0 / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001467/1.116, allocations: 314.8 kB / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/1.116, allocations: 3.688 kB / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.005e-05/1.116, allocations: 7.984 kB / 1.014 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/1.116, allocations: 4 kB / 1.014 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.116, allocations: 7.938 kB / 1.014 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000101/1.117, allocations: 49.2 kB / 1.014 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.117, allocations: 4 kB / 1.014 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.117, allocations: 0 / 1.014 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.117, allocations: 4 kB / 1.014 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/1.117, allocations: 35.94 kB / 1.014 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/1.119, allocations: 1.248 MB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/1.119, allocations: 7.938 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/1.119, allocations: 0 / 1.016 GB, free: 3.945 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): 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 9.027e-05/1.119, allocations: 103.7 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.351e-05/1.119, allocations: 53.39 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/1.119, allocations: 0 / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/1.119, allocations: 4.125 kB / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/1.119, allocations: 0 / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.252e-05/1.119, allocations: 0 / 1.016 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/1.119, allocations: 8.281 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/1.119, allocations: 133.9 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.119, allocations: 3.953 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006338/1.12, allocations: 47.92 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/1.12, allocations: 3.984 kB / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/1.12, allocations: 0 / 1.016 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/1.121, allocations: 1.249 MB / 1.017 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.121, allocations: 0 / 1.017 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/1.121, allocations: 64.84 kB / 1.017 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/1.121, allocations: 81.06 kB / 1.017 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/1.121, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.661e-05/1.122, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/1.122, allocations: 7.984 kB / 1.017 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/1.122, allocations: 0 / 1.017 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.404e-05/1.122, allocations: 79.34 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.9e-07/1.122, allocations: 0 / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002582/1.122, allocations: 4 kB / 1.018 GB, free: 1.941 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): 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.0004437/1.122, allocations: 0.6039 MB / 1.018 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006242/1.123, allocations: 47.56 kB / 1.018 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.123, allocations: 3.938 kB / 1.018 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003177/1.123, allocations: 27.97 kB / 1.018 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/1.123, allocations: 7.875 kB / 1.018 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/1.124, allocations: 94.73 kB / 1.018 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/1.124, allocations: 0.6768 MB / 1.019 GB, free: 412 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.449e-05/1.124, allocations: 4 kB / 1.019 GB, free: 408 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/1.124, allocations: 7.438 kB / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/1.124, allocations: 0 / 1.019 GB, free: 400 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03407/1.158, allocations: 0.6908 MB / 1.02 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003338/1.159, allocations: 162.9 kB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.315, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.6511 GB