Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007883/0.007883, allocations: 99.7 kB / 15.73 MB, free: 6.469 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.00172/0.00172, allocations: 193.8 kB / 16.67 MB, free: 6.379 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.5/1.5, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5767/0.5767, allocations: 95.49 MB / 365.4 MB, free: 9.773 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 66.25 kB / 0.5036 GB, free: 13.48 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1818, allocations: 69.09 MB / 0.5711 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002979/0.1849, allocations: 1.407 MB / 0.5725 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004466/0.1853, allocations: 172.4 kB / 0.5726 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.076e-05/0.1854, allocations: 0 / 0.5726 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.1854, allocations: 3.938 kB / 0.5726 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.957e-05/0.1855, allocations: 7.922 kB / 0.5726 GB, free: 6.719 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003339/0.1858, allocations: 39.91 kB / 0.5727 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.1859, allocations: 31.86 kB / 0.5727 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.186, allocations: 8 kB / 0.5727 GB, free: 6.641 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.682e-05/0.1861, allocations: 7.984 kB / 0.5727 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.1861, allocations: 15.92 kB / 0.5727 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1862, allocations: 0 / 0.5727 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1863, allocations: 35.95 kB / 0.5728 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.1863, allocations: 4 kB / 0.5728 GB, free: 6.578 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.1863, allocations: 7.938 kB / 0.5728 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.1865, allocations: 43.88 kB / 0.5728 GB, free: 6.527 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1865, allocations: 0 / 0.5728 GB, free: 6.527 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1865, allocations: 4 kB / 0.5728 GB, free: 6.523 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.1865, allocations: 0 / 0.5728 GB, free: 6.523 MB / 446.1 MB 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.000463/0.187, allocations: 343.5 kB / 0.5732 GB, free: 6.141 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.187, allocations: 11.98 kB / 0.5732 GB, free: 6.129 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.187, allocations: 4.938 kB / 0.5732 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1872, allocations: 172.3 kB / 0.5733 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1872, allocations: 4.125 kB / 0.5733 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1872, allocations: 0 / 0.5733 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1874, allocations: 53.67 kB / 0.5734 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1874, allocations: 0 / 0.5734 GB, free: 5.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1874, allocations: 7.938 kB / 0.5734 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1874, allocations: 0 / 0.5734 GB, free: 5.848 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.1876, allocations: 31.95 kB / 0.5734 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.188, allocations: 256.8 kB / 0.5737 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1881, allocations: 42.55 kB / 0.5737 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.508e-05/0.1882, allocations: 20.91 kB / 0.5737 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.1883, allocations: 81.11 kB / 0.5738 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1884, allocations: 34.5 kB / 0.5738 GB, free: 5.301 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1884, allocations: 0 / 0.5738 GB, free: 5.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003476/0.1887, allocations: 85.64 kB / 0.5739 GB, free: 5.211 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1888, allocations: 51.41 kB / 0.574 GB, free: 5.148 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.249e-05/0.1888, allocations: 113.8 kB / 0.5741 GB, free: 5.027 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1889, allocations: 25.7 kB / 0.5741 GB, free: 4.996 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.1889, allocations: 80.14 kB / 0.5742 GB, free: 4.914 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.1889, allocations: 7.906 kB / 0.5742 GB, free: 4.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.189, allocations: 13.84 kB / 0.5742 GB, free: 4.887 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1891, allocations: 322.8 kB / 0.5745 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.1892, allocations: 19.98 kB / 0.5745 GB, free: 4.543 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.543e-05/0.1893, allocations: 11.98 kB / 0.5745 GB, free: 4.531 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1894, allocations: 44.77 kB / 0.5746 GB, free: 4.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1894, allocations: 4.062 kB / 0.5746 GB, free: 4.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.1896, allocations: 65.66 kB / 0.5747 GB, free: 4.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1896, allocations: 4 kB / 0.5747 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1896, allocations: 0 / 0.5747 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1896, allocations: 0 / 0.5747 GB, free: 4.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1897, allocations: 11.98 kB / 0.5747 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.1898, allocations: 0 / 0.5747 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.1898, allocations: 7.984 kB / 0.5747 GB, free: 4.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1898, allocations: 7.969 kB / 0.5747 GB, free: 4.379 MB / 446.1 MB 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 7.048e-05/0.1899, allocations: 105.8 kB / 0.5748 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1899, allocations: 11.91 kB / 0.5748 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.1902, allocations: 72.67 kB / 0.5749 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1902, allocations: 0 / 0.5749 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1902, allocations: 4 kB / 0.5749 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.1902, allocations: 0 / 0.5749 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.1904, allocations: 165.6 kB / 0.575 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1905, allocations: 0 / 0.575 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.1905, allocations: 11.92 kB / 0.575 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1905, allocations: 4 kB / 0.575 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1905, allocations: 0 / 0.575 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1905, allocations: 0 / 0.575 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1906, allocations: 0 / 0.575 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1908, allocations: 171.4 kB / 0.5752 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/0.1908, allocations: 77.11 kB / 0.5753 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.1909, allocations: 0 / 0.5753 GB, free: 3.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-05/0.1909, allocations: 7.984 kB / 0.5753 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.191, allocations: 11.94 kB / 0.5753 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.191, allocations: 0 / 0.5753 GB, free: 3.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.389e-05/0.1911, allocations: 87.47 kB / 0.5754 GB, free: 3.562 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1911, allocations: 0 / 0.5754 GB, free: 3.562 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1913, allocations: 16.02 kB / 0.5754 GB, free: 3.547 MB / 446.1 MB 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.0001588/0.1915, allocations: 111.2 kB / 0.5755 GB, free: 3.426 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1917, allocations: 35.95 kB / 0.5755 GB, free: 3.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1917, allocations: 0 / 0.5755 GB, free: 3.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.078e-05/0.1918, allocations: 19.92 kB / 0.5756 GB, free: 3.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1921, allocations: 12.12 kB / 0.5756 GB, free: 3.359 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.1924, allocations: 105.5 kB / 0.5757 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1926, allocations: 0.6806 MB / 0.5763 GB, free: 2.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.439e-05/0.1927, allocations: 4 kB / 0.5763 GB, free: 2.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.1927, allocations: 7.438 kB / 0.5763 GB, free: 2.512 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1927, allocations: 0 / 0.5763 GB, free: 2.512 MB / 446.1 MB Notification: Performance of Templates: time 0.002767/0.1955, allocations: 0.5846 MB / 0.5769 GB, free: 1.93 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)