Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.794/1.794, allocations: 288.2 MB / 303.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 181.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 0.6305 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008868/0.000887, allocations: 97.08 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 18.2 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1908, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0006504/0.1915, allocations: 330.1 kB / 0.9798 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003004/0.1918, allocations: 149.3 kB / 0.9799 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.1919, allocations: 0 / 0.9799 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.806e-06/0.1919, allocations: 0 / 0.9799 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.098e-05/0.1919, allocations: 0 / 0.9799 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.1922, allocations: 31.91 kB / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.84e-05/0.1922, allocations: 11.98 kB / 0.98 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.1923, allocations: 4 kB / 0.98 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.601e-05/0.1923, allocations: 0 / 0.98 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.1923, allocations: 15.91 kB / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.1924, allocations: 0 / 0.98 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.464e-05/0.1924, allocations: 31.97 kB / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.596e-06/0.1925, allocations: 0 / 0.98 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.1925, allocations: 33.64 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.363e-05/0.1926, allocations: 23.95 kB / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.1926, allocations: 4 kB / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1926, allocations: 0 / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.1926, allocations: 0 / 0.9801 GB, free: 26.95 MB / 0.6198 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.0002903/0.1929, allocations: 319.4 kB / 0.9804 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1929, allocations: 8.031 kB / 0.9804 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.131e-05/0.193, allocations: 38.56 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.193, allocations: 3.906 kB / 0.9805 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.365e-05/0.1931, allocations: 167.2 kB / 0.9806 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1931, allocations: 4 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1931, allocations: 7.938 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.909e-05/0.1932, allocations: 41.69 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.1932, allocations: 0 / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1932, allocations: 4 kB / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1933, allocations: 0 / 0.9807 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.89e-05/0.1933, allocations: 11.98 kB / 0.9807 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000134/0.1934, allocations: 165.7 kB / 0.9808 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.225e-05/0.1935, allocations: 46.5 kB / 0.9809 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.525e-05/0.1936, allocations: 93.08 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.1936, allocations: 30.56 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1936, allocations: 0 / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001105/0.1948, allocations: 480.5 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.1948, allocations: 55.41 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.428e-05/0.1948, allocations: 93.86 kB / 0.9816 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.1949, allocations: 25.7 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.241e-05/0.1949, allocations: 84.12 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.1949, allocations: 27.64 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.1949, allocations: 7.938 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.195, allocations: 310.8 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/0.195, allocations: 15.98 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.938e-05/0.195, allocations: 15.94 kB / 0.9821 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.1951, allocations: 19.89 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1951, allocations: 4.125 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.969e-05/0.1952, allocations: 69.81 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1952, allocations: 11.98 kB / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1952, allocations: 0 / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1952, allocations: 0 / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.338e-05/0.1953, allocations: 16 kB / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1953, allocations: 0 / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.1953, allocations: 0 / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1953, allocations: 0 / 0.9822 GB, free: 24.51 MB / 0.6198 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 5.516e-05/0.1954, allocations: 129.7 kB / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.1954, allocations: 0 / 0.9823 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.1955, allocations: 81.62 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1956, allocations: 0 / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1956, allocations: 0 / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1956, allocations: 0 / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.755e-05/0.1957, allocations: 161.7 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1957, allocations: 3.953 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.526e-05/0.1957, allocations: 19.92 kB / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1958, allocations: 0 / 0.9826 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.1958, allocations: 8 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1958, allocations: 0 / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1958, allocations: 0 / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.1959, allocations: 117 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.196, allocations: 81.06 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.196, allocations: 4.219 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/0.196, allocations: 8 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.196, allocations: 12.05 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.1961, allocations: 0 / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.766e-05/0.1961, allocations: 79.28 kB / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.11e-07/0.1961, allocations: 0 / 0.9829 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000217/0.1963, allocations: 39.92 kB / 0.9829 GB, free: 23.68 MB / 0.6198 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.0003729/0.1967, allocations: 0.6828 MB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.1968, allocations: 43.91 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1968, allocations: 3.938 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.1969, allocations: 16 kB / 0.9836 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.197, allocations: 7.047 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.1975, allocations: 418.8 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.1976, allocations: 0.6848 MB / 0.9847 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.1976, allocations: 8.562 kB / 0.9847 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.1977, allocations: 19.42 kB / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.1977, allocations: 0 / 0.9847 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/0.2097, allocations: 1.586 MB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/0.2099, allocations: 229.7 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/1.639, allocations: 3.938 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)