Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.292/2.292, 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.00157/0.001569, allocations: 176.6 kB / 325.5 MB, free: 2.898 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.345/2.345, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001217/0.001216, allocations: 101.5 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005183/0.0005182, allocations: 14.53 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.238, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2555/0.4935, allocations: 131.1 MB / 1.027 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003987/0.494, allocations: 75.95 kB / 1.027 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009412/0.5034, allocations: 2.034 MB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5035, allocations: 0 / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.5035, allocations: 4 kB / 1.029 GB, free: 12.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004286/0.5039, allocations: 343.3 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.504, allocations: 8.031 kB / 1.029 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.504, allocations: 34.5 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.5041, allocations: 4 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.5042, allocations: 171 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.5043, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.5043, allocations: 8 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.5045, allocations: 41.69 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5045, allocations: 7.938 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5045, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5045, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.282e-05/0.5046, allocations: 15.98 kB / 1.029 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/0.5048, allocations: 157.6 kB / 1.03 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.505, allocations: 46.62 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.5051, allocations: 81.11 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.5051, allocations: 30.56 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 6.512e-06/0.5052, allocations: 4 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.001821/0.507, allocations: 484.1 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5071, allocations: 51.41 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.5072, allocations: 89 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.5072, allocations: 29.7 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.5073, allocations: 88.25 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.5073, allocations: 27.56 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.5073, allocations: 0 / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5075, allocations: 314.8 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.627e-05/0.5075, allocations: 15.98 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.5076, allocations: 8 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.334e-05/0.5076, allocations: 12 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5077, allocations: 4 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001881/0.5079, allocations: 73.61 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5079, allocations: 8 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.5079, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.5079, allocations: 3.984 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.5081, allocations: 12 kB / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5081, allocations: 0 / 1.031 GB, free: 9.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.5082, allocations: 4 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.5082, allocations: 3.938 kB / 1.031 GB, free: 9.648 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 (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.0001157/0.5083, allocations: 121.8 kB / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.5084, allocations: 0 / 1.031 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.5086, allocations: 93.47 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.5086, allocations: 4 kB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5087, allocations: 3.938 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5087, allocations: 0 / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001687/0.5089, allocations: 162.1 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5089, allocations: 0 / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.509, allocations: 23.98 kB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.509, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5091, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5091, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5091, allocations: 8 kB / 1.031 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.5094, allocations: 117.4 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.5095, allocations: 77.11 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.5095, allocations: 4 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.5096, allocations: 8.016 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.5096, allocations: 0 / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.5096, allocations: 4 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.5097, allocations: 79.34 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5097, allocations: 0 / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003336/0.51, allocations: 47.92 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0009567/0.511, allocations: 0.6958 MB / 1.032 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.5114, allocations: 40.14 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.5114, allocations: 0 / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.5116, allocations: 27.92 kB / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.512, allocations: 4 kB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.5133, allocations: 434.4 kB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.5136, allocations: 0.6927 MB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.274e-05/0.5137, allocations: 4.188 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.5138, allocations: 11.44 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of SimCode: time 1.142e-06/0.5138, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.5347, allocations: 1.477 MB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003496/0.5352, allocations: 212.9 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.01, allocations: 0 / 1.035 GB, free: 5.262 MB / 0.6823 GB