Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.004358/0.004358, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.0009637/0.0009637, allocations: 193.9 kB / 16.67 MB, free: 5.93 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.195/1.195, 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 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 251.7 MB / 0.5094 GB, free: 2.922 MB / 414.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.001287/0.001287, allocations: 77.78 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1791, allocations: 104.7 MB / 0.828 GB, free: 160 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002116/0.1813, allocations: 1.443 MB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003937/0.1817, allocations: 192.6 kB / 0.8296 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.798e-05/0.1817, allocations: 0 / 0.8296 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.1817, allocations: 0 / 0.8296 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.418e-05/0.1818, allocations: 7.938 kB / 0.8296 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.1821, allocations: 27.91 kB / 0.8297 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.1821, allocations: 31.91 kB / 0.8297 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.1822, allocations: 11.98 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.3e-05/0.1823, allocations: 3.938 kB / 0.8297 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.1823, allocations: 15.92 kB / 0.8297 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1824, allocations: 4 kB / 0.8297 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.078e-05/0.1825, allocations: 31.97 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1825, allocations: 4 kB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.1825, allocations: 11.94 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.1827, allocations: 43.86 kB / 0.8298 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1827, allocations: 4 kB / 0.8298 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1827, allocations: 7.938 kB / 0.8298 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.1827, allocations: 0 / 0.8298 GB, free: 14.3 MB / 0.6544 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.0004786/0.1832, allocations: 335.4 kB / 0.8302 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1832, allocations: 15.97 kB / 0.8302 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.1833, allocations: 8.844 kB / 0.8302 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1834, allocations: 164.4 kB / 0.8303 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1834, allocations: 4.375 kB / 0.8303 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1834, allocations: 384 / 0.8303 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.1837, allocations: 50.23 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1837, allocations: 192 / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1837, allocations: 3.938 kB / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1837, allocations: 0 / 0.8304 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.1839, allocations: 35.95 kB / 0.8304 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.1843, allocations: 256.9 kB / 0.8307 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1845, allocations: 38.5 kB / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.1846, allocations: 24.91 kB / 0.8307 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.555e-05/0.1847, allocations: 77.11 kB / 0.8308 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.1848, allocations: 42.55 kB / 0.8308 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.1848, allocations: 0 / 0.8308 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004566/0.1853, allocations: 85.5 kB / 0.8309 GB, free: 13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.1853, allocations: 55.39 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.624e-05/0.1854, allocations: 97.86 kB / 0.8311 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1854, allocations: 25.7 kB / 0.8311 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.1855, allocations: 88.27 kB / 0.8312 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.1855, allocations: 15.83 kB / 0.8312 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.1855, allocations: 13.72 kB / 0.8312 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1857, allocations: 310.8 kB / 0.8315 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.1858, allocations: 15.98 kB / 0.8315 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.1859, allocations: 15.98 kB / 0.8315 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.1861, allocations: 49.06 kB / 0.8316 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1861, allocations: 0 / 0.8316 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002607/0.1864, allocations: 77.53 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1864, allocations: 8 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1864, allocations: 0 / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1865, allocations: 0 / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1866, allocations: 4 kB / 0.8317 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1866, allocations: 8.016 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.1866, allocations: 4 kB / 0.8317 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1867, allocations: 4 kB / 0.8317 GB, free: 12.16 MB / 0.6544 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 8.087e-05/0.1868, allocations: 113.8 kB / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.1868, allocations: 0 / 0.8318 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.1871, allocations: 80.69 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1871, allocations: 7.969 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1871, allocations: 0 / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1871, allocations: 0 / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1873, allocations: 165.6 kB / 0.832 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1873, allocations: 0 / 0.832 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.1874, allocations: 7.984 kB / 0.832 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1874, allocations: 0 / 0.832 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.1874, allocations: 4 kB / 0.832 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1875, allocations: 4 kB / 0.832 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1875, allocations: 0 / 0.832 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.1878, allocations: 167.4 kB / 0.8322 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.364e-05/0.1878, allocations: 77.11 kB / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1878, allocations: 0 / 0.8323 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1879, allocations: 11.98 kB / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.188, allocations: 0 / 0.8323 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.188, allocations: 7.938 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.188, allocations: 87.3 kB / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1881, allocations: 0 / 0.8324 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003446/0.1884, allocations: 12 kB / 0.8324 GB, free: 11.33 MB / 0.6544 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.0001594/0.1886, allocations: 107.2 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.1888, allocations: 35.95 kB / 0.8325 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.1889, allocations: 0 / 0.8325 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.189, allocations: 23.98 kB / 0.8326 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.1893, allocations: 7.938 kB / 0.8326 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.1896, allocations: 109.6 kB / 0.8327 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1899, allocations: 0.6805 MB / 0.8333 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.1899, allocations: 4 kB / 0.8333 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.19, allocations: 7.438 kB / 0.8333 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.19, allocations: 4.062 kB / 0.8333 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.003342/0.1933, allocations: 0.5852 MB / 0.8339 GB, free: 9.711 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)