Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001065/0.001065, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001114/0.001114, allocations: 190.4 kB / 16.25 MB, free: 6.625 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.247/1.247, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.629/1.629, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.00126/0.00126, allocations: 66.14 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1964, allocations: 114.5 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.003327/0.1997, allocations: 1.502 MB / 0.7843 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004659/0.2002, allocations: 196.3 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.2003, allocations: 4 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.2003, allocations: 0 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.393e-05/0.2004, allocations: 4 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.2007, allocations: 35.84 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.458e-05/0.2007, allocations: 23.92 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.2008, allocations: 4 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.307e-05/0.2008, allocations: 7.984 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.507e-05/0.2009, allocations: 15.92 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2009, allocations: 4 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.201, allocations: 31.97 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.201, allocations: 7.984 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.201, allocations: 15.94 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.2012, allocations: 39.88 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2012, allocations: 0 / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.093e-06/0.2012, allocations: 0 / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2012, allocations: 0 / 0.7847 GB, free: 12.05 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.0004532/0.2016, allocations: 343.7 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.2017, allocations: 12.03 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.2017, allocations: 0.9375 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.2018, allocations: 168.3 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.2019, allocations: 8.375 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.2019, allocations: 384 / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.202, allocations: 51.3 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2021, allocations: 4.125 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2021, allocations: 3.938 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2021, allocations: 0 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.2023, allocations: 31.97 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.2026, allocations: 253 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.2027, allocations: 38.48 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.952e-05/0.2028, allocations: 28.89 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.059e-05/0.2029, allocations: 77.11 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.203, allocations: 42.5 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 3.196e-06/0.203, allocations: 0 / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003212/0.2033, allocations: 81.58 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.2033, allocations: 55.41 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.257e-05/0.2034, allocations: 101.8 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.2034, allocations: 25.7 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.2034, allocations: 92.27 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.2035, allocations: 7.844 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.2035, allocations: 9.719 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.2036, allocations: 318.8 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.2037, allocations: 15.97 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.2037, allocations: 19.92 kB / 0.7864 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.2039, allocations: 41.14 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2039, allocations: 0 / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.2041, allocations: 73.59 kB / 0.7865 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.2041, allocations: 4 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2041, allocations: 0 / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2041, allocations: 4 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.403e-05/0.2042, allocations: 12.02 kB / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2042, allocations: 0 / 0.7865 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.2043, allocations: 11.84 kB / 0.7865 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2043, allocations: 3.984 kB / 0.7865 GB, free: 9.902 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.834e-05/0.2044, allocations: 121.7 kB / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.2044, allocations: 0 / 0.7867 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.2046, allocations: 72.78 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.2046, allocations: 0 / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2046, allocations: 0 / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2046, allocations: 0 / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.2048, allocations: 165.6 kB / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2048, allocations: 0 / 0.7869 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.414e-05/0.2049, allocations: 8 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2049, allocations: 0 / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.2049, allocations: 3.984 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2049, allocations: 0 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.2049, allocations: 0 / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.2051, allocations: 167.4 kB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.2052, allocations: 81.11 kB / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.2052, allocations: 7.938 kB / 0.7871 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.2053, allocations: 4 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.2053, allocations: 3.984 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.2053, allocations: 4.031 kB / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.3e-05/0.2054, allocations: 79.28 kB / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2054, allocations: 0 / 0.7872 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002281/0.2056, allocations: 23.91 kB / 0.7872 GB, free: 9.074 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.0001506/0.2058, allocations: 107.2 kB / 0.7874 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.206, allocations: 39.91 kB / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.206, allocations: 4.062 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.397e-05/0.2061, allocations: 23.97 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2064, allocations: 7.875 kB / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.2066, allocations: 113.5 kB / 0.7875 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.2068, allocations: 0.6768 MB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.662e-05/0.2069, allocations: 8.047 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.2069, allocations: 7.438 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2069, allocations: 0 / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of Templates: time 0.002403/0.2093, allocations: 0.5241 MB / 0.7887 GB, free: 7.504 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)