Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothExponential",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.27/2.27, allocations: 248.5 MB / 261.1 MB, free: 6 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.001422/0.001422, allocations: 179 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.2 MB / 0.571 GB, free: 11.85 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.001118/0.001118, allocations: 85.88 kB / 0.6754 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.5e-05, allocations: 8 kB / 0.7869 GB, free: 97.85 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 106.3 MB / 0.8907 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8899/1.103, allocations: 131.5 MB / 1.019 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.104, allocations: 73.83 kB / 1.019 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006084/1.11, allocations: 1.35 MB / 1.02 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.86e-06/1.11, allocations: 0 / 1.02 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.11, allocations: 3.938 kB / 1.02 GB, free: 2.531 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.0004798/1.11, allocations: 345.4 kB / 1.021 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.11, allocations: 12.03 kB / 1.021 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.852e-05/1.11, allocations: 34.25 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.639e-05/1.11, allocations: 7.984 kB / 1.021 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/1.111, allocations: 171 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/1.111, allocations: 3.938 kB / 1.021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/1.111, allocations: 0 / 1.021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/1.111, allocations: 36.77 kB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.111, allocations: 3.984 kB / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/1.111, allocations: 0 / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/1.111, allocations: 0 / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.734e-05/1.111, allocations: 11 kB / 1.021 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/1.112, allocations: 270.9 kB / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.144e-05/1.112, allocations: 33.16 kB / 1.021 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/1.112, allocations: 12.86 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/1.112, allocations: 81.11 kB / 1.021 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/1.112, allocations: 34.56 kB / 1.021 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/1.112, allocations: 0 / 1.021 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001799/1.112, allocations: 41.64 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/1.112, allocations: 59.34 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.588e-05/1.112, allocations: 92.69 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/1.112, allocations: 29.64 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/1.112, allocations: 87.52 kB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/1.112, allocations: 3.906 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/1.112, allocations: 4.031 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.113, allocations: 314.8 kB / 1.022 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/1.113, allocations: 11.61 kB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/1.113, allocations: 4 kB / 1.022 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/1.113, allocations: 7.25 kB / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.113, allocations: 0 / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/1.113, allocations: 41.33 kB / 1.022 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/1.113, allocations: 4 kB / 1.022 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.113, allocations: 8.031 kB / 1.022 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.113, allocations: 0 / 1.022 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/1.113, allocations: 11.98 kB / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/1.113, allocations: 0 / 1.022 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/1.113, allocations: 18.94 kB / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/1.113, allocations: 0 / 1.022 GB, free: 0.5898 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 9.078e-05/1.113, allocations: 107.7 kB / 1.022 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/1.113, allocations: 11.38 kB / 1.022 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/1.114, allocations: 52.17 kB / 1.022 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/1.114, allocations: 3.984 kB / 1.022 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.114, allocations: 0 / 1.022 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.114, allocations: 4 kB / 1.022 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/1.114, allocations: 164.8 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.114, allocations: 0 / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/1.114, allocations: 8 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.207e-06/1.114, allocations: 4.031 kB / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/1.114, allocations: 0 / 1.023 GB, free: 200 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.114, allocations: 3.984 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.114, allocations: 0 / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/1.114, allocations: 139.4 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/1.114, allocations: 81.11 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/1.114, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/1.114, allocations: 12.02 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/1.114, allocations: 7.312 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/1.115, allocations: 3.984 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.317e-05/1.115, allocations: 80.16 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.115, allocations: 0 / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003176/1.115, allocations: 18.75 kB / 1.023 GB, free: 15.83 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 (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.0006681/1.116, allocations: 0.6871 MB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001167/1.116, allocations: 15.81 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.116, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.953e-05/1.116, allocations: 7.938 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/1.116, allocations: 7.938 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/1.116, allocations: 106.6 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/1.117, allocations: 0.6809 MB / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.961e-05/1.117, allocations: 4 kB / 1.024 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/1.117, allocations: 10.56 kB / 1.024 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of SimCode: time 8.21e-07/1.117, allocations: 0 / 1.024 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/1.146, allocations: 1.151 MB / 1.025 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003546/1.146, allocations: 163.9 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.467, allocations: 4 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB