Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.688/1.688, allocations: 287.4 MB / 302.6 MB, free: 8.203 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.001041/0.001041, allocations: 181 kB / 371.1 MB, free: 10.82 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.542/1.542, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0007682/0.0007682, allocations: 97.2 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004031, allocations: 11.09 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1824, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001386/0.1838, allocations: 1.152 MB / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.1842, allocations: 172.5 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.1843, allocations: 4 kB / 0.98 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.709e-05/0.1843, allocations: 7.922 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.1844, allocations: 0 / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.1846, allocations: 31.86 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.1847, allocations: 23.91 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.054e-05/0.1848, allocations: 4 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.1848, allocations: 12 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.1848, allocations: 7.922 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1849, allocations: 4 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-05/0.1849, allocations: 31.97 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.185, allocations: 3.984 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.185, allocations: 25.7 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.757e-05/0.1851, allocations: 27.95 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1851, allocations: 0 / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1851, allocations: 3.938 kB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.1851, allocations: 0 / 0.9802 GB, free: 26.56 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004116/0.1855, allocations: 351.7 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.1856, allocations: 8.031 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.116e-05/0.1857, allocations: 34.73 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/0.1857, allocations: 4.938 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.267e-05/0.1858, allocations: 168.2 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1858, allocations: 384 / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.1858, allocations: 4.375 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.186, allocations: 58.23 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.186, allocations: 3.938 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.186, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.186, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.1862, allocations: 51.95 kB / 0.9809 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.1865, allocations: 241 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1866, allocations: 50.44 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.599e-05/0.1867, allocations: 32.89 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.857e-05/0.1868, allocations: 81.11 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1868, allocations: 34.56 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.1869, allocations: 0 / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003428/0.1872, allocations: 105.6 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.1872, allocations: 51.41 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.782e-05/0.1873, allocations: 105.8 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.1873, allocations: 25.7 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.1874, allocations: 88.27 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.1874, allocations: 7.844 kB / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.1874, allocations: 0 / 0.9816 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.077e-05/0.1874, allocations: 314.8 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.1875, allocations: 23.97 kB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.02e-05/0.1876, allocations: 27.98 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1878, allocations: 44.83 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1878, allocations: 3.938 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001792/0.1879, allocations: 81.66 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.188, allocations: 4 kB / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.188, allocations: 0 / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.188, allocations: 0 / 0.9821 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.575e-05/0.1881, allocations: 15.98 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.1881, allocations: 4.031 kB / 0.9821 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.1882, allocations: 7.984 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1882, allocations: 0 / 0.9821 GB, free: 24.32 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.1882, allocations: 123.1 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.1883, allocations: 3.906 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.1885, allocations: 92.7 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1885, allocations: 0 / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1885, allocations: 4 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1885, allocations: 7.922 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.1886, allocations: 161.6 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1886, allocations: 0 / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.1887, allocations: 12.03 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1887, allocations: 3.984 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.1887, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1887, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1887, allocations: 4 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.1889, allocations: 175.5 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.189, allocations: 77.11 kB / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.189, allocations: 0 / 0.9828 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.1891, allocations: 11.98 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.1891, allocations: 0 / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1891, allocations: 3.938 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.96e-05/0.1892, allocations: 91.56 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1892, allocations: 0 / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002072/0.1894, allocations: 12 kB / 0.9829 GB, free: 23.45 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 (2): * Single equations (assignments): 2 * 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.0004121/0.1898, allocations: 0.724 MB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.19, allocations: 43.97 kB / 0.9836 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.19, allocations: 4.094 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.091e-05/0.1901, allocations: 31.91 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.1904, allocations: 1.891 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.1907, allocations: 138.4 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.1909, allocations: 0.681 MB / 0.9845 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.404e-05/0.1909, allocations: 0 / 0.9845 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.1909, allocations: 15.44 kB / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1909, allocations: 0 / 0.9845 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.202, allocations: 1.164 MB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001246/0.2021, allocations: 191.5 kB / 0.9858 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.469/1.671, allocations: 0 / 0.9858 GB, free: 20.45 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_SmoothExponential.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)