Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") translateModel(Buildings.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.74/1.74, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009696/0.0009697, allocations: 184.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 0.6626 GB, free: 4.289 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008638/0.0008641, allocations: 93.7 kB / 0.7808 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000561/0.0005611, allocations: 19.94 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8486/0.8492, allocations: 120.3 MB / 1.026 GB, free: 55.81 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/1.082, allocations: 141.9 MB / 1.165 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.082, allocations: 72.61 kB / 1.165 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004741/1.087, allocations: 1.437 MB / 1.166 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.066e-06/1.087, allocations: 4 kB / 1.166 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.107e-06/1.087, allocations: 0 / 1.166 GB, free: 0.5234 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.0003686/1.087, allocations: 353.3 kB / 1.167 GB, free: 140 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.087, allocations: 13.48 kB / 1.167 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/1.087, allocations: 1.562 kB / 1.167 GB, free: 128 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/1.088, allocations: 177.5 kB / 1.167 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/1.088, allocations: 2.094 kB / 1.167 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/1.088, allocations: 5.016 kB / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/1.088, allocations: 47.58 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.088, allocations: 1.484 kB / 1.167 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/1.088, allocations: 5.344 kB / 1.167 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/1.088, allocations: 1.266 kB / 1.167 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/1.088, allocations: 26.52 kB / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/1.088, allocations: 250.9 kB / 1.167 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/1.089, allocations: 41.36 kB / 1.167 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/1.089, allocations: 14.66 kB / 1.167 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007163/1.089, allocations: 473.5 kB / 1.168 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/1.089, allocations: 32.88 kB / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.023e-06/1.089, allocations: 0 / 1.168 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002789/1.09, allocations: 69.83 kB / 1.168 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/1.09, allocations: 52.56 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/1.09, allocations: 110.2 kB / 1.168 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/1.09, allocations: 26.83 kB / 1.168 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/1.09, allocations: 93.91 kB / 1.168 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/1.09, allocations: 0.6094 kB / 1.168 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/1.09, allocations: 1.156 kB / 1.168 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.09, allocations: 312.6 kB / 1.168 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.119e-05/1.09, allocations: 15.69 kB / 1.168 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/1.09, allocations: 10.02 kB / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/1.09, allocations: 34.58 kB / 1.168 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.09, allocations: 0 / 1.168 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001571/1.091, allocations: 64.84 kB / 1.169 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/1.091, allocations: 10.41 kB / 1.169 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.091, allocations: 8.062 kB / 1.169 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.091, allocations: 1.453 kB / 1.169 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/1.091, allocations: 5.219 kB / 1.169 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.091, allocations: 1.672 kB / 1.169 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.803e-05/1.091, allocations: 4.656 kB / 1.169 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/1.091, allocations: 0.6562 kB / 1.169 GB, free: 14.12 MB / 0.7448 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 0.0001092/1.091, allocations: 116.7 kB / 1.169 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/1.091, allocations: 2.109 kB / 1.169 GB, free: 14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/1.091, allocations: 66.34 kB / 1.169 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.091, allocations: 0.6562 kB / 1.169 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.091, allocations: 5.875 kB / 1.169 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.091, allocations: 0 / 1.169 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/1.091, allocations: 165.9 kB / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/1.091, allocations: 0 / 1.169 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.366e-05/1.092, allocations: 17.34 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.092, allocations: 1.062 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/1.092, allocations: 0.7031 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.092, allocations: 2.406 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.092, allocations: 1.109 kB / 1.169 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/1.092, allocations: 156.8 kB / 1.169 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/1.092, allocations: 81.62 kB / 1.169 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/1.092, allocations: 2.484 kB / 1.169 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/1.092, allocations: 5.953 kB / 1.169 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/1.092, allocations: 6.344 kB / 1.169 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/1.092, allocations: 0.5625 kB / 1.169 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.734e-05/1.092, allocations: 86.44 kB / 1.169 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/1.092, allocations: 0 / 1.169 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000248/1.092, allocations: 25.94 kB / 1.169 GB, free: 13.35 MB / 0.7448 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.0002306/1.093, allocations: 116.7 kB / 1.169 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000155/1.093, allocations: 32.53 kB / 1.169 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.093, allocations: 352 / 1.169 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/1.093, allocations: 14.34 kB / 1.169 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/1.093, allocations: 11.42 kB / 1.169 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003656/1.093, allocations: 139 kB / 1.17 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/1.094, allocations: 0.6808 MB / 1.17 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.283e-05/1.094, allocations: 5.609 kB / 1.17 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/1.094, allocations: 12 kB / 1.17 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/1.094, allocations: 3.938 kB / 1.17 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of Templates: time 0.003089/1.097, allocations: 0.5993 MB / 1.171 GB, free: 11.97 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)