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.379/2.379, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.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: 180.3 kB / 325.5 MB, free: 2.906 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.353/2.353, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001111/0.001111, allocations: 97.62 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005011, allocations: 12.03 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2349, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.4659, allocations: 131.7 MB / 1.027 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.4662, allocations: 67.97 kB / 1.027 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005165/0.4714, allocations: 1.153 MB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4715, allocations: 0 / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4715, allocations: 0 / 1.029 GB, free: 12.41 MB / 0.6823 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.0005397/0.472, allocations: 368.9 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4721, allocations: 8.031 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.4722, allocations: 38.56 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.4737, allocations: 183.7 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.4739, allocations: 182.9 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.4739, allocations: 8 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.848e-05/0.4739, allocations: 0 / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.475, allocations: 213.5 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.475, allocations: 0 / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/0.475, allocations: 0 / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.475, allocations: 0 / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.4767, allocations: 323.6 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.4783, allocations: 461.1 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002126/0.4805, allocations: 338.2 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.909e-05/0.4806, allocations: 0 / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.4807, allocations: 38.52 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.4807, allocations: 0 / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.002236/0.4829, allocations: 369.4 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.483, allocations: 55.39 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.4832, allocations: 109.2 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.4832, allocations: 25.7 kB / 1.031 GB, free: 9.539 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.4833, allocations: 84.14 kB / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.4833, allocations: 19.75 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.4834, allocations: 384 / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4835, allocations: 322.8 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006968/0.4842, allocations: 111.9 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007092/0.4849, allocations: 111.9 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/0.4856, allocations: 107.8 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.4857, allocations: 0 / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001494/0.4872, allocations: 257.4 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4872, allocations: 4 kB / 1.032 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4872, allocations: 3.953 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.4873, allocations: 4 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.4877, allocations: 43.94 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.4878, allocations: 3.984 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.4882, allocations: 35.95 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.4882, allocations: 4 kB / 1.032 GB, free: 8.43 MB / 0.6823 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 () * Number of clocked 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.0001466/0.4884, allocations: 121.8 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.4884, allocations: 3.906 kB / 1.032 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.512e-05/0.4885, allocations: 11.91 kB / 1.032 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.4885, allocations: 3.953 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4885, allocations: 0 / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4885, allocations: 0 / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.4889, allocations: 209.7 kB / 1.033 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4889, allocations: 4 kB / 1.033 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004312/0.4893, allocations: 47.88 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.4894, allocations: 336 / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4894, allocations: 0 / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4894, allocations: 3.953 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4894, allocations: 0 / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.491, allocations: 355.2 kB / 1.033 GB, free: 7.609 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.634e-05/0.4911, allocations: 81.09 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.4911, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.4916, allocations: 39.95 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.4916, allocations: 3.953 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.4917, allocations: 8 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.529e-05/0.4918, allocations: 91.27 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.996e-06/0.4918, allocations: 0 / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003115/0.4921, allocations: 19.94 kB / 1.033 GB, free: 7.352 MB / 0.6823 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 () * Number of clocked 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.001946/0.4941, allocations: 0.8773 MB / 1.034 GB, free: 6.449 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.4956, allocations: 227.8 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4956, allocations: 7.938 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.4964, allocations: 123.8 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.4966, allocations: 15.89 kB / 1.034 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.5009, allocations: 0.894 MB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.5013, allocations: 0.6965 MB / 1.036 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001636/0.5015, allocations: 16 kB / 1.036 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5016, allocations: 19.42 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of SimCode: time 3.807e-06/0.5016, allocations: 0 / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.5258, allocations: 1.626 MB / 1.038 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003357/0.5262, allocations: 176.2 kB / 1.038 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.903, allocations: 1.75 kB / 1.038 GB, free: 2.629 MB / 0.6823 GB