Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.87/3.87, allocations: 251.1 MB / 266.7 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003419/0.003419, allocations: 184.3 kB / 326.2 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.906/3.906, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 93.62 kB / 0.6817 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008422/0.0008424, allocations: 13 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3329, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3703/0.7033, allocations: 131.7 MB / 1.028 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004786/0.7038, allocations: 71.97 kB / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008617/0.7125, allocations: 1.154 MB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.277e-06/0.7126, allocations: 3.938 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.929e-06/0.7126, allocations: 0 / 1.029 GB, free: 12.39 MB / 0.6823 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.0008166/0.7134, allocations: 361.4 kB / 1.03 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.7135, allocations: 12.03 kB / 1.03 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002356/0.7159, allocations: 192.5 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.7162, allocations: 172.3 kB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.7162, allocations: 4.375 kB / 1.03 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.981e-05/0.7163, allocations: 4.375 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.7179, allocations: 214 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.718, allocations: 192 / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.718, allocations: 7.938 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.718, allocations: 0 / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.7206, allocations: 315.6 kB / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00238/0.7231, allocations: 461.2 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/0.7266, allocations: 346.1 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.7277, allocations: 124.8 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-05/0.7278, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.7279, allocations: 30.56 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 3.356e-06/0.7279, allocations: 0 / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.003477/0.7314, allocations: 369.2 kB / 1.032 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.7315, allocations: 55.41 kB / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.7318, allocations: 121.8 kB / 1.032 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.7319, allocations: 25.7 kB / 1.032 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.732, allocations: 88.14 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.7321, allocations: 15.75 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.7321, allocations: 0 / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002295/0.7324, allocations: 322.8 kB / 1.032 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/0.7335, allocations: 115.9 kB / 1.033 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.7346, allocations: 111.9 kB / 1.033 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.7357, allocations: 103.8 kB / 1.033 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.7358, allocations: 0 / 1.033 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00241/0.7382, allocations: 257.4 kB / 1.033 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.7383, allocations: 13.55 kB / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.7383, allocations: 0 / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.7384, allocations: 0 / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.7391, allocations: 43.95 kB / 1.033 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.7391, allocations: 0 / 1.033 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/0.7397, allocations: 31.95 kB / 1.033 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.7398, allocations: 4 kB / 1.033 GB, free: 8.332 MB / 0.6823 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 (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 0.0002259/0.74, allocations: 126.9 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/0.7401, allocations: 3.906 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.413e-05/0.7402, allocations: 11.91 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.7402, allocations: 0 / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7403, allocations: 0 / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.7403, allocations: 4 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005558/0.7409, allocations: 205.5 kB / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7409, allocations: 384 / 1.033 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/0.7416, allocations: 47.94 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.7416, allocations: 0 / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.7416, allocations: 0 / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.7417, allocations: 7.938 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.7417, allocations: 0 / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.7441, allocations: 359.1 kB / 1.034 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.7442, allocations: 77.11 kB / 1.034 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.7443, allocations: 4 kB / 1.034 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.745, allocations: 35.95 kB / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.7451, allocations: 4.375 kB / 1.034 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.7451, allocations: 7.984 kB / 1.034 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001434/0.7453, allocations: 95.27 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.32e-07/0.7453, allocations: 0 / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006879/0.746, allocations: 12 kB / 1.034 GB, free: 7.254 MB / 0.6823 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 (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.0002264/0.7463, allocations: 103.2 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002345/0.7487, allocations: 231.7 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.7487, allocations: 3.938 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.7499, allocations: 127.9 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006204/0.7506, allocations: 4 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.7531, allocations: 292.5 kB / 1.035 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005168/0.7536, allocations: 0.6926 MB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002873/0.754, allocations: 19.98 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.7541, allocations: 11.44 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of SimCode: time 1.533e-06/0.7541, allocations: 0 / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of Templates: time 0.006333/0.7605, allocations: 0.8031 MB / 1.036 GB, free: 4.926 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)