Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothBlocks",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.211/2.211, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.002317/0.002317, allocations: 182 kB / 315.4 MB, free: 3.996 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.095/2.095, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001068/0.001067, allocations: 99.69 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.289e-05/6.257e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2142, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8824/1.097, allocations: 133.6 MB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/1.097, allocations: 75.64 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02533/1.122, allocations: 5.027 MB / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/1.122, allocations: 0 / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.122, allocations: 4 kB / 1.02 GB, free: 1.004 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006582/1.123, allocations: 409.7 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.123, allocations: 8.031 kB / 1.02 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/1.124, allocations: 119.6 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/1.125, allocations: 182.9 kB / 1.02 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/1.125, allocations: 67.38 kB / 1.02 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/1.125, allocations: 4 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002749/1.125, allocations: 86.64 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/1.125, allocations: 99.95 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.125, allocations: 0 / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/1.125, allocations: 3.953 kB / 1.02 GB, free: 0 / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/1.125, allocations: 4.047 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/1.127, allocations: 481 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/1.128, allocations: 165.2 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/1.128, allocations: 40.23 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.813e-05/1.128, allocations: 7.969 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.129, allocations: 34.56 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/1.129, allocations: 0 / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0003977/1.129, allocations: 100.6 kB / 1.021 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.129, allocations: 63.39 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/1.129, allocations: 115.5 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/1.129, allocations: 25.7 kB / 1.021 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/1.129, allocations: 111.9 kB / 1.022 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/1.129, allocations: 19.28 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/1.129, allocations: 4 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.13, allocations: 322.7 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.686e-05/1.13, allocations: 27.25 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/1.13, allocations: 61.69 kB / 1.022 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/1.13, allocations: 31.48 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.13, allocations: 0 / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003103/1.13, allocations: 116.3 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/1.13, allocations: 4 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.13, allocations: 0 / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.13, allocations: 4.062 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/1.131, allocations: 43.95 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.131, allocations: 0 / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/1.131, allocations: 35.88 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/1.131, allocations: 7.984 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.000133/1.131, allocations: 108.9 kB / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003286/1.132, allocations: 104.4 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/1.132, allocations: 11.91 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/1.132, allocations: 112.8 kB / 1.023 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/1.132, allocations: 8 kB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.132, allocations: 3.938 kB / 1.023 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.132, allocations: 3.953 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/1.133, allocations: 217.7 kB / 1.023 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.133, allocations: 0 / 1.023 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/1.133, allocations: 47.81 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.133, allocations: 3.938 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/1.133, allocations: 4 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/1.133, allocations: 0 / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.133, allocations: 256 / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/1.133, allocations: 206 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.379e-05/1.134, allocations: 81.02 kB / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/1.134, allocations: 4 kB / 1.023 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005769/1.134, allocations: 47.94 kB / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/1.134, allocations: 0 / 1.023 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/1.134, allocations: 11.92 kB / 1.023 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.271e-05/1.134, allocations: 107 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.134, allocations: 0 / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003665/1.135, allocations: 19.91 kB / 1.023 GB, free: 13.25 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 (6): * Single equations (assignments): 6 * 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.0006743/1.135, allocations: 0.7305 MB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002789/1.136, allocations: 74.73 kB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.136, allocations: 0 / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/1.136, allocations: 47.36 kB / 1.024 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/1.136, allocations: 10.31 kB / 1.024 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006909/1.137, allocations: 165.6 kB / 1.024 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/1.137, allocations: 0.7079 MB / 1.025 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001796/1.137, allocations: 16.17 kB / 1.025 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/1.138, allocations: 34.61 kB / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/1.138, allocations: 0 / 1.025 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04185/1.179, allocations: 2.067 MB / 1.027 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003132/1.18, allocations: 142.1 kB / 1.027 GB, free: 9.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/3.519, allocations: 3.938 kB / 1.027 GB, free: 9.227 MB / 0.6511 GB