Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 289.9 MB / 297.4 MB, free: 6.344 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.001253/0.001253, allocations: 176.8 kB / 366.7 MB, free: 1.641 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.375/1.375, allocations: 205.2 MB / 0.626 GB, free: 7.16 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.0009279/0.0009279, allocations: 89.62 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.506e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.6728, allocations: 116.3 MB / 0.9733 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.8707, allocations: 138.4 MB / 1.108 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.8709, allocations: 76.75 kB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003079/0.874, allocations: 1.138 MB / 1.11 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.372e-06/0.874, allocations: 0.5312 kB / 1.11 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.874, allocations: 1.469 kB / 1.11 GB, free: 10.6 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003639/0.8744, allocations: 351.1 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.8745, allocations: 12.89 kB / 1.11 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007992/0.8753, allocations: 189.8 kB / 1.11 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.8754, allocations: 171 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.8754, allocations: 1.406 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.8754, allocations: 4 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002234/0.8757, allocations: 123.8 kB / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.8759, allocations: 101.6 kB / 1.111 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.8759, allocations: 0 / 1.111 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.8759, allocations: 1.812 kB / 1.111 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8759, allocations: 2.531 kB / 1.111 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009162/0.8768, allocations: 433 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/0.8772, allocations: 156.4 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.8773, allocations: 48.98 kB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.8773, allocations: 6.797 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.8774, allocations: 34.56 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.8774, allocations: 0 / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002475/0.8776, allocations: 109.5 kB / 1.111 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.8777, allocations: 55.36 kB / 1.111 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.781e-05/0.8777, allocations: 102.3 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.8778, allocations: 25.7 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.8778, allocations: 96.06 kB / 1.112 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.8779, allocations: 7.812 kB / 1.112 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.8779, allocations: 0 / 1.112 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.878, allocations: 322.8 kB / 1.112 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.247e-05/0.8781, allocations: 39.97 kB / 1.112 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.8782, allocations: 47.97 kB / 1.112 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/0.8782, allocations: 27.38 kB / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.8782, allocations: 0 / 1.112 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000166/0.8784, allocations: 109.6 kB / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.8784, allocations: 4 kB / 1.112 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.8784, allocations: 3.984 kB / 1.112 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.8784, allocations: 0 / 1.112 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.8787, allocations: 43.95 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.8787, allocations: 2.344 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.8789, allocations: 43.84 kB / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.879, allocations: 0 / 1.112 GB, free: 7.82 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.254e-05/0.879, allocations: 108.9 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.8791, allocations: 8 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.8791, allocations: 10.78 kB / 1.112 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.8791, allocations: 4 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8791, allocations: 0 / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8791, allocations: 0 / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.8794, allocations: 187.8 kB / 1.112 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8794, allocations: 0 / 1.112 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.8796, allocations: 43.95 kB / 1.113 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.8796, allocations: 0 / 1.113 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.8796, allocations: 0 / 1.113 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.8796, allocations: 4 kB / 1.113 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.8797, allocations: 3.984 kB / 1.113 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.8799, allocations: 199.5 kB / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.8799, allocations: 85.11 kB / 1.113 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.945e-05/0.88, allocations: 0 / 1.113 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.8802, allocations: 31.95 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.8802, allocations: 11.98 kB / 1.113 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.8803, allocations: 1.688 kB / 1.113 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.8803, allocations: 91.23 kB / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8803, allocations: 4 kB / 1.113 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002438/0.8806, allocations: 15.91 kB / 1.113 GB, free: 6.941 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001245/0.8807, allocations: 91.25 kB / 1.113 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001897/0.8809, allocations: 95.92 kB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8809, allocations: 0 / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.97e-05/0.881, allocations: 43.97 kB / 1.113 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.8812, allocations: 12.69 kB / 1.113 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006171/0.8818, allocations: 172.6 kB / 1.113 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.8821, allocations: 0.6963 MB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.644e-05/0.8822, allocations: 16 kB / 1.114 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.184e-05/0.8823, allocations: 15.36 kB / 1.114 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8823, allocations: 4 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of Templates: time 0.002466/0.8848, allocations: 0.7079 MB / 1.115 GB, free: 5.066 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)