Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_SmoothMin",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.47/2.47, allocations: 248.7 MB / 256.2 MB, free: 7.02 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.001492/0.001492, allocations: 177.7 kB / 315.4 MB, free: 4 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.136/2.136, 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.001104/0.001104, allocations: 94.44 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.306e-05/2.308e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9007/1.117, allocations: 131.9 MB / 1.013 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004267/1.117, allocations: 77.7 kB / 1.013 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008211/1.125, allocations: 1.143 MB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.815e-06/1.126, allocations: 0 / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.448e-06/1.126, allocations: 0 / 1.014 GB, free: 6.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007275/1.126, allocations: 350.2 kB / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/1.126, allocations: 8.031 kB / 1.014 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/1.129, allocations: 191.5 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/1.129, allocations: 175 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/1.129, allocations: 0 / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/1.129, allocations: 4 kB / 1.015 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000484/1.13, allocations: 114.5 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/1.13, allocations: 105 kB / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.13, allocations: 0 / 1.015 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/1.13, allocations: 4 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/1.13, allocations: 0.75 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/1.132, allocations: 447.3 kB / 1.015 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009675/1.133, allocations: 156.4 kB / 1.016 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/1.133, allocations: 52.05 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/1.133, allocations: 0 / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/1.134, allocations: 30.56 kB / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.437e-06/1.134, allocations: 0 / 1.016 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0005566/1.134, allocations: 111.8 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/1.134, allocations: 55.34 kB / 1.016 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/1.134, allocations: 96.94 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/1.134, allocations: 25.7 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/1.135, allocations: 99.91 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/1.135, allocations: 7.844 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/1.135, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.135, allocations: 318.7 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/1.135, allocations: 38.97 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/1.135, allocations: 47.47 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/1.135, allocations: 31.78 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.135, allocations: 0 / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004661/1.136, allocations: 108.5 kB / 1.017 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.136, allocations: 11.94 kB / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/1.136, allocations: 0 / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.136, allocations: 0 / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/1.137, allocations: 51.58 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/1.137, allocations: 0 / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/1.137, allocations: 43.89 kB / 1.017 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/1.137, allocations: 0 / 1.017 GB, free: 3.555 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 (3): * Single equations (assignments): 3 * 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.000155/1.138, allocations: 101 kB / 1.017 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004944/1.138, allocations: 113.5 kB / 1.017 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/1.138, allocations: 7.891 kB / 1.017 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001303/1.138, allocations: 12.3 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.138, allocations: 4 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.138, allocations: 0 / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.138, allocations: 0 / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004789/1.139, allocations: 185.3 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.139, allocations: 2.25 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/1.14, allocations: 35.95 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/1.14, allocations: 8 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/1.14, allocations: 0 / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.457e-06/1.14, allocations: 3.953 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.14, allocations: 0 / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005601/1.14, allocations: 206.5 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.654e-05/1.14, allocations: 81.02 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/1.141, allocations: 0 / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/1.141, allocations: 43.83 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/1.141, allocations: 7.938 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/1.141, allocations: 0 / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.449e-05/1.141, allocations: 91.16 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.31e-07/1.141, allocations: 0 / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000565/1.142, allocations: 12 kB / 1.018 GB, free: 2.641 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 (3): * Single equations (assignments): 3 * 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.0009798/1.143, allocations: 0.7329 MB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004302/1.143, allocations: 95 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/1.144, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/1.144, allocations: 47.39 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/1.144, allocations: 14.94 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/1.146, allocations: 208.7 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/1.146, allocations: 0.6885 MB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002483/1.146, allocations: 19.98 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/1.147, allocations: 19 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/1.147, allocations: 0 / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03962/1.186, allocations: 1.214 MB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003353/1.187, allocations: 137.4 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.429, allocations: 0 / 1.021 GB, free: 15.43 MB / 0.6511 GB