Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008779/0.000878, 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.0008652/0.0008651, allocations: 192.1 kB / 16.25 MB, free: 6.629 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.213/1.213, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.3/1.3, allocations: 251.7 MB / 0.5089 GB, free: 3.316 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.001285/0.001285, allocations: 63.89 kB / 0.6217 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4076, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002321/0.4099, allocations: 1.523 MB / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000801/0.4107, allocations: 0.6053 MB / 0.7261 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.4108, allocations: 0 / 0.7261 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.4108, allocations: 0 / 0.7261 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.4109, allocations: 3.938 kB / 0.7261 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.4111, allocations: 51.89 kB / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.536e-05/0.4112, allocations: 27.88 kB / 0.7261 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.914e-05/0.4113, allocations: 7.984 kB / 0.7261 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.945e-05/0.4114, allocations: 11.98 kB / 0.7262 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.359e-05/0.4114, allocations: 15.92 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.4114, allocations: 4 kB / 0.7262 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.734e-05/0.4115, allocations: 55.89 kB / 0.7262 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.4115, allocations: 3.938 kB / 0.7262 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.4116, allocations: 15.92 kB / 0.7263 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.4117, allocations: 63.86 kB / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4117, allocations: 0 / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4117, allocations: 0 / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.4117, allocations: 3.984 kB / 0.7263 GB, free: 10.7 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.000376/0.4121, allocations: 353.3 kB / 0.7267 GB, free: 10.31 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.4121, allocations: 8.031 kB / 0.7267 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.4122, allocations: 4.938 kB / 0.7267 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.4123, allocations: 176.2 kB / 0.7268 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-06/0.4123, allocations: 384 / 0.7268 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.4123, allocations: 8.375 kB / 0.7268 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.4124, allocations: 46 kB / 0.7269 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.4124, allocations: 0 / 0.7269 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.4125, allocations: 0 / 0.7269 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4125, allocations: 0 / 0.7269 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.588e-05/0.4125, allocations: 27.91 kB / 0.7269 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.4128, allocations: 252.8 kB / 0.7272 GB, free: 9.703 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.4129, allocations: 38.56 kB / 0.7272 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.413, allocations: 12.92 kB / 0.7272 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007082/0.4137, allocations: 473.4 kB / 0.7277 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.4137, allocations: 34.56 kB / 0.7277 GB, free: 9.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4137, allocations: 0 / 0.7277 GB, free: 9.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002079/0.4139, allocations: 73.52 kB / 0.7278 GB, free: 8.965 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.414, allocations: 51.41 kB / 0.7278 GB, free: 8.902 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.4141, allocations: 109.8 kB / 0.7279 GB, free: 8.785 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.4141, allocations: 29.7 kB / 0.7279 GB, free: 8.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/0.4141, allocations: 88.27 kB / 0.728 GB, free: 8.66 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.4141, allocations: 7.844 kB / 0.728 GB, free: 8.652 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.4142, allocations: 17.72 kB / 0.728 GB, free: 8.629 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4143, allocations: 314.8 kB / 0.7283 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.877e-05/0.4143, allocations: 12 kB / 0.7284 GB, free: 8.301 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.86e-05/0.4144, allocations: 7.984 kB / 0.7284 GB, free: 8.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.796e-05/0.4144, allocations: 28.84 kB / 0.7284 GB, free: 8.262 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4144, allocations: 4 kB / 0.7284 GB, free: 8.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001003/0.4145, allocations: 53.62 kB / 0.7285 GB, free: 8.199 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.4146, allocations: 10.03 kB / 0.7285 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.4146, allocations: 0 / 0.7285 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.4146, allocations: 0 / 0.7285 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.4147, allocations: 11.98 kB / 0.7285 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.4147, allocations: 0 / 0.7285 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.4147, allocations: 7.938 kB / 0.7285 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4147, allocations: 4 kB / 0.7285 GB, free: 8.168 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 6.717e-05/0.4148, allocations: 114.7 kB / 0.7286 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.4148, allocations: 4 kB / 0.7286 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.415, allocations: 65.14 kB / 0.7287 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.415, allocations: 0 / 0.7287 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.415, allocations: 0 / 0.7287 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.415, allocations: 0 / 0.7287 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.4151, allocations: 173.5 kB / 0.7288 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4151, allocations: 4.031 kB / 0.7288 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.4152, allocations: 4 kB / 0.7288 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4152, allocations: 7.922 kB / 0.7288 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.4152, allocations: 0 / 0.7288 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4152, allocations: 0 / 0.7288 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4152, allocations: 4 kB / 0.7288 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.4154, allocations: 147.5 kB / 0.729 GB, free: 7.574 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.4154, allocations: 81.14 kB / 0.7291 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.4154, allocations: 3.984 kB / 0.7291 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.296e-05/0.4155, allocations: 4 kB / 0.7291 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.4155, allocations: 0 / 0.7291 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.4155, allocations: 0 / 0.7291 GB, free: 7.469 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.4156, allocations: 95.2 kB / 0.7292 GB, free: 7.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4156, allocations: 0 / 0.7292 GB, free: 7.375 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002173/0.4158, allocations: 16 kB / 0.7292 GB, free: 7.359 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.0001442/0.4159, allocations: 119.2 kB / 0.7293 GB, free: 7.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001346/0.4161, allocations: 23.98 kB / 0.7293 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4161, allocations: 0 / 0.7293 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.4161, allocations: 11.98 kB / 0.7293 GB, free: 7.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.4163, allocations: 3.938 kB / 0.7293 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.4167, allocations: 142.6 kB / 0.7295 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.417, allocations: 0.6768 MB / 0.7301 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.4171, allocations: 0 / 0.7301 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.4171, allocations: 11.44 kB / 0.7301 GB, free: 6.316 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.4171, allocations: 0 / 0.7301 GB, free: 6.316 MB / 0.545 GB Notification: Performance of Templates: time 0.002786/0.4199, allocations: 0.653 MB / 0.7308 GB, free: 5.664 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)