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.344/2.344, 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.001446/0.001446, allocations: 171.8 kB / 315.4 MB, free: 4.012 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.1/2.1, allocations: 205.3 MB / 0.5662 GB, free: 0.5469 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.001091/0.00109, allocations: 92.34 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.431e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2576, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9416/1.199, allocations: 131.7 MB / 1.013 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.199, allocations: 73.45 kB / 1.013 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002969/1.202, allocations: 0.7771 MB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/1.203, allocations: 4 kB / 1.014 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.503e-06/1.203, allocations: 0 / 1.014 GB, free: 6.363 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.0004656/1.203, allocations: 337.9 kB / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.203, allocations: 8.031 kB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/1.203, allocations: 19.97 kB / 1.014 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/1.204, allocations: 171 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/1.204, allocations: 0 / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/1.204, allocations: 4 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001011/1.204, allocations: 15.19 kB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.85e-05/1.204, allocations: 39.69 kB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/1.204, allocations: 7.938 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.204, allocations: 0 / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/1.204, allocations: 0 / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/1.204, allocations: 254.8 kB / 1.014 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/1.205, allocations: 43.36 kB / 1.014 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.388e-05/1.205, allocations: 12.73 kB / 1.014 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/1.205, allocations: 0 / 1.014 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/1.205, allocations: 30.56 kB / 1.014 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/1.205, allocations: 4 kB / 1.014 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001957/1.205, allocations: 44.02 kB / 1.014 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.205, allocations: 51.41 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.362e-05/1.205, allocations: 100.3 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/1.205, allocations: 25.7 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/1.205, allocations: 83.52 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/1.205, allocations: 8.594 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-06/1.205, allocations: 0 / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.205, allocations: 326.2 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.43e-05/1.205, allocations: 11.19 kB / 1.015 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/1.205, allocations: 7.5 kB / 1.015 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.293e-05/1.205, allocations: 4 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/1.205, allocations: 3.984 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000124/1.206, allocations: 44.64 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/1.206, allocations: 7.938 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.206, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.206, allocations: 0 / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/1.206, allocations: 20.08 kB / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/1.206, allocations: 0 / 1.015 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/1.206, allocations: 11.98 kB / 1.015 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/1.206, allocations: 3.938 kB / 1.015 GB, free: 4.57 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 8.527e-05/1.206, allocations: 108.9 kB / 1.015 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001372/1.206, allocations: 56.22 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/1.206, allocations: 4.031 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.32e-05/1.206, allocations: 7.922 kB / 1.015 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.206, allocations: 4 kB / 1.015 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.206, allocations: 0 / 1.015 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.206, allocations: 0 / 1.015 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/1.207, allocations: 143.9 kB / 1.015 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.207, allocations: 0 / 1.015 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/1.207, allocations: 15.98 kB / 1.015 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/1.207, allocations: 0 / 1.015 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.207, allocations: 4 kB / 1.015 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/1.207, allocations: 0 / 1.015 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.207, allocations: 4 kB / 1.015 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/1.207, allocations: 145.4 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.247e-05/1.207, allocations: 84.95 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/1.207, allocations: 1.062 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/1.207, allocations: 16.02 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/1.207, allocations: 4 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/1.207, allocations: 0 / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.631e-05/1.207, allocations: 87.33 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.207, allocations: 0 / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002991/1.208, allocations: 4 kB / 1.016 GB, free: 3.832 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 (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.0005032/1.208, allocations: 0.6774 MB / 1.016 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001269/1.208, allocations: 22.67 kB / 1.016 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.208, allocations: 0 / 1.016 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/1.208, allocations: 15.25 kB / 1.016 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/1.209, allocations: 2.578 kB / 1.016 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005179/1.209, allocations: 109.6 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/1.21, allocations: 0.6807 MB / 1.017 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.797e-05/1.21, allocations: 0 / 1.017 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/1.21, allocations: 10.56 kB / 1.017 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/1.21, allocations: 3.938 kB / 1.017 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/1.245, allocations: 0.8629 MB / 1.018 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003626/1.246, allocations: 143.6 kB / 1.018 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/3.477, allocations: 0 / 1.018 GB, free: 1.207 MB / 0.6355 GB