Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks",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.447/1.447, allocations: 288.4 MB / 303.6 MB, free: 8.16 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.0008891/0.0008891, allocations: 187.2 kB / 372.3 MB, free: 10.13 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.126/1.126, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0006934/0.0006934, allocations: 112.9 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 12.53 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1833, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001422/0.1847, allocations: 1.443 MB / 0.9816 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007503/0.1855, allocations: 0.6604 MB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.1856, allocations: 0 / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.81e-05/0.1856, allocations: 7.922 kB / 0.9822 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.456e-05/0.1856, allocations: 15.86 kB / 0.9823 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.1861, allocations: 156.2 kB / 0.9824 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.1862, allocations: 103.7 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1863, allocations: 41.11 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.1864, allocations: 51.83 kB / 0.9826 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.1864, allocations: 35.78 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1865, allocations: 4 kB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-05/0.1865, allocations: 35.97 kB / 0.9827 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.1866, allocations: 27.89 kB / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.1866, allocations: 69.42 kB / 0.9828 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1867, allocations: 96.05 kB / 0.9829 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1867, allocations: 4 kB / 0.9829 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1868, allocations: 0 / 0.9829 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.1868, allocations: 3.938 kB / 0.9829 GB, free: 24.49 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004229/0.1872, allocations: 411.2 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.1872, allocations: 12.03 kB / 0.9833 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.1873, allocations: 46.67 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000736/0.188, allocations: 144.6 kB / 0.9834 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.916e-05/0.1881, allocations: 194.3 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.166e-05/0.1882, allocations: 63.97 kB / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1882, allocations: 4.375 kB / 0.9837 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000472/0.1887, allocations: 193.5 kB / 0.9839 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1887, allocations: 4 kB / 0.9839 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.1887, allocations: 4 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1887, allocations: 0 / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/0.1893, allocations: 195.7 kB / 0.9841 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009348/0.1902, allocations: 0.49 MB / 0.9846 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009222/0.1912, allocations: 278.3 kB / 0.9848 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002681/0.1915, allocations: 92.89 kB / 0.9849 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1915, allocations: 12 kB / 0.9849 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.1915, allocations: 30.56 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1915, allocations: 0 / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0009112/0.1924, allocations: 313.5 kB / 0.9852 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.1925, allocations: 55.41 kB / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.1926, allocations: 145.7 kB / 0.9854 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1926, allocations: 25.7 kB / 0.9855 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.1926, allocations: 112.2 kB / 0.9856 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.1926, allocations: 23.66 kB / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.1927, allocations: 0 / 0.9856 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.129e-05/0.1927, allocations: 322.8 kB / 0.9859 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.193, allocations: 99.86 kB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.1933, allocations: 118.5 kB / 0.9861 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.1938, allocations: 194.4 kB / 0.9863 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1938, allocations: 3.938 kB / 0.9863 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005849/0.1944, allocations: 237.4 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1944, allocations: 5.719 kB / 0.9865 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1945, allocations: 3.938 kB / 0.9865 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1945, allocations: 4 kB / 0.9865 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1947, allocations: 39.95 kB / 0.9866 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1947, allocations: 3.984 kB / 0.9866 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.1949, allocations: 40.28 kB / 0.9866 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1949, allocations: 0 / 0.9866 GB, free: 20.38 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 (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 6.355e-05/0.195, allocations: 123.5 kB / 0.9867 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.195, allocations: 7.906 kB / 0.9867 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006373/0.1957, allocations: 258 kB / 0.987 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1957, allocations: 7.969 kB / 0.987 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1957, allocations: 0 / 0.987 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1957, allocations: 0 / 0.987 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.1959, allocations: 238.4 kB / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1959, allocations: 0 / 0.9872 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.1961, allocations: 39.95 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1961, allocations: 0 / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.1961, allocations: 7.922 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1961, allocations: 0 / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1961, allocations: 4 kB / 0.9873 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.1967, allocations: 319.2 kB / 0.9876 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.1968, allocations: 85.02 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.1968, allocations: 3.938 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.1971, allocations: 47.95 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.1971, allocations: 7.984 kB / 0.9877 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1971, allocations: 7.984 kB / 0.9877 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.1972, allocations: 107.6 kB / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1972, allocations: 0 / 0.9878 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000219/0.1974, allocations: 24 kB / 0.9878 GB, free: 19.03 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 (6): * Single equations (assignments): 6 * 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.0007302/0.1982, allocations: 0.8527 MB / 0.9887 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005756/0.1987, allocations: 195.8 kB / 0.9889 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1987, allocations: 4.125 kB / 0.9889 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/0.199, allocations: 104.2 kB / 0.989 GB, free: 17.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.1993, allocations: 15.94 kB / 0.989 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.2009, allocations: 0.9118 MB / 0.9899 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.825e-05/0.201, allocations: 0.7004 MB / 0.9906 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.183e-05/0.2011, allocations: 19.98 kB / 0.9906 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.2012, allocations: 31.42 kB / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.2012, allocations: 0 / 0.9906 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5916/0.7928, allocations: 2.416 MB / 0.993 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001287/0.7929, allocations: 188.4 kB / 0.9931 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.901, allocations: 0 / 0.9931 GB, free: 13.57 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)