Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001019/0.00102, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007333/0.007334, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.721/1.721, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.6318/0.6318, allocations: 95.62 MB / 366.4 MB, free: 10.24 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.000654/0.0006539, allocations: 12 kB / 447.5 MB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4006, allocations: 70.34 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.001569/0.4023, allocations: 1.157 MB / 0.5068 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.4034, allocations: 0.7375 MB / 0.5075 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.4034, allocations: 0 / 0.5075 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.4035, allocations: 7.922 kB / 0.5075 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.4035, allocations: 0 / 0.5075 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.4039, allocations: 75.8 kB / 0.5076 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.461e-05/0.404, allocations: 23.94 kB / 0.5076 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.4041, allocations: 7.984 kB / 0.5076 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.4042, allocations: 11.94 kB / 0.5076 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.4043, allocations: 15.86 kB / 0.5077 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.4043, allocations: 0 / 0.5077 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.4046, allocations: 127.9 kB / 0.5078 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.647e-05/0.4046, allocations: 8 kB / 0.5078 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.4046, allocations: 33.64 kB / 0.5078 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.4048, allocations: 93.78 kB / 0.5079 GB, free: 14.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4048, allocations: 0 / 0.5079 GB, free: 14.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4049, allocations: 0 / 0.5079 GB, free: 14.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.4049, allocations: 0 / 0.5079 GB, free: 14.03 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.0004456/0.4053, allocations: 359.4 kB / 0.5082 GB, free: 13.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4054, allocations: 11.98 kB / 0.5083 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.4054, allocations: 16.84 kB / 0.5083 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.4055, allocations: 168.3 kB / 0.5084 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.4055, allocations: 7.922 kB / 0.5084 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.4056, allocations: 4 kB / 0.5084 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.4057, allocations: 49.56 kB / 0.5085 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4057, allocations: 0 / 0.5085 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4057, allocations: 0 / 0.5085 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4058, allocations: 4 kB / 0.5085 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.526e-05/0.4058, allocations: 23.98 kB / 0.5085 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.4062, allocations: 252.9 kB / 0.5088 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.593e-05/0.4063, allocations: 30.58 kB / 0.5088 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.4063, allocations: 20.91 kB / 0.5088 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/0.407, allocations: 1.358 MB / 0.5101 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.4071, allocations: 34.56 kB / 0.5102 GB, free: 11.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.4071, allocations: 0 / 0.5102 GB, free: 11.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000244/0.4073, allocations: 69.67 kB / 0.5102 GB, free: 11.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.4073, allocations: 55.41 kB / 0.5103 GB, free: 11.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.4074, allocations: 105.8 kB / 0.5104 GB, free: 10.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.4074, allocations: 25.7 kB / 0.5104 GB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.4075, allocations: 88.14 kB / 0.5105 GB, free: 10.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.4075, allocations: 7.844 kB / 0.5105 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.4075, allocations: 9.719 kB / 0.5105 GB, free: 10.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.4076, allocations: 322.9 kB / 0.5108 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.11e-05/0.4077, allocations: 15.94 kB / 0.5108 GB, free: 10.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.142e-05/0.4077, allocations: 11.98 kB / 0.5108 GB, free: 10.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.371e-05/0.4078, allocations: 32.84 kB / 0.5109 GB, free: 10.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4078, allocations: 4.062 kB / 0.5109 GB, free: 10.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/0.4079, allocations: 57.59 kB / 0.5109 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4079, allocations: 8 kB / 0.5109 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4079, allocations: 0 / 0.5109 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4079, allocations: 0 / 0.5109 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.408, allocations: 4 kB / 0.5109 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.408, allocations: 7.922 kB / 0.511 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.221e-05/0.4081, allocations: 11.97 kB / 0.511 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4081, allocations: 0 / 0.511 GB, free: 10.35 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.593e-05/0.4081, allocations: 113.8 kB / 0.5111 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.4082, allocations: 0 / 0.5111 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.4083, allocations: 69.16 kB / 0.5111 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4083, allocations: 0 / 0.5111 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4083, allocations: 4.031 kB / 0.5111 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4083, allocations: 7.938 kB / 0.5112 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.4085, allocations: 161.7 kB / 0.5113 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4085, allocations: 0 / 0.5113 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.4085, allocations: 8 kB / 0.5113 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.4085, allocations: 0 / 0.5113 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4085, allocations: 0 / 0.5113 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4085, allocations: 7.922 kB / 0.5113 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4086, allocations: 0 / 0.5113 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.4087, allocations: 159.3 kB / 0.5115 GB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.4087, allocations: 85.09 kB / 0.5116 GB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.4087, allocations: 4 kB / 0.5116 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.4088, allocations: 7.984 kB / 0.5116 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.4088, allocations: 4 kB / 0.5116 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.4089, allocations: 3.938 kB / 0.5116 GB, free: 9.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.4089, allocations: 91.3 kB / 0.5117 GB, free: 9.539 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4089, allocations: 0 / 0.5117 GB, free: 9.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.4091, allocations: 16 kB / 0.5117 GB, free: 9.523 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.0001616/0.4093, allocations: 119.2 kB / 0.5118 GB, free: 9.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.4094, allocations: 27.92 kB / 0.5118 GB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4094, allocations: 0 / 0.5118 GB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.067e-05/0.4095, allocations: 16.06 kB / 0.5118 GB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.4097, allocations: 6.188 kB / 0.5118 GB, free: 9.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.41, allocations: 136.5 kB / 0.512 GB, free: 9.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.4101, allocations: 0.6809 MB / 0.5126 GB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.377e-05/0.4102, allocations: 4.062 kB / 0.5126 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.4102, allocations: 7.438 kB / 0.5126 GB, free: 8.473 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4102, allocations: 0 / 0.5126 GB, free: 8.473 MB / 382.1 MB Notification: Performance of Templates: time 0.003019/0.4132, allocations: 0.6064 MB / 0.5132 GB, free: 7.867 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: