Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.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.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks",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.001092/0.001092, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001144/0.001144, allocations: 197 kB / 16.26 MB, free: 6.621 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.31/1.31, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.578/1.578, allocations: 292.3 MB / 0.5486 GB, free: 13.61 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.00141/0.00141, allocations: 70.23 kB / 0.6711 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1834, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002444/0.1859, allocations: 1.829 MB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000902/0.1868, allocations: 0.6953 MB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.091e-05/0.1868, allocations: 0 / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.1869, allocations: 7.922 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.572e-05/0.1869, allocations: 15.86 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.1874, allocations: 159.9 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1875, allocations: 115.7 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1877, allocations: 53.08 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.1879, allocations: 55.83 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.504e-05/0.188, allocations: 55.66 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.188, allocations: 12 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1881, allocations: 51.95 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.995e-05/0.1882, allocations: 27.91 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.392e-05/0.1882, allocations: 55.72 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1884, allocations: 143.8 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1884, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1884, allocations: 0 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.1885, allocations: 7.938 kB / 0.7862 GB, free: 10.53 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000407/0.1889, allocations: 435 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.36e-05/0.1889, allocations: 8.031 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.1889, allocations: 42.75 kB / 0.7866 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007071/0.1896, allocations: 108.7 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.984e-05/0.1897, allocations: 188 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.1898, allocations: 63.97 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.1899, allocations: 12.31 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.1903, allocations: 173.5 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.739e-06/0.1903, allocations: 0 / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1903, allocations: 4 kB / 0.7871 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1903, allocations: 4 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005058/0.1908, allocations: 155.8 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008719/0.1917, allocations: 489.7 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008516/0.1926, allocations: 210.3 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.1928, allocations: 92.83 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.1929, allocations: 0 / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.1929, allocations: 30.56 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 7.51e-07/0.1929, allocations: 4 kB / 0.7881 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0008391/0.1937, allocations: 261.5 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.1938, allocations: 55.41 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.1939, allocations: 145.6 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1939, allocations: 33.7 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.1939, allocations: 104.3 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.194, allocations: 23.64 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.526e-05/0.194, allocations: 17.72 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.1941, allocations: 322.8 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.1944, allocations: 75.86 kB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.1947, allocations: 102.5 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.1952, allocations: 162.7 kB / 0.7893 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1952, allocations: 4 kB / 0.7893 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005774/0.1958, allocations: 201.4 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.1958, allocations: 4 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1958, allocations: 3.938 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.455e-06/0.1958, allocations: 4 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.196, allocations: 39.83 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.196, allocations: 7.984 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.1962, allocations: 23.97 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1962, allocations: 4 kB / 0.7896 GB, free: 6.727 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.896e-05/0.1963, allocations: 117.8 kB / 0.7897 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.1964, allocations: 11.91 kB / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005992/0.197, allocations: 214.1 kB / 0.7899 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.197, allocations: 3.938 kB / 0.7899 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.197, allocations: 3.984 kB / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.197, allocations: 0 / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.1972, allocations: 234.3 kB / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1972, allocations: 0 / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.1974, allocations: 31.95 kB / 0.7902 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1974, allocations: 3.984 kB / 0.7902 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1974, allocations: 11.94 kB / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1974, allocations: 0 / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-07/0.1974, allocations: 0 / 0.7902 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.198, allocations: 295.4 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.1981, allocations: 81.02 kB / 0.7906 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.1981, allocations: 7.938 kB / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.1984, allocations: 27.95 kB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.1984, allocations: 3.984 kB / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1984, allocations: 11.98 kB / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.1985, allocations: 102 kB / 0.7907 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1985, allocations: 0 / 0.7907 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002274/0.1987, allocations: 28 kB / 0.7908 GB, free: 5.461 MB / 0.6075 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 (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.0008048/0.1995, allocations: 0.8177 MB / 0.7915 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000545/0.2001, allocations: 171.8 kB / 0.7917 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2001, allocations: 0 / 0.7917 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.2004, allocations: 91.97 kB / 0.7918 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.2006, allocations: 11.53 kB / 0.7918 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.203, allocations: 1.843 MB / 0.7936 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.2032, allocations: 0.704 MB / 0.7943 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.194e-05/0.2033, allocations: 23.73 kB / 0.7943 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.921e-05/0.2034, allocations: 31.42 kB / 0.7944 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2034, allocations: 0 / 0.7944 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.808/3.011, allocations: 2.571 MB / 0.7969 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/3.011, allocations: 192.5 kB / 0.797 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/4.928, allocations: 4 kB / 0.7971 GB, free: 14.91 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothBlocks.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)