Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01032/0.01032, allocations: 89.69 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001179/0.001179, allocations: 175.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.001/2.001, allocations: 205.5 MB / 222.2 MB, free: 13.59 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.562/2.562, allocations: 252.8 MB / 0.511 GB, free: 8.285 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007885/0.000789, allocations: 16.91 kB / 0.6243 GB, free: 21.14 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3049, allocations: 106.2 MB / 0.7281 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0009064/0.3059, allocations: 337 kB / 0.7284 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0003107/0.3062, allocations: 93.33 kB / 0.7285 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.3063, allocations: 0 / 0.7285 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.036e-05/0.3063, allocations: 0 / 0.7285 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-05/0.3063, allocations: 0 / 0.7285 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.3065, allocations: 11.98 kB / 0.7285 GB, free: 7.645 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.166e-05/0.3066, allocations: 15.92 kB / 0.7285 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.442e-05/0.3066, allocations: 0 / 0.7285 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.888e-05/0.3067, allocations: 0 / 0.7285 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.255e-05/0.3068, allocations: 7.938 kB / 0.7285 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3068, allocations: 0 / 0.7285 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.77e-05/0.3069, allocations: 15.98 kB / 0.7285 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 7.635e-06/0.3069, allocations: 0 / 0.7285 GB, free: 7.605 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.3069, allocations: 25.7 kB / 0.7285 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 7.494e-05/0.307, allocations: 11.97 kB / 0.7286 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.307, allocations: 4 kB / 0.7286 GB, free: 7.559 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.903e-06/0.307, allocations: 3.938 kB / 0.7286 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.307, allocations: 0 / 0.7286 GB, free: 7.555 MB / 0.5573 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.0003705/0.3074, allocations: 315.4 kB / 0.7289 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.3075, allocations: 8.031 kB / 0.7289 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.3075, allocations: 42.56 kB / 0.7289 GB, free: 7.141 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.3077, allocations: 7.984 kB / 0.7289 GB, free: 7.133 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.3079, allocations: 163 kB / 0.7291 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3079, allocations: 4 kB / 0.7291 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3079, allocations: 0 / 0.7291 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.3081, allocations: 45.62 kB / 0.7291 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3081, allocations: 0 / 0.7291 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3081, allocations: 0 / 0.7291 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.3082, allocations: 3.984 kB / 0.7291 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.3083, allocations: 11.98 kB / 0.7291 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.3085, allocations: 149.6 kB / 0.7293 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.3088, allocations: 46.59 kB / 0.7293 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.3088, allocations: 3.938 kB / 0.7293 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3089, allocations: 34.56 kB / 0.7294 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.3089, allocations: 0 / 0.7294 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002935/0.3092, allocations: 53.83 kB / 0.7294 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3092, allocations: 55.41 kB / 0.7295 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.541e-05/0.3093, allocations: 89.86 kB / 0.7296 GB, free: 6.344 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3093, allocations: 29.7 kB / 0.7296 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.509e-05/0.3094, allocations: 80.14 kB / 0.7297 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.3094, allocations: 12.12 kB / 0.7297 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.3094, allocations: 0 / 0.7297 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3096, allocations: 314.8 kB / 0.73 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/0.3097, allocations: 7.984 kB / 0.73 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.849e-05/0.3097, allocations: 11.94 kB / 0.73 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.3098, allocations: 11.98 kB / 0.73 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3098, allocations: 0 / 0.73 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001752/0.31, allocations: 46.02 kB / 0.73 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.3101, allocations: 11.94 kB / 0.7301 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3101, allocations: 3.984 kB / 0.7301 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3101, allocations: 0 / 0.7301 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.3108, allocations: 51.86 kB / 0.7301 GB, free: 5.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/0.3126, allocations: 1.31 MB / 0.7314 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.3127, allocations: 0 / 0.7314 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.3128, allocations: 3.984 kB / 0.7314 GB, free: 4.305 MB / 0.5573 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 () * Number of clocked 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.0001082/0.3129, allocations: 122 kB / 0.7315 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.12e-05/0.3129, allocations: 0 / 0.7315 GB, free: 4.176 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.3129, allocations: 3.5 kB / 0.7315 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3129, allocations: 0 / 0.7315 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.313, allocations: 0 / 0.7315 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.313, allocations: 0 / 0.7315 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.3131, allocations: 161.5 kB / 0.7317 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3131, allocations: 0 / 0.7317 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/0.3138, allocations: 47.94 kB / 0.7317 GB, free: 3.914 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3138, allocations: 11.92 kB / 0.7317 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.3138, allocations: 0 / 0.7317 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.3156, allocations: 1.302 MB / 0.733 GB, free: 2.473 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.3157, allocations: 4.25 kB / 0.733 GB, free: 2.469 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.3159, allocations: 88.92 kB / 0.7331 GB, free: 2.363 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.506e-05/0.316, allocations: 77.11 kB / 0.7332 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.316, allocations: 0 / 0.7332 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.629e-05/0.316, allocations: 0 / 0.7332 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.3161, allocations: 7.984 kB / 0.7332 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.3161, allocations: 4 kB / 0.7332 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.3161, allocations: 79.28 kB / 0.7332 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3161, allocations: 0 / 0.7332 GB, free: 2.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002555/0.3164, allocations: 4 kB / 0.7333 GB, free: 2.176 MB / 0.5573 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 () * Number of clocked 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.0005911/0.317, allocations: 0.6212 MB / 0.7339 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007747/0.3178, allocations: 55.92 kB / 0.7339 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3178, allocations: 0 / 0.7339 GB, free: 1.469 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.3183, allocations: 39.95 kB / 0.7339 GB, free: 1.43 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.3184, allocations: 4 kB / 0.734 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.319, allocations: 130.9 kB / 0.7341 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.3193, allocations: 0.677 MB / 0.7347 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.219e-05/0.3194, allocations: 0 / 0.7347 GB, free: 0.5586 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.3194, allocations: 19.42 kB / 0.7348 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/0.3194, allocations: 0 / 0.7348 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.3419, allocations: 1.044 MB / 0.7358 GB, free: 15.61 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003356/0.3423, allocations: 230.2 kB / 0.736 GB, free: 15.37 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/2.998, allocations: 3.938 kB / 0.736 GB, free: 15.36 MB / 0.573 GB