Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 293 MB / 309 MB, free: 4.828 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000955/0.000955, allocations: 168.5 kB / 378.7 MB, free: 1.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.4 MB / 0.6383 GB, free: 8.133 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000744/0.0007439, allocations: 105.2 kB / 0.7527 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.000357, allocations: 16 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2208, allocations: 116.4 MB / 0.9904 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5966/0.8174, allocations: 139.8 MB / 1.127 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.8177, allocations: 76.17 kB / 1.127 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003682/0.8214, allocations: 1.397 MB / 1.128 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8214, allocations: 0 / 1.128 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8214, allocations: 4 kB / 1.128 GB, free: 33 MB / 0.7292 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.0002691/0.8217, allocations: 352.6 kB / 1.129 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.8217, allocations: 12.03 kB / 1.129 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.8218, allocations: 2.906 kB / 1.129 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.925e-05/0.8219, allocations: 172.8 kB / 1.129 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.8219, allocations: 3.25 kB / 1.129 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.8219, allocations: 384 / 1.129 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.822, allocations: 53.84 kB / 1.129 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.822, allocations: 192 / 1.129 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.8221, allocations: 3.938 kB / 1.129 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.8221, allocations: 1.016 kB / 1.129 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.8221, allocations: 27.42 kB / 1.129 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.8224, allocations: 246.8 kB / 1.129 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.8225, allocations: 42.06 kB / 1.129 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.8226, allocations: 25.33 kB / 1.129 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/0.8231, allocations: 466 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.8232, allocations: 35.12 kB / 1.13 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.8232, allocations: 0 / 1.13 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002267/0.8234, allocations: 72.41 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.8234, allocations: 51.41 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.8235, allocations: 105.4 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.8235, allocations: 35.83 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.8236, allocations: 88.14 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.8236, allocations: 7.984 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.8236, allocations: 0 / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.444e-05/0.8237, allocations: 314.8 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.8237, allocations: 11.47 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/0.8237, allocations: 12 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.829e-05/0.8238, allocations: 32.39 kB / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8238, allocations: 0 / 1.131 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001006/0.8239, allocations: 61.05 kB / 1.131 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.824, allocations: 9.719 kB / 1.131 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.824, allocations: 0 / 1.131 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.824, allocations: 4.031 kB / 1.131 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.8241, allocations: 7.938 kB / 1.131 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8241, allocations: 3.516 kB / 1.131 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/0.8241, allocations: 5.312 kB / 1.131 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.8241, allocations: 0 / 1.131 GB, free: 30.58 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.8242, allocations: 121.8 kB / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.8242, allocations: 0 / 1.131 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.8243, allocations: 69.11 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.8244, allocations: 4.125 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8244, allocations: 4.031 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.8244, allocations: 4 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.8245, allocations: 161.1 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8245, allocations: 3.891 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.8245, allocations: 8 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.8245, allocations: 0 / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-06/0.8246, allocations: 8.531 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.8246, allocations: 0.5 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8246, allocations: 0 / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.8247, allocations: 150.2 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.8247, allocations: 81.11 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.8247, allocations: 7.906 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.354e-05/0.8248, allocations: 8.656 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.8248, allocations: 1.594 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.8248, allocations: 0 / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.8249, allocations: 94.73 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8249, allocations: 0 / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002219/0.8251, allocations: 19.94 kB / 1.131 GB, free: 29.79 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.8252, allocations: 118.5 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.8254, allocations: 35.97 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.8254, allocations: 0 / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.8254, allocations: 11.33 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.8256, allocations: 8.641 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.8259, allocations: 144.7 kB / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.826, allocations: 0.6819 MB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.826, allocations: 0 / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.826, allocations: 11.44 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.826, allocations: 0 / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.00213/0.8282, allocations: 0.6048 MB / 1.133 GB, free: 28.41 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)