Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 189.8 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 292.3 MB / 0.5484 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 70.56 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1881, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001573/0.1897, allocations: 0.6743 MB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003462/0.19, allocations: 159.5 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.136e-05/0.1901, allocations: 0 / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.242e-05/0.1901, allocations: 0 / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.812e-05/0.1901, allocations: 3.938 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1903, allocations: 31.91 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.991e-05/0.1904, allocations: 15.92 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.1904, allocations: 4 kB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.1904, allocations: 7.984 kB / 0.7837 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.806e-05/0.1905, allocations: 11.94 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1905, allocations: 0 / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.847e-05/0.1906, allocations: 35.95 kB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1906, allocations: 7.984 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.1906, allocations: 4 kB / 0.7837 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.611e-05/0.1907, allocations: 27.89 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1907, allocations: 4 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.31e-07/0.1907, allocations: 0 / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1907, allocations: 0 / 0.7838 GB, free: 12.92 MB / 0.6075 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.0002995/0.191, allocations: 335.6 kB / 0.7841 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.1911, allocations: 12.03 kB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.814e-05/0.1911, allocations: 34.75 kB / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.417e-05/0.1911, allocations: 4.844 kB / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.849e-05/0.1912, allocations: 168.5 kB / 0.7843 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.1912, allocations: 8.375 kB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.632e-05/0.1912, allocations: 384 / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.988e-05/0.1913, allocations: 42.25 kB / 0.7843 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.984e-06/0.1913, allocations: 3.938 kB / 0.7843 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.1914, allocations: 0 / 0.7843 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1914, allocations: 8 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.032e-05/0.1914, allocations: 19.97 kB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.1915, allocations: 157.6 kB / 0.7845 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.522e-05/0.1916, allocations: 46.56 kB / 0.7846 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.907e-05/0.1917, allocations: 20.97 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.662e-05/0.1917, allocations: 85.11 kB / 0.7847 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.1918, allocations: 34.56 kB / 0.7847 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1918, allocations: 0 / 0.7847 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.001081/0.1929, allocations: 492.4 kB / 0.7852 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.1929, allocations: 55.41 kB / 0.7852 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.539e-05/0.1929, allocations: 89.86 kB / 0.7853 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.193, allocations: 25.7 kB / 0.7853 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.088e-05/0.193, allocations: 80.27 kB / 0.7854 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.193, allocations: 35.62 kB / 0.7854 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1931, allocations: 21.72 kB / 0.7855 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.1931, allocations: 314.8 kB / 0.7858 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.1932, allocations: 15.98 kB / 0.7858 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.018e-05/0.1932, allocations: 8 kB / 0.7858 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.1933, allocations: 40.84 kB / 0.7858 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1933, allocations: 0 / 0.7858 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.388e-05/0.1934, allocations: 77.47 kB / 0.7859 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1934, allocations: 12 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1934, allocations: 0 / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.1934, allocations: 3.938 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.824e-05/0.1935, allocations: 12 kB / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1935, allocations: 0 / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.1935, allocations: 0 / 0.7859 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1935, allocations: 7.984 kB / 0.7859 GB, free: 10.37 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.62e-05/0.1936, allocations: 110.5 kB / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.162e-05/0.1936, allocations: 3.938 kB / 0.786 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.1938, allocations: 93.56 kB / 0.7861 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.1938, allocations: 0 / 0.7861 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1938, allocations: 0 / 0.7861 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1938, allocations: 4 kB / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.294e-05/0.1939, allocations: 161.7 kB / 0.7863 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1939, allocations: 0 / 0.7863 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.08e-05/0.194, allocations: 15.88 kB / 0.7863 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.194, allocations: 4 kB / 0.7863 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.194, allocations: 4 kB / 0.7863 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.194, allocations: 0 / 0.7863 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.194, allocations: 4 kB / 0.7863 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.1942, allocations: 116.9 kB / 0.7864 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.1942, allocations: 89.06 kB / 0.7865 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1942, allocations: 0 / 0.7865 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.517e-05/0.1943, allocations: 4 kB / 0.7865 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1943, allocations: 4 kB / 0.7865 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1943, allocations: 4 kB / 0.7865 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.389e-05/0.1943, allocations: 79.34 kB / 0.7866 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1943, allocations: 0 / 0.7866 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002018/0.1945, allocations: 35.98 kB / 0.7866 GB, free: 9.547 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004246/0.195, allocations: 0.6869 MB / 0.7873 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.896e-05/0.1951, allocations: 40.14 kB / 0.7873 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1951, allocations: 0 / 0.7873 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.125e-05/0.1951, allocations: 23.94 kB / 0.7874 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.1952, allocations: 11.92 kB / 0.7874 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008271/0.1961, allocations: 1.194 MB / 0.7885 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.1963, allocations: 0.6809 MB / 0.7892 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.1963, allocations: 11.98 kB / 0.7892 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.909e-05/0.1963, allocations: 11.44 kB / 0.7892 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1963, allocations: 4 kB / 0.7892 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9195/1.116, allocations: 1.676 MB / 0.7909 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/1.116, allocations: 228.7 kB / 0.7911 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/3.142, allocations: 4 kB / 0.7911 GB, free: 4.973 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)