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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.389/1.389, allocations: 252 MB / 267.6 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 178.3 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008084/0.0008085, allocations: 91.77 kB / 0.6829 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 15.84 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 106.3 MB / 0.9008 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001494/0.1974, allocations: 1.157 MB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003493/0.1978, allocations: 180.5 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.211e-05/0.1978, allocations: 4 kB / 0.9021 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.1978, allocations: 3.938 kB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.813e-05/0.1979, allocations: 4 kB / 0.9021 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1981, allocations: 31.89 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.608e-05/0.1982, allocations: 19.92 kB / 0.9022 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.265e-05/0.1983, allocations: 4 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.1983, allocations: 4 kB / 0.9022 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.232e-05/0.1984, allocations: 11.92 kB / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1984, allocations: 0 / 0.9022 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.815e-05/0.1985, allocations: 35.97 kB / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.1985, allocations: 0 / 0.9022 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.1985, allocations: 29.7 kB / 0.9023 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.577e-05/0.1986, allocations: 31.94 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1986, allocations: 0 / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1986, allocations: 0 / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1986, allocations: 0 / 0.9023 GB, free: 62.32 MB / 0.6042 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.0003833/0.199, allocations: 343.2 kB / 0.9026 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.199, allocations: 16.03 kB / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.1991, allocations: 0 / 0.9026 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.311e-05/0.1992, allocations: 183.1 kB / 0.9028 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1992, allocations: 0 / 0.9028 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.1992, allocations: 0 / 0.9028 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1994, allocations: 53.67 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1994, allocations: 4 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1994, allocations: 4 kB / 0.9029 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1994, allocations: 0 / 0.9029 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.1996, allocations: 43.97 kB / 0.9029 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.1999, allocations: 252.9 kB / 0.9032 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.2, allocations: 46.5 kB / 0.9032 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.2001, allocations: 24.91 kB / 0.9032 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.2002, allocations: 81.09 kB / 0.9033 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.2002, allocations: 38.56 kB / 0.9033 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2002, allocations: 3.938 kB / 0.9033 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003436/0.2006, allocations: 97.73 kB / 0.9034 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.2006, allocations: 55.34 kB / 0.9035 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.227e-05/0.2007, allocations: 101.9 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.2007, allocations: 25.7 kB / 0.9036 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.2007, allocations: 88.12 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.2008, allocations: 7.906 kB / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.2008, allocations: 0 / 0.9037 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.196e-05/0.2008, allocations: 314.8 kB / 0.904 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.2009, allocations: 24.02 kB / 0.904 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.201, allocations: 23.97 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.877e-05/0.2011, allocations: 28.05 kB / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2011, allocations: 0 / 0.9041 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001773/0.2013, allocations: 73.66 kB / 0.9041 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2013, allocations: 4 kB / 0.9042 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2013, allocations: 0 / 0.9042 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2013, allocations: 4.031 kB / 0.9042 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.2014, allocations: 15.94 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2014, allocations: 3.938 kB / 0.9042 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.784e-05/0.2015, allocations: 11.89 kB / 0.9042 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.2015, allocations: 0 / 0.9042 GB, free: 60.15 MB / 0.6042 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 5.712e-05/0.2015, allocations: 117.8 kB / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.2016, allocations: 0 / 0.9043 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.2018, allocations: 88.77 kB / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2018, allocations: 0 / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2018, allocations: 0 / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2018, allocations: 4 kB / 0.9044 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.2019, allocations: 157.7 kB / 0.9045 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2019, allocations: 4 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.202, allocations: 11.98 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.202, allocations: 0 / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.202, allocations: 3.984 kB / 0.9046 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.202, allocations: 3.938 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.202, allocations: 4 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.2022, allocations: 175.5 kB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.2023, allocations: 81.02 kB / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.2023, allocations: 0 / 0.9048 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.2024, allocations: 12.23 kB / 0.9048 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.2024, allocations: 4.031 kB / 0.9048 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.2024, allocations: 4 kB / 0.9048 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.436e-05/0.2024, allocations: 87.27 kB / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2024, allocations: 0 / 0.9049 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000206/0.2027, allocations: 19.94 kB / 0.9049 GB, free: 59.29 MB / 0.6042 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.0001249/0.2028, allocations: 103.2 kB / 0.905 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.203, allocations: 55.89 kB / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.203, allocations: 0 / 0.9051 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.2031, allocations: 23.98 kB / 0.9051 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2033, allocations: 7.953 kB / 0.9051 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.2036, allocations: 138.5 kB / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.2037, allocations: 0.677 MB / 0.9059 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.2037, allocations: 7.438 kB / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2038, allocations: 0 / 0.9059 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of Templates: time 0.001869/0.2056, allocations: 0.6629 MB / 0.9066 GB, free: 57.56 MB / 0.6042 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)