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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.529/0.529, allocations: 95.62 MB / 110.6 MB, free: 9.402 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001154/0.001154, allocations: 169.9 kB / 134.2 MB, free: 2.281 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.306/1.306, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00182/0.00182, allocations: 118.8 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 61.52 MB / 0.512 GB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/0.5222, allocations: 95.01 MB / 0.6047 GB, free: 12.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.5225, allocations: 77.45 kB / 0.6048 GB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006075/0.5286, allocations: 1.954 MB / 0.6067 GB, free: 10.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5287, allocations: 0 / 0.6067 GB, free: 10.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.5287, allocations: 0 / 0.6067 GB, free: 10.5 MB / 410.7 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.0005397/0.5293, allocations: 374.4 kB / 0.6071 GB, free: 10.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.5293, allocations: 11.98 kB / 0.6071 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.5294, allocations: 4 kB / 0.6071 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.5296, allocations: 170.9 kB / 0.6073 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.5296, allocations: 4 kB / 0.6073 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.5296, allocations: 7 kB / 0.6073 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.5298, allocations: 48.38 kB / 0.6073 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5298, allocations: 0 / 0.6073 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.5299, allocations: 0 / 0.6073 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.5299, allocations: 4 kB / 0.6073 GB, free: 9.809 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.53, allocations: 18.98 kB / 0.6073 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.5305, allocations: 258.8 kB / 0.6076 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.5306, allocations: 34.52 kB / 0.6076 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/0.5317, allocations: 1.354 MB / 0.6089 GB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.5318, allocations: 38.56 kB / 0.609 GB, free: 7.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.5318, allocations: 0 / 0.609 GB, free: 7.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002504/0.532, allocations: 68.92 kB / 0.609 GB, free: 7.684 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.5321, allocations: 59.34 kB / 0.6091 GB, free: 7.613 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.822e-05/0.5322, allocations: 107.2 kB / 0.6092 GB, free: 7.508 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.5322, allocations: 25.7 kB / 0.6092 GB, free: 7.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.5323, allocations: 87.67 kB / 0.6093 GB, free: 7.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.5323, allocations: 4 kB / 0.6093 GB, free: 7.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.5323, allocations: 3.938 kB / 0.6093 GB, free: 7.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.5324, allocations: 314.3 kB / 0.6096 GB, free: 7.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.5325, allocations: 11.98 kB / 0.6096 GB, free: 7.059 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-05/0.5325, allocations: 15.25 kB / 0.6096 GB, free: 7.047 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.5326, allocations: 14.55 kB / 0.6097 GB, free: 7.035 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5326, allocations: 0 / 0.6097 GB, free: 7.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001276/0.5327, allocations: 68.36 kB / 0.6097 GB, free: 6.969 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.5328, allocations: 5.562 kB / 0.6097 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.5328, allocations: 0 / 0.6097 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.5328, allocations: 8.094 kB / 0.6097 GB, free: 6.957 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.5329, allocations: 7.984 kB / 0.6097 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.5329, allocations: 0 / 0.6097 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.5329, allocations: 4 kB / 0.6097 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.533, allocations: 0 / 0.6097 GB, free: 6.945 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.15e-05/0.5331, allocations: 105.8 kB / 0.6099 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.5331, allocations: 11.02 kB / 0.6099 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.5333, allocations: 71.22 kB / 0.6099 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5333, allocations: 3.938 kB / 0.6099 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5334, allocations: 0 / 0.6099 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.5334, allocations: 7.969 kB / 0.6099 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.5336, allocations: 160.1 kB / 0.6101 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.5336, allocations: 0 / 0.6101 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.305e-05/0.5337, allocations: 7.984 kB / 0.6101 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5337, allocations: 0 / 0.6101 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.5337, allocations: 7.953 kB / 0.6101 GB, free: 6.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5337, allocations: 4.031 kB / 0.6101 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.5337, allocations: 0 / 0.6101 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.5339, allocations: 150.5 kB / 0.6103 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.534, allocations: 89.03 kB / 0.6103 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.534, allocations: 0 / 0.6103 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.556e-05/0.5341, allocations: 11.98 kB / 0.6104 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.5341, allocations: 7.922 kB / 0.6104 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.5341, allocations: 0 / 0.6104 GB, free: 6.246 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.795e-05/0.5342, allocations: 93.97 kB / 0.6104 GB, free: 6.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5342, allocations: 0 / 0.6104 GB, free: 6.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002669/0.5345, allocations: 23.98 kB / 0.6105 GB, free: 6.137 MB / 410.7 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 (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.0001858/0.5347, allocations: 127.1 kB / 0.6106 GB, free: 6.004 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.5348, allocations: 31.3 kB / 0.6106 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5348, allocations: 0 / 0.6106 GB, free: 5.977 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.252e-05/0.5349, allocations: 11.5 kB / 0.6106 GB, free: 5.969 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.535, allocations: 0 / 0.6106 GB, free: 5.969 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.5353, allocations: 155.7 kB / 0.6108 GB, free: 5.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.5356, allocations: 0.6809 MB / 0.6114 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.574e-05/0.5356, allocations: 4 kB / 0.6115 GB, free: 5.082 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.5357, allocations: 7.438 kB / 0.6115 GB, free: 5.074 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5357, allocations: 0 / 0.6115 GB, free: 5.074 MB / 410.7 MB Notification: Performance of Templates: time 0.002505/0.5382, allocations: 0.5859 MB / 0.612 GB, free: 4.5 MB / 410.7 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)