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.001032/0.001032, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 195 kB / 16.53 MB, free: 6.664 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.215/1.215, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.357/1.357, allocations: 251.7 MB / 0.5092 GB, free: 3.062 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.001422/0.001422, allocations: 79.86 kB / 0.6223 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3907, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002413/0.3932, allocations: 1.438 MB / 0.7259 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003544/0.3936, allocations: 200.3 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.3936, allocations: 0 / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.3936, allocations: 0 / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.481e-05/0.3937, allocations: 3.938 kB / 0.7261 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.3939, allocations: 35.91 kB / 0.7261 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.43e-05/0.394, allocations: 19.94 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.007e-05/0.3941, allocations: 11.98 kB / 0.7262 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.3941, allocations: 11.92 kB / 0.7262 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.709e-05/0.3942, allocations: 15.92 kB / 0.7262 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.3942, allocations: 0 / 0.7262 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.46e-05/0.3942, allocations: 31.97 kB / 0.7262 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.3943, allocations: 4 kB / 0.7262 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.3943, allocations: 19.86 kB / 0.7263 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.807e-05/0.3944, allocations: 39.94 kB / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3944, allocations: 0 / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3944, allocations: 7.938 kB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3944, allocations: 0 / 0.7263 GB, free: 11.07 MB / 0.545 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.0004048/0.3948, allocations: 345.4 kB / 0.7266 GB, free: 10.69 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.3949, allocations: 11.97 kB / 0.7266 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.3949, allocations: 8.844 kB / 0.7266 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.395, allocations: 168.3 kB / 0.7268 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.395, allocations: 384 / 0.7268 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.3951, allocations: 384 / 0.7268 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.3952, allocations: 54.23 kB / 0.7269 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.3952, allocations: 192 / 0.7269 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3952, allocations: 7.938 kB / 0.7269 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3952, allocations: 0 / 0.7269 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3954, allocations: 27.97 kB / 0.7269 GB, free: 10.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.3957, allocations: 252.9 kB / 0.7271 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.3958, allocations: 42.5 kB / 0.7272 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.3959, allocations: 20.91 kB / 0.7272 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.327e-05/0.3959, allocations: 85.09 kB / 0.7273 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.396, allocations: 30.56 kB / 0.7273 GB, free: 9.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.396, allocations: 0 / 0.7273 GB, free: 9.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003203/0.3963, allocations: 93.48 kB / 0.7274 GB, free: 9.762 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.3963, allocations: 51.41 kB / 0.7274 GB, free: 9.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.3964, allocations: 101.9 kB / 0.7275 GB, free: 9.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.3964, allocations: 25.7 kB / 0.7276 GB, free: 9.559 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.35e-05/0.3965, allocations: 88.12 kB / 0.7276 GB, free: 9.469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.3965, allocations: 3.906 kB / 0.7277 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.3965, allocations: 13.84 kB / 0.7277 GB, free: 9.445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3967, allocations: 318.8 kB / 0.728 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.3967, allocations: 15.98 kB / 0.728 GB, free: 9.109 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.3968, allocations: 19.97 kB / 0.728 GB, free: 9.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.397, allocations: 36.83 kB / 0.728 GB, free: 9.051 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.397, allocations: 64 / 0.728 GB, free: 9.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001737/0.3971, allocations: 77.53 kB / 0.7281 GB, free: 8.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.3972, allocations: 4 kB / 0.7281 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3972, allocations: 0 / 0.7281 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.3972, allocations: 3.938 kB / 0.7281 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.418e-05/0.3973, allocations: 11.98 kB / 0.7281 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.3973, allocations: 0 / 0.7281 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.3973, allocations: 4 kB / 0.7281 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3973, allocations: 4.031 kB / 0.7281 GB, free: 8.941 MB / 0.545 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 5.962e-05/0.3974, allocations: 121.7 kB / 0.7283 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.3974, allocations: 4 kB / 0.7283 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.3976, allocations: 68.72 kB / 0.7283 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3976, allocations: 256 / 0.7283 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3977, allocations: 4 kB / 0.7283 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3977, allocations: 4 kB / 0.7283 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.3978, allocations: 169.6 kB / 0.7285 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.3978, allocations: 0 / 0.7285 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.3979, allocations: 4 kB / 0.7285 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3979, allocations: 4 kB / 0.7285 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.3979, allocations: 0 / 0.7285 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3979, allocations: 0 / 0.7285 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3979, allocations: 3.984 kB / 0.7285 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.3981, allocations: 167.4 kB / 0.7287 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.3981, allocations: 81.09 kB / 0.7287 GB, free: 8.227 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3981, allocations: 4 kB / 0.7287 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.458e-05/0.3982, allocations: 4 kB / 0.7288 GB, free: 8.219 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.3983, allocations: 7.984 kB / 0.7288 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.3983, allocations: 3.938 kB / 0.7288 GB, free: 8.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.533e-05/0.3983, allocations: 79.28 kB / 0.7288 GB, free: 8.129 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3983, allocations: 0 / 0.7288 GB, free: 8.129 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002089/0.3985, allocations: 16.03 kB / 0.7289 GB, free: 8.113 MB / 0.545 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.0001182/0.3986, allocations: 111.2 kB / 0.729 GB, free: 7.992 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001858/0.3988, allocations: 31.97 kB / 0.729 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3988, allocations: 0 / 0.729 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.3989, allocations: 19.98 kB / 0.729 GB, free: 7.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.3992, allocations: 16.05 kB / 0.729 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.3994, allocations: 117.4 kB / 0.7291 GB, free: 7.785 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.3996, allocations: 0.6729 MB / 0.7298 GB, free: 7.086 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.3996, allocations: 3.984 kB / 0.7298 GB, free: 7.082 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.544e-05/0.3997, allocations: 11.38 kB / 0.7298 GB, free: 7.07 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.3997, allocations: 0 / 0.7298 GB, free: 7.07 MB / 0.545 GB Notification: Performance of Templates: time 0.002469/0.4021, allocations: 0.5805 MB / 0.7304 GB, free: 6.5 MB / 0.545 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)