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/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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001696/0.001696, allocations: 189.9 kB / 16.14 MB, free: 6.703 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.506/1.506, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5914/0.5914, allocations: 95.48 MB / 364.8 MB, free: 10.11 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 68.56 kB / 444.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.374, allocations: 69.07 MB / 0.5017 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002293/0.3763, allocations: 1.473 MB / 0.5031 GB, free: 16.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004178/0.3767, allocations: 176 kB / 0.5033 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.3768, allocations: 0 / 0.5033 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.087e-05/0.3768, allocations: 3.984 kB / 0.5033 GB, free: 16.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.569e-05/0.3769, allocations: 3.938 kB / 0.5033 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.3771, allocations: 23.98 kB / 0.5033 GB, free: 16.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.3772, allocations: 31.91 kB / 0.5034 GB, free: 16.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.994e-05/0.3773, allocations: 8 kB / 0.5034 GB, free: 16.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.3774, allocations: 7.938 kB / 0.5034 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.3774, allocations: 7.984 kB / 0.5034 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.3774, allocations: 4 kB / 0.5034 GB, free: 16.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.3775, allocations: 31.97 kB / 0.5034 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.3776, allocations: 11.92 kB / 0.5034 GB, free: 16.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.182e-05/0.3776, allocations: 0 / 0.5034 GB, free: 16.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.3777, allocations: 43.88 kB / 0.5035 GB, free: 16.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3777, allocations: 0 / 0.5035 GB, free: 16.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.3777, allocations: 0 / 0.5035 GB, free: 16.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.3777, allocations: 4 kB / 0.5035 GB, free: 16.05 MB / 382.1 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.0004016/0.3781, allocations: 341.6 kB / 0.5038 GB, free: 15.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3782, allocations: 15.97 kB / 0.5038 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.3782, allocations: 8.844 kB / 0.5038 GB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.3783, allocations: 168.3 kB / 0.504 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3783, allocations: 384 / 0.504 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3783, allocations: 11.94 kB / 0.504 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3785, allocations: 45.67 kB / 0.504 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.3785, allocations: 7.938 kB / 0.504 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3785, allocations: 7.938 kB / 0.5041 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3786, allocations: 0 / 0.5041 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.3787, allocations: 39.94 kB / 0.5041 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002674/0.379, allocations: 244.9 kB / 0.5043 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.3791, allocations: 42.5 kB / 0.5044 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.3792, allocations: 24.89 kB / 0.5044 GB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-05/0.3793, allocations: 81.11 kB / 0.5045 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.612e-05/0.3793, allocations: 30.56 kB / 0.5045 GB, free: 14.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3793, allocations: 0 / 0.5045 GB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003264/0.3796, allocations: 89.58 kB / 0.5046 GB, free: 14.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.3797, allocations: 51.41 kB / 0.5046 GB, free: 14.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.343e-05/0.3797, allocations: 105.8 kB / 0.5047 GB, free: 14.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.3797, allocations: 25.7 kB / 0.5048 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.534e-05/0.3798, allocations: 84.05 kB / 0.5048 GB, free: 14.44 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.3798, allocations: 4 kB / 0.5048 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.3798, allocations: 17.84 kB / 0.5049 GB, free: 14.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.765e-05/0.3799, allocations: 322.8 kB / 0.5052 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.38, allocations: 19.98 kB / 0.5052 GB, free: 14.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.69e-05/0.38, allocations: 11.98 kB / 0.5052 GB, free: 14.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3802, allocations: 36.83 kB / 0.5052 GB, free: 14.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3802, allocations: 64 / 0.5052 GB, free: 14.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001682/0.3804, allocations: 81.5 kB / 0.5053 GB, free: 13.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.3804, allocations: 4 kB / 0.5053 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3804, allocations: 0 / 0.5053 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3804, allocations: 0 / 0.5053 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/0.3805, allocations: 11.98 kB / 0.5053 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3805, allocations: 0 / 0.5053 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.3806, allocations: 7.984 kB / 0.5053 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3806, allocations: 4.031 kB / 0.5053 GB, free: 13.9 MB / 382.1 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 () * 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 5.445e-05/0.3806, allocations: 109.8 kB / 0.5054 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.3807, allocations: 4 kB / 0.5054 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.3809, allocations: 72.73 kB / 0.5055 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3809, allocations: 4 kB / 0.5055 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3809, allocations: 3.938 kB / 0.5055 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3809, allocations: 3.938 kB / 0.5055 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.381, allocations: 169.9 kB / 0.5057 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.381, allocations: 4 kB / 0.5057 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.3811, allocations: 11.98 kB / 0.5057 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3811, allocations: 0 / 0.5057 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3811, allocations: 0 / 0.5057 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3811, allocations: 0 / 0.5057 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3811, allocations: 0 / 0.5057 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.3813, allocations: 175.3 kB / 0.5059 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.3813, allocations: 77.11 kB / 0.5059 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3814, allocations: 4 kB / 0.5059 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.3814, allocations: 3.984 kB / 0.5059 GB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.3815, allocations: 4 kB / 0.506 GB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3815, allocations: 0 / 0.506 GB, free: 13.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.459e-05/0.3815, allocations: 83.28 kB / 0.506 GB, free: 13.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.52e-07/0.3815, allocations: 0 / 0.506 GB, free: 13.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.3818, allocations: 23.89 kB / 0.5061 GB, free: 13.06 MB / 382.1 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 () * 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.000114/0.3819, allocations: 107.2 kB / 0.5062 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.3821, allocations: 31.97 kB / 0.5062 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3821, allocations: 0 / 0.5062 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.3822, allocations: 23.97 kB / 0.5062 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.3824, allocations: 8.125 kB / 0.5062 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.3827, allocations: 111.2 kB / 0.5063 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.3828, allocations: 0.677 MB / 0.507 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.302e-05/0.3829, allocations: 3.938 kB / 0.507 GB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.698e-05/0.3829, allocations: 7.438 kB / 0.507 GB, free: 12.03 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3829, allocations: 4 kB / 0.507 GB, free: 12.03 MB / 382.1 MB Notification: Performance of Templates: time 0.002416/0.3853, allocations: 0.5153 MB / 0.5075 GB, free: 11.52 MB / 382.1 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)