Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.576/1.576, allocations: 288.4 MB / 303.6 MB, free: 8.148 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.0009727/0.0009726, allocations: 184.4 kB / 372.3 MB, free: 10.16 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.556/1.556, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0009348/0.0009348, allocations: 98.3 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.000443, allocations: 17.84 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1885, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005918/0.1891, allocations: 331.8 kB / 0.9805 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.1901, allocations: 1.118 MB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.978e-05/0.1902, allocations: 0 / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.477e-06/0.1902, allocations: 0 / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1904, allocations: 27.92 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.015e-06/0.1904, allocations: 0 / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.153e-05/0.1904, allocations: 0 / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.1905, allocations: 4 kB / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.252e-05/0.1905, allocations: 0 / 0.9816 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.275e-05/0.1905, allocations: 7.922 kB / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.562e-06/0.1905, allocations: 0 / 0.9816 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.1906, allocations: 15.98 kB / 0.9817 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-06/0.1906, allocations: 3.984 kB / 0.9817 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.539e-05/0.1906, allocations: 33.64 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.695e-05/0.1907, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1907, allocations: 8 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1907, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.1907, allocations: 0 / 0.9817 GB, free: 25.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0001563/0.1909, allocations: 315.5 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.1909, allocations: 12.09 kB / 0.982 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.191, allocations: 38.69 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.01e-05/0.191, allocations: 0.9375 kB / 0.9821 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.013e-05/0.191, allocations: 164.4 kB / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.191, allocations: 4.375 kB / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.1911, allocations: 4.375 kB / 0.9822 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.683e-05/0.1912, allocations: 41.77 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1912, allocations: 0 / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.1912, allocations: 0 / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1912, allocations: 0 / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.1912, allocations: 7.984 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.04e-05/0.1913, allocations: 157.8 kB / 0.9824 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1915, allocations: 34.61 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.1915, allocations: 12.86 kB / 0.9825 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.1916, allocations: 81.19 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.1916, allocations: 42.44 kB / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1916, allocations: 0 / 0.9826 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.003673/0.1953, allocations: 0.5642 MB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.1953, allocations: 51.41 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.56e-05/0.1954, allocations: 89.86 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1954, allocations: 29.7 kB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.015e-05/0.1954, allocations: 84.14 kB / 0.9834 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.1954, allocations: 19.78 kB / 0.9834 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.1955, allocations: 3.938 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.333e-05/0.1955, allocations: 314.8 kB / 0.9837 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.1961, allocations: 83.95 kB / 0.9838 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.1966, allocations: 98.53 kB / 0.9839 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.1976, allocations: 190.4 kB / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1976, allocations: 0 / 0.9841 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001097/0.1987, allocations: 221.5 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1988, allocations: 4 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1988, allocations: 4 kB / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1988, allocations: 0 / 0.9843 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.1991, allocations: 48 kB / 0.9843 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1992, allocations: 4 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.1995, allocations: 39.97 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.1995, allocations: 7.984 kB / 0.9844 GB, free: 22.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 6.336e-05/0.1996, allocations: 117.8 kB / 0.9845 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.1996, allocations: 11.78 kB / 0.9845 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.2008, allocations: 229.1 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2008, allocations: 4 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2008, allocations: 0 / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.2009, allocations: 4 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.2021, allocations: 454.6 kB / 0.9851 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2021, allocations: 4.062 kB / 0.9852 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.2025, allocations: 51.97 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2025, allocations: 0 / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.2025, allocations: 3.984 kB / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.2025, allocations: 0 / 0.9852 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2025, allocations: 4 kB / 0.9852 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2036, allocations: 307.3 kB / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.2036, allocations: 81.09 kB / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.2036, allocations: 0 / 0.9856 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.204, allocations: 39.98 kB / 0.9856 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.204, allocations: 7.984 kB / 0.9856 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.204, allocations: 0 / 0.9856 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.6e-05/0.204, allocations: 75.28 kB / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.1e-08/0.204, allocations: 0 / 0.9857 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002365/0.2043, allocations: 16 kB / 0.9857 GB, free: 21.22 MB / 0.6198 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 (5): * Single equations (assignments): 5 * 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.001415/0.2057, allocations: 0.8335 MB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.2068, allocations: 187.9 kB / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2069, allocations: 0 / 0.9867 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.2074, allocations: 88.08 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.2076, allocations: 3.938 kB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.2087, allocations: 256.2 kB / 0.987 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001147/0.2089, allocations: 0.677 MB / 0.9877 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.2091, allocations: 28.25 kB / 0.9877 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.163e-05/0.2092, allocations: 15.42 kB / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.2092, allocations: 0 / 0.9877 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3403/0.5494, allocations: 1.436 MB / 0.9891 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.5497, allocations: 215 kB / 0.9893 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.202, allocations: 0 / 0.9893 GB, free: 17.56 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)