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.001411/0.001411, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001732/0.001732, allocations: 189.4 kB / 16.25 MB, free: 6.617 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.556/1.556, 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 1.6.0+build.1/package.mo): time 0.6396/0.6396, allocations: 95.47 MB / 364.9 MB, free: 10.01 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.001625/0.001625, allocations: 72.41 kB / 444.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3926, allocations: 69.07 MB / 0.5019 GB, free: 17.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002386/0.395, allocations: 1.503 MB / 0.5033 GB, free: 16.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008962/0.3959, allocations: 0.7452 MB / 0.5041 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.396, allocations: 0 / 0.5041 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.396, allocations: 3.938 kB / 0.5041 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.184e-05/0.3961, allocations: 4 kB / 0.5041 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.3964, allocations: 87.8 kB / 0.5042 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.186e-05/0.3965, allocations: 23.92 kB / 0.5042 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.3966, allocations: 4 kB / 0.5042 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.186e-05/0.3967, allocations: 23.92 kB / 0.5042 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.3968, allocations: 7.938 kB / 0.5042 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.3968, allocations: 0 / 0.5042 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.3969, allocations: 123.8 kB / 0.5043 GB, free: 15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.397, allocations: 7.984 kB / 0.5043 GB, free: 15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.397, allocations: 15.92 kB / 0.5044 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3972, allocations: 89.81 kB / 0.5044 GB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3972, allocations: 0 / 0.5044 GB, free: 14.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3972, allocations: 0 / 0.5044 GB, free: 14.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.3972, allocations: 4 kB / 0.5044 GB, free: 14.89 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.0003755/0.3976, allocations: 367.2 kB / 0.5048 GB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3976, allocations: 11.98 kB / 0.5048 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.3976, allocations: 4.922 kB / 0.5048 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.55e-05/0.3977, allocations: 172.3 kB / 0.505 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3978, allocations: 3.938 kB / 0.505 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.3978, allocations: 0 / 0.505 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.3979, allocations: 41.69 kB / 0.505 GB, free: 14.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3979, allocations: 11.88 kB / 0.505 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.3979, allocations: 4 kB / 0.505 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3979, allocations: 0 / 0.505 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.398, allocations: 19.98 kB / 0.505 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.3983, allocations: 252.9 kB / 0.5053 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.579e-05/0.3984, allocations: 34.56 kB / 0.5053 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.158e-05/0.3984, allocations: 16.92 kB / 0.5053 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006762/0.3991, allocations: 1.35 MB / 0.5067 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.3991, allocations: 38.5 kB / 0.5067 GB, free: 12.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3992, allocations: 0 / 0.5067 GB, free: 12.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002103/0.3994, allocations: 61.67 kB / 0.5068 GB, free: 12.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.3994, allocations: 51.41 kB / 0.5068 GB, free: 11.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.313e-05/0.3995, allocations: 113.8 kB / 0.5069 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3995, allocations: 25.7 kB / 0.5069 GB, free: 11.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.3995, allocations: 84.05 kB / 0.507 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.3995, allocations: 15.92 kB / 0.507 GB, free: 11.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.3995, allocations: 9.719 kB / 0.507 GB, free: 11.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.3996, allocations: 322.9 kB / 0.5073 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.841e-05/0.3996, allocations: 11.98 kB / 0.5074 GB, free: 11.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.3997, allocations: 11.94 kB / 0.5074 GB, free: 11.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.353e-05/0.3997, allocations: 24.84 kB / 0.5074 GB, free: 11.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3998, allocations: 0 / 0.5074 GB, free: 11.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.258e-05/0.3999, allocations: 61.58 kB / 0.5075 GB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.3999, allocations: 8.094 kB / 0.5075 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3999, allocations: 0 / 0.5075 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3999, allocations: 3.938 kB / 0.5075 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.428e-05/0.4, allocations: 8 kB / 0.5075 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.4, allocations: 0 / 0.5075 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.4, allocations: 3.938 kB / 0.5075 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.4, allocations: 0 / 0.5075 GB, free: 11.24 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 4.459e-05/0.4001, allocations: 117.8 kB / 0.5076 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.4001, allocations: 0 / 0.5076 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.4002, allocations: 69.16 kB / 0.5077 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.4002, allocations: 4 kB / 0.5077 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4002, allocations: 0 / 0.5077 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4003, allocations: 3.938 kB / 0.5077 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.4004, allocations: 153.7 kB / 0.5078 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4004, allocations: 0 / 0.5078 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.4004, allocations: 11.98 kB / 0.5078 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4004, allocations: 4 kB / 0.5078 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.4004, allocations: 0 / 0.5078 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4004, allocations: 4.031 kB / 0.5078 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4004, allocations: 7.922 kB / 0.5078 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.4006, allocations: 159.3 kB / 0.508 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.4006, allocations: 81.11 kB / 0.5081 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.4006, allocations: 0 / 0.5081 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.4007, allocations: 0 / 0.5081 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.4007, allocations: 8.031 kB / 0.5081 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.4007, allocations: 7.922 kB / 0.5081 GB, free: 10.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.598e-05/0.4007, allocations: 83.28 kB / 0.5082 GB, free: 10.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4008, allocations: 4 kB / 0.5082 GB, free: 10.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000218/0.401, allocations: 23.98 kB / 0.5082 GB, free: 10.41 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.0001278/0.4011, allocations: 111.2 kB / 0.5083 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.4012, allocations: 27.92 kB / 0.5083 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4012, allocations: 4.062 kB / 0.5083 GB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.4013, allocations: 11.98 kB / 0.5083 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.4015, allocations: 7.938 kB / 0.5083 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.4017, allocations: 130.5 kB / 0.5085 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.4018, allocations: 0.6768 MB / 0.5091 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.216e-05/0.4019, allocations: 8.062 kB / 0.5091 GB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.4019, allocations: 11.42 kB / 0.5091 GB, free: 9.367 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4019, allocations: 0 / 0.5091 GB, free: 9.367 MB / 382.1 MB Notification: Performance of Templates: time 0.002293/0.4042, allocations: 0.6206 MB / 0.5098 GB, free: 8.75 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (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)