Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.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: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00101/0.00101, allocations: 194.8 kB / 16.25 MB, free: 6.633 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.263/1.263, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.604/1.604, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001334/0.001335, allocations: 69.2 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1821, allocations: 114.6 MB / 0.7829 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002558/0.1847, allocations: 1.51 MB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008484/0.1856, allocations: 0.5989 MB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.1856, allocations: 4 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.1857, allocations: 7.922 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.1857, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.186, allocations: 43.91 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.1861, allocations: 31.92 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.977e-05/0.1861, allocations: 0 / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.1862, allocations: 23.86 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.1863, allocations: 19.91 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1863, allocations: 0 / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1864, allocations: 47.97 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.175e-05/0.1864, allocations: 3.984 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.1865, allocations: 11.94 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.1866, allocations: 63.86 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1866, allocations: 4 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1866, allocations: 3.938 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1866, allocations: 0 / 0.7852 GB, free: 11.52 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003666/0.187, allocations: 347.7 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.187, allocations: 12.03 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.1871, allocations: 8.844 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.356e-05/0.1872, allocations: 172.3 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.1872, allocations: 4.359 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.1872, allocations: 384 / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.1873, allocations: 53.98 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.1873, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.1873, allocations: 0 / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1873, allocations: 11.88 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.1874, allocations: 15.98 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.1877, allocations: 256.8 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.93e-05/0.1878, allocations: 30.58 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.1879, allocations: 20.91 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007441/0.1886, allocations: 469.4 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.1886, allocations: 42.48 kB / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1886, allocations: 0 / 0.7865 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002106/0.1889, allocations: 57.69 kB / 0.7866 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.1889, allocations: 55.41 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.189, allocations: 105.8 kB / 0.7868 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.189, allocations: 29.7 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.189, allocations: 84.12 kB / 0.7869 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.1891, allocations: 12.03 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.1891, allocations: 13.72 kB / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.1892, allocations: 314.8 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.1892, allocations: 15.98 kB / 0.7872 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.1893, allocations: 8 kB / 0.7872 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/0.1893, allocations: 32.72 kB / 0.7872 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1894, allocations: 4.062 kB / 0.7872 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001187/0.1895, allocations: 61.58 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1895, allocations: 7.938 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1895, allocations: 0 / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.1895, allocations: 0 / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.498e-05/0.1896, allocations: 8 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.1896, allocations: 0 / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.1896, allocations: 3.984 kB / 0.7873 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1897, allocations: 0 / 0.7873 GB, free: 8.992 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 (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 6.038e-05/0.1897, allocations: 117.8 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.1897, allocations: 0 / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.1899, allocations: 65.14 kB / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1899, allocations: 4 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1899, allocations: 0 / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1899, allocations: 4 kB / 0.7875 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1901, allocations: 161.6 kB / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1901, allocations: 0 / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.1901, allocations: 12.03 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1901, allocations: 0 / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.1901, allocations: 0 / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1902, allocations: 0 / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1902, allocations: 320 / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.1903, allocations: 159.3 kB / 0.7878 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.1903, allocations: 85.05 kB / 0.7879 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.1904, allocations: 4.031 kB / 0.7879 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/0.1904, allocations: 0 / 0.7879 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.1905, allocations: 7.984 kB / 0.7879 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1905, allocations: 0 / 0.7879 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.994e-05/0.1905, allocations: 91.27 kB / 0.788 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1905, allocations: 0 / 0.788 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002288/0.1908, allocations: 19.98 kB / 0.788 GB, free: 8.172 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 (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.0001483/0.1909, allocations: 111.2 kB / 0.7881 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.191, allocations: 27.97 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.191, allocations: 0 / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.849e-05/0.1911, allocations: 15.88 kB / 0.7882 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.1913, allocations: 15.88 kB / 0.7882 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.1916, allocations: 130.7 kB / 0.7883 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1918, allocations: 0.6846 MB / 0.789 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.1918, allocations: 3.984 kB / 0.789 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.811e-05/0.1918, allocations: 11.42 kB / 0.789 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1918, allocations: 0 / 0.789 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of Templates: time 0.002356/0.1942, allocations: 0.6447 MB / 0.7896 GB, free: 6.477 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)