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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.6185/0.6185, allocations: 94.78 MB / 102.3 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009998/0.0009999, allocations: 175 kB / 125.6 MB, free: 11.87 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.424/1.424, allocations: 170.6 MB / 319.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001694/0.001694, allocations: 98.72 kB / 381.3 MB, free: 18.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.681e-05/1.664e-05, allocations: 4 kB / 449.1 MB, free: 1.746 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1767, allocations: 61.54 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4964/0.6731, allocations: 93.04 MB / 0.5895 GB, free: 8.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.6734, allocations: 67.97 kB / 0.5896 GB, free: 8.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003629/0.677, allocations: 1.304 MB / 0.5909 GB, free: 7.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.677, allocations: 4.547 kB / 0.5909 GB, free: 7.566 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.6771, allocations: 4 kB / 0.5909 GB, free: 7.562 MB / 410.7 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.0003778/0.6774, allocations: 344.4 kB / 0.5912 GB, free: 7.184 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.6775, allocations: 13.25 kB / 0.5912 GB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.6775, allocations: 3.625 kB / 0.5912 GB, free: 7.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.6777, allocations: 159.1 kB / 0.5914 GB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6777, allocations: 4.906 kB / 0.5914 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-06/0.6777, allocations: 0 / 0.5914 GB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.001e-05/0.6778, allocations: 10.23 kB / 0.5914 GB, free: 6.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.114e-05/0.6778, allocations: 39.56 kB / 0.5914 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.6779, allocations: 0 / 0.5914 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.6779, allocations: 0 / 0.5914 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.6779, allocations: 0.5312 kB / 0.5914 GB, free: 6.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.6783, allocations: 258.2 kB / 0.5917 GB, free: 6.641 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.43e-05/0.6784, allocations: 23.34 kB / 0.5917 GB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.721e-05/0.6784, allocations: 15.89 kB / 0.5917 GB, free: 6.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.6785, allocations: 85.06 kB / 0.5918 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.6786, allocations: 31.53 kB / 0.5918 GB, free: 6.453 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.6786, allocations: 0.5312 kB / 0.5918 GB, free: 6.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.6788, allocations: 43.91 kB / 0.5919 GB, free: 6.406 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.6788, allocations: 59.91 kB / 0.5919 GB, free: 6.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/0.6789, allocations: 94.44 kB / 0.592 GB, free: 6.238 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.6789, allocations: 26.23 kB / 0.592 GB, free: 6.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.679, allocations: 80.86 kB / 0.5921 GB, free: 6.125 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.679, allocations: 8.531 kB / 0.5921 GB, free: 6.117 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.679, allocations: 1.094 kB / 0.5921 GB, free: 6.117 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.6792, allocations: 320.4 kB / 0.5924 GB, free: 5.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.6792, allocations: 4.5 kB / 0.5924 GB, free: 5.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.414e-05/0.6793, allocations: 4.531 kB / 0.5924 GB, free: 5.789 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.6793, allocations: 4.75 kB / 0.5924 GB, free: 5.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6793, allocations: 0 / 0.5924 GB, free: 5.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.162e-05/0.6794, allocations: 42.48 kB / 0.5925 GB, free: 5.738 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.6794, allocations: 6.188 kB / 0.5925 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.6794, allocations: 3.953 kB / 0.5925 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.6795, allocations: 3.938 kB / 0.5925 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.6796, allocations: 17.05 kB / 0.5925 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.6796, allocations: 0 / 0.5925 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.6796, allocations: 11.36 kB / 0.5925 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.6796, allocations: 1.875 kB / 0.5925 GB, free: 5.703 MB / 410.7 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 () * 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 8.215e-05/0.6797, allocations: 108.9 kB / 0.5926 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.6798, allocations: 3.906 kB / 0.5926 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.6799, allocations: 57.52 kB / 0.5927 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.6799, allocations: 7.953 kB / 0.5927 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6799, allocations: 0.6562 kB / 0.5927 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.6799, allocations: 0 / 0.5927 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.6801, allocations: 135.2 kB / 0.5928 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6801, allocations: 0 / 0.5928 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.6802, allocations: 8 kB / 0.5928 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6802, allocations: 0 / 0.5928 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.6802, allocations: 3.984 kB / 0.5928 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6802, allocations: 4.688 kB / 0.5928 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6802, allocations: 4 kB / 0.5928 GB, free: 5.328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/0.6804, allocations: 140 kB / 0.593 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.952e-05/0.6804, allocations: 81.11 kB / 0.5931 GB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.6804, allocations: 3.984 kB / 0.5931 GB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.6805, allocations: 4 kB / 0.5931 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.6806, allocations: 12.02 kB / 0.5931 GB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.6806, allocations: 2.469 kB / 0.5931 GB, free: 5.059 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.254e-05/0.6806, allocations: 87.23 kB / 0.5932 GB, free: 4.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6806, allocations: 0 / 0.5932 GB, free: 4.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.6809, allocations: 19.84 kB / 0.5932 GB, free: 4.953 MB / 410.7 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 () * 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.0001897/0.681, allocations: 107.2 kB / 0.5933 GB, free: 4.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.607e-05/0.6811, allocations: 15.98 kB / 0.5933 GB, free: 4.824 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6811, allocations: 0 / 0.5933 GB, free: 4.824 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/0.6812, allocations: 12 kB / 0.5933 GB, free: 4.812 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.6814, allocations: 8.547 kB / 0.5933 GB, free: 4.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001901/0.6816, allocations: 57.69 kB / 0.5934 GB, free: 4.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.6819, allocations: 0.6807 MB / 0.594 GB, free: 4.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.6819, allocations: 1.328 kB / 0.594 GB, free: 4.023 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2e-05/0.6819, allocations: 7.438 kB / 0.594 GB, free: 4.02 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6819, allocations: 0 / 0.594 GB, free: 4.02 MB / 410.7 MB Notification: Performance of Templates: time 0.002557/0.6845, allocations: 453.9 kB / 0.5945 GB, free: 3.609 MB / 410.7 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)