Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_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.231/2.231, allocations: 248.5 MB / 261.1 MB, free: 6.086 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.001545/0.001544, allocations: 173.7 kB / 320.4 MB, free: 15.34 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.067/2.067, allocations: 205.2 MB / 0.571 GB, free: 11.78 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.001079/0.001079, allocations: 99.98 kB / 0.6754 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.024e-05/4.036e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2125, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9876/1.2, allocations: 131.4 MB / 1.019 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.2, allocations: 68.22 kB / 1.019 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003088/1.204, allocations: 0.7857 MB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/1.204, allocations: 0 / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.948e-06/1.204, allocations: 4 kB / 1.02 GB, free: 3.066 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.0004469/1.204, allocations: 334.9 kB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.204, allocations: 12.03 kB / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/1.204, allocations: 34.56 kB / 1.02 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/1.204, allocations: 19.17 kB / 1.02 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/1.205, allocations: 171 kB / 1.02 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/1.205, allocations: 0 / 1.02 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/1.205, allocations: 0 / 1.02 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/1.205, allocations: 41.12 kB / 1.02 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.205, allocations: 0 / 1.02 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.205, allocations: 7.875 kB / 1.02 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/1.205, allocations: 0 / 1.02 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.7e-05/1.205, allocations: 22.27 kB / 1.02 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/1.206, allocations: 275.1 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/1.206, allocations: 33.33 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/1.206, allocations: 15.8 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/1.206, allocations: 3.984 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.206, allocations: 34.55 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/1.206, allocations: 3.938 kB / 1.021 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002094/1.206, allocations: 48.5 kB / 1.021 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/1.206, allocations: 59.36 kB / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/1.206, allocations: 92.5 kB / 1.021 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/1.206, allocations: 29.73 kB / 1.021 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/1.206, allocations: 91.38 kB / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/1.206, allocations: 7.844 kB / 1.021 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/1.206, allocations: 0 / 1.021 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.206, allocations: 314.3 kB / 1.021 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/1.207, allocations: 4 kB / 1.021 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/1.207, allocations: 11.69 kB / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.859e-05/1.207, allocations: 7.375 kB / 1.021 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.207, allocations: 4.062 kB / 1.021 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001359/1.207, allocations: 52.31 kB / 1.021 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.207, allocations: 4 kB / 1.021 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.207, allocations: 0 / 1.021 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/1.207, allocations: 0 / 1.021 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/1.207, allocations: 19.92 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/1.207, allocations: 0 / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/1.207, allocations: 19.97 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/1.207, allocations: 4 kB / 1.022 GB, free: 1.184 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/1.207, allocations: 101 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/1.207, allocations: 11.66 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/1.207, allocations: 11.61 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.207, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.207, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.207, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/1.208, allocations: 173 kB / 1.022 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.208, allocations: 4 kB / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/1.208, allocations: 11.98 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/1.208, allocations: 0.875 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/1.208, allocations: 4 kB / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.208, allocations: 0 / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/1.208, allocations: 3.938 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/1.208, allocations: 145.1 kB / 1.022 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/1.208, allocations: 85.09 kB / 1.022 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/1.208, allocations: 0 / 1.022 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/1.208, allocations: 9.125 kB / 1.022 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/1.208, allocations: 7.859 kB / 1.022 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/1.208, allocations: 0 / 1.022 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.685e-05/1.208, allocations: 83.28 kB / 1.022 GB, free: 492 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.208, allocations: 0 / 1.022 GB, free: 492 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002681/1.209, allocations: 8.031 kB / 1.022 GB, free: 484 kB / 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005411/1.209, allocations: 0.6804 MB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001378/1.209, allocations: 18.62 kB / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.209, allocations: 0 / 1.023 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.319e-05/1.21, allocations: 15.91 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/1.21, allocations: 4 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/1.21, allocations: 110.7 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/1.211, allocations: 0.6848 MB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.246e-05/1.211, allocations: 4.062 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/1.211, allocations: 7.438 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of SimCode: time 1.343e-06/1.211, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/1.234, allocations: 1.181 MB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/1.234, allocations: 156 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/3.529, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.6511 GB