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.179/2.179, allocations: 251 MB / 265.9 MB, free: 11.69 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.001585/0.001585, allocations: 178.1 kB / 325.5 MB, free: 2.91 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.505/2.505, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001161/0.001161, allocations: 99.91 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004795, allocations: 13.78 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2197, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2765/0.4963, allocations: 131.6 MB / 1.027 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.4966, allocations: 71.95 kB / 1.027 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006456/0.5031, allocations: 1.343 MB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5032, allocations: 0 / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.5032, allocations: 8 kB / 1.029 GB, free: 12.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005143/0.5037, allocations: 363.2 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.5038, allocations: 8.031 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.5038, allocations: 30.56 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.5038, allocations: 4 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.504, allocations: 174.9 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.504, allocations: 0 / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.5041, allocations: 4 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.5043, allocations: 61.66 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5043, allocations: 0 / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.5044, allocations: 3.938 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.006e-06/0.5044, allocations: 0 / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.5047, allocations: 47.95 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00052/0.5052, allocations: 264.9 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.5054, allocations: 42.62 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.5056, allocations: 81.11 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.5056, allocations: 38.44 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.5056, allocations: 0 / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.000564/0.5062, allocations: 101.6 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.5062, allocations: 51.41 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.5063, allocations: 101.1 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.5064, allocations: 25.7 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.5064, allocations: 92.27 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.5065, allocations: 3.906 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.5065, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5066, allocations: 311.7 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.5068, allocations: 27.97 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.507, allocations: 19.98 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.5071, allocations: 23.98 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5071, allocations: 3.938 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003508/0.5075, allocations: 77.72 kB / 1.031 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5075, allocations: 11.94 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.5075, allocations: 64 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5076, allocations: 4 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.5077, allocations: 11.98 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5077, allocations: 3.984 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.308e-05/0.5078, allocations: 12.03 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.5078, allocations: 3.953 kB / 1.031 GB, free: 10.11 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 (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 0.0001012/0.508, allocations: 115.7 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.508, allocations: 7.906 kB / 1.031 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.5084, allocations: 84.72 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5084, allocations: 0 / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5084, allocations: 0 / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5084, allocations: 0 / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.5087, allocations: 165.6 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5087, allocations: 0 / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.5088, allocations: 8 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5088, allocations: 4 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.5088, allocations: 3.984 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5088, allocations: 4.031 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5088, allocations: 0 / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.5092, allocations: 171.4 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.5093, allocations: 89.14 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.5093, allocations: 0 / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.5095, allocations: 4 kB / 1.031 GB, free: 9.367 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.5096, allocations: 7.984 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.5096, allocations: 0 / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.5096, allocations: 79.28 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5097, allocations: 3.938 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003094/0.51, allocations: 23.94 kB / 1.031 GB, free: 9.254 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 (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.0007936/0.5108, allocations: 0.7202 MB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003458/0.5111, allocations: 47.91 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5112, allocations: 0 / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.5113, allocations: 28.03 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.5116, allocations: 5.719 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.5121, allocations: 150.2 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.5124, allocations: 0.677 MB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.483e-05/0.5124, allocations: 4 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.5125, allocations: 11.5 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of SimCode: time 7.11e-07/0.5125, allocations: 0 / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.5317, allocations: 1.145 MB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003321/0.5321, allocations: 181.2 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/2.911, allocations: 0 / 1.034 GB, free: 6.266 MB / 0.6823 GB