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.00114/0.00114, allocations: 108 kB / 15.6 MB, free: 132 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.001219/0.001219, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.526/1.526, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.6565/0.6565, allocations: 95.49 MB / 365.2 MB, free: 9.898 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.001861/0.001861, allocations: 67.91 kB / 445.3 MB, free: 9.633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3334, allocations: 69.07 MB / 0.5024 GB, free: 17.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002983/0.3364, allocations: 1.424 MB / 0.5037 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3376, allocations: 0.7412 MB / 0.5045 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.3376, allocations: 3.938 kB / 0.5045 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.999e-05/0.3377, allocations: 11.92 kB / 0.5045 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.663e-05/0.3378, allocations: 7.938 kB / 0.5045 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.3382, allocations: 95.66 kB / 0.5046 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.276e-05/0.3383, allocations: 23.92 kB / 0.5046 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3384, allocations: 8 kB / 0.5046 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.866e-05/0.3385, allocations: 15.91 kB / 0.5046 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.409e-05/0.3385, allocations: 11.94 kB / 0.5046 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.3386, allocations: 4 kB / 0.5046 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.3387, allocations: 123.9 kB / 0.5048 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.3388, allocations: 11.94 kB / 0.5048 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.3388, allocations: 11.92 kB / 0.5048 GB, free: 15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.339, allocations: 93.8 kB / 0.5049 GB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.339, allocations: 0 / 0.5049 GB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.339, allocations: 0 / 0.5049 GB, free: 14.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.339, allocations: 0 / 0.5049 GB, free: 14.91 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.000415/0.3394, allocations: 367.2 kB / 0.5052 GB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3394, allocations: 11.98 kB / 0.5052 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.292e-05/0.3395, allocations: 8.938 kB / 0.5052 GB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.607e-05/0.3396, allocations: 168.3 kB / 0.5054 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3396, allocations: 3.938 kB / 0.5054 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/0.3396, allocations: 4 kB / 0.5054 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.3398, allocations: 41.69 kB / 0.5055 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3398, allocations: 0 / 0.5055 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3398, allocations: 0 / 0.5055 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3398, allocations: 3.984 kB / 0.5055 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.3399, allocations: 23.92 kB / 0.5055 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.3402, allocations: 264.8 kB / 0.5057 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.431e-05/0.3403, allocations: 30.56 kB / 0.5058 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.3404, allocations: 8.922 kB / 0.5058 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/0.3411, allocations: 1.362 MB / 0.5071 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.3411, allocations: 30.56 kB / 0.5071 GB, free: 12.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.3411, allocations: 0 / 0.5071 GB, free: 12.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002443/0.3414, allocations: 69.61 kB / 0.5072 GB, free: 12.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.3414, allocations: 51.53 kB / 0.5072 GB, free: 11.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.3415, allocations: 113.8 kB / 0.5074 GB, free: 11.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.3415, allocations: 29.7 kB / 0.5074 GB, free: 11.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.051e-05/0.3415, allocations: 88.05 kB / 0.5075 GB, free: 11.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.3415, allocations: 7.922 kB / 0.5075 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.3416, allocations: 17.72 kB / 0.5075 GB, free: 11.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.3416, allocations: 314.8 kB / 0.5078 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.3417, allocations: 11.98 kB / 0.5078 GB, free: 11.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.3417, allocations: 12 kB / 0.5078 GB, free: 11.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.03e-05/0.3418, allocations: 28.78 kB / 0.5078 GB, free: 11.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3418, allocations: 0 / 0.5078 GB, free: 11.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000103/0.3419, allocations: 57.59 kB / 0.5079 GB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3419, allocations: 7.984 kB / 0.5079 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.342, allocations: 4 kB / 0.5079 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.342, allocations: 0 / 0.5079 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.3421, allocations: 8.094 kB / 0.5079 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3421, allocations: 3.938 kB / 0.5079 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.3421, allocations: 3.938 kB / 0.5079 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.3421, allocations: 8 kB / 0.5079 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 5.323e-05/0.3422, allocations: 109.8 kB / 0.508 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.3422, allocations: 4 kB / 0.508 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.3424, allocations: 69.09 kB / 0.5081 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3424, allocations: 4.031 kB / 0.5081 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3424, allocations: 0 / 0.5081 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3424, allocations: 3.938 kB / 0.5081 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3425, allocations: 157.7 kB / 0.5083 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3425, allocations: 0 / 0.5083 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.965e-05/0.3426, allocations: 7.984 kB / 0.5083 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3426, allocations: 0 / 0.5083 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3426, allocations: 0 / 0.5083 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3426, allocations: 0 / 0.5083 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3426, allocations: 0 / 0.5083 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.3427, allocations: 167.3 kB / 0.5084 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.3428, allocations: 77.11 kB / 0.5085 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3428, allocations: 0 / 0.5085 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.912e-05/0.3429, allocations: 7.938 kB / 0.5085 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.3429, allocations: 0 / 0.5085 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.3429, allocations: 7.922 kB / 0.5085 GB, free: 10.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.499e-05/0.343, allocations: 87.28 kB / 0.5086 GB, free: 10.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.343, allocations: 4.031 kB / 0.5086 GB, free: 10.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.3432, allocations: 12 kB / 0.5086 GB, free: 10.43 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.0001877/0.3434, allocations: 119.2 kB / 0.5087 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.3436, allocations: 19.98 kB / 0.5088 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3436, allocations: 0 / 0.5088 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.35e-05/0.3436, allocations: 15.92 kB / 0.5088 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.3438, allocations: 8 kB / 0.5088 GB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.3442, allocations: 134.5 kB / 0.5089 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.3443, allocations: 0.6807 MB / 0.5096 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.323e-05/0.3444, allocations: 0 / 0.5096 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.3444, allocations: 11.44 kB / 0.5096 GB, free: 9.387 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3444, allocations: 0 / 0.5096 GB, free: 9.387 MB / 382.1 MB Notification: Performance of Templates: time 0.00314/0.3476, allocations: 0.651 MB / 0.5102 GB, free: 8.742 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)