Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.316/1.316, allocations: 252 MB / 267.3 MB, free: 10.85 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.00102/0.00102, allocations: 175.3 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.0006656/0.0006656, allocations: 91.58 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 12.38 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1831, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001636/0.1848, allocations: 1.176 MB / 0.9021 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007953/0.1856, allocations: 0.5042 MB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.1857, allocations: 0 / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.1857, allocations: 3.984 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.1858, allocations: 3.938 kB / 0.9026 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.186, allocations: 15.98 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.1861, allocations: 19.94 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.01e-05/0.1862, allocations: 7.984 kB / 0.9026 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.727e-05/0.1862, allocations: 11.94 kB / 0.9026 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.1863, allocations: 15.97 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1863, allocations: 0 / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.871e-05/0.1864, allocations: 19.92 kB / 0.9026 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.1864, allocations: 3.938 kB / 0.9026 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.1864, allocations: 37.64 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.658e-05/0.1865, allocations: 35.88 kB / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1865, allocations: 0 / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1865, allocations: 0 / 0.9027 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.1866, allocations: 0 / 0.9027 GB, free: 61.52 MB / 0.6042 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.0003404/0.1869, allocations: 343.8 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1869, allocations: 12.03 kB / 0.9031 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.187, allocations: 30.75 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.184e-05/0.187, allocations: 4.844 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.693e-05/0.1871, allocations: 172.3 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1871, allocations: 4.375 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.1871, allocations: 384 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1873, allocations: 61.8 kB / 0.9033 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1873, allocations: 3.938 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1873, allocations: 7.984 kB / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1873, allocations: 0 / 0.9033 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.1875, allocations: 43.97 kB / 0.9034 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.1878, allocations: 252.9 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.1879, allocations: 38.62 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.188, allocations: 28.84 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.1881, allocations: 85.09 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1882, allocations: 38.5 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.1882, allocations: 0 / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003742/0.1885, allocations: 97.64 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.1886, allocations: 51.41 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.954e-05/0.1886, allocations: 105.8 kB / 0.904 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.1887, allocations: 25.7 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.1887, allocations: 92.17 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.432e-05/0.1887, allocations: 0 / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.1887, allocations: 0 / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.1888, allocations: 322.8 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/0.1889, allocations: 19.97 kB / 0.9045 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.1889, allocations: 31.92 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1891, allocations: 44.83 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1891, allocations: 0 / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001725/0.1893, allocations: 81.62 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1893, allocations: 8 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1893, allocations: 0 / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.1893, allocations: 0 / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.066e-05/0.1894, allocations: 11.98 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1894, allocations: 4.031 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.457e-05/0.1895, allocations: 8 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1895, allocations: 3.984 kB / 0.9047 GB, free: 59.29 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.1895, allocations: 121.7 kB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.1895, allocations: 7.938 kB / 0.9048 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002057/0.1898, allocations: 80.78 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1898, allocations: 0 / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1898, allocations: 0 / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1898, allocations: 0 / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.1899, allocations: 165.6 kB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1899, allocations: 0 / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.19, allocations: 8 kB / 0.905 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.19, allocations: 8.031 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.19, allocations: 3.984 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.19, allocations: 0 / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.19, allocations: 0 / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.1902, allocations: 175.4 kB / 0.9052 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.1902, allocations: 88.95 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1902, allocations: 4.25 kB / 0.9053 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.1903, allocations: 8 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.1903, allocations: 7.984 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1904, allocations: 0 / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.371e-05/0.1904, allocations: 79.28 kB / 0.9054 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1904, allocations: 4.031 kB / 0.9054 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001978/0.1906, allocations: 4 kB / 0.9054 GB, free: 58.44 MB / 0.6042 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 (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.0003919/0.191, allocations: 0.7202 MB / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.1912, allocations: 39.97 kB / 0.9061 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1912, allocations: 4.094 kB / 0.9061 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.1913, allocations: 23.98 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1916, allocations: 11.92 kB / 0.9062 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.1919, allocations: 146.3 kB / 0.9063 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.192, allocations: 0.6771 MB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.1921, allocations: 3.984 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.1921, allocations: 15.38 kB / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1921, allocations: 0 / 0.907 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.2022, allocations: 1.176 MB / 0.9081 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.2024, allocations: 202.1 kB / 0.9083 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.551/1.754, allocations: 0 / 0.9083 GB, free: 55.41 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_SmoothHeaviside.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)