Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 252 MB / 267.9 MB, free: 10.92 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.000919/0.000919, allocations: 184.3 kB / 327.6 MB, free: 2.164 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 0.5785 GB, free: 20.21 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.0008873/0.0008873, allocations: 96 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004223, allocations: 16.47 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.3171, allocations: 131.9 MB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3174, allocations: 71.95 kB / 1.03 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003097/0.3205, allocations: 1.154 MB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3205, allocations: 0 / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3206, allocations: 0 / 1.031 GB, free: 10.38 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.000338/0.3209, allocations: 363.4 kB / 1.032 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.321, allocations: 8.031 kB / 1.032 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007261/0.3217, allocations: 192.5 kB / 1.032 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.3218, allocations: 172.2 kB / 1.032 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3218, allocations: 384 / 1.032 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.3218, allocations: 4.375 kB / 1.032 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.3223, allocations: 214 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3224, allocations: 192 / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3224, allocations: 7.938 kB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3224, allocations: 4 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007498/0.3232, allocations: 319.6 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.324, allocations: 461.2 kB / 1.033 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009785/0.325, allocations: 342.1 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.3253, allocations: 120.8 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.3253, allocations: 0 / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3253, allocations: 30.56 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3254, allocations: 0 / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.001005/0.3264, allocations: 369.3 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.3264, allocations: 55.41 kB / 1.034 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.3265, allocations: 117.8 kB / 1.034 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3265, allocations: 29.64 kB / 1.034 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.3266, allocations: 92.12 kB / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.3266, allocations: 15.75 kB / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.3266, allocations: 4 kB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.3267, allocations: 322.8 kB / 1.034 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.327, allocations: 111.9 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.3273, allocations: 115.9 kB / 1.035 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/0.3279, allocations: 204.6 kB / 1.035 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3279, allocations: 0 / 1.035 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006484/0.3286, allocations: 257.4 kB / 1.035 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3286, allocations: 4 kB / 1.035 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.3286, allocations: 0 / 1.035 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3286, allocations: 0 / 1.035 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.3288, allocations: 47.94 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.3289, allocations: 0 / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.329, allocations: 39.86 kB / 1.035 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.329, allocations: 4 kB / 1.035 GB, free: 6.207 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 7.909e-05/0.3291, allocations: 121.8 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.3292, allocations: 4 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.059e-05/0.3292, allocations: 11.91 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3292, allocations: 4 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3292, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3292, allocations: 0 / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3294, allocations: 209.5 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3294, allocations: 4 kB / 1.035 GB, free: 5.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.3297, allocations: 43.94 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3297, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3297, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3297, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3297, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.3304, allocations: 355.4 kB / 1.036 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.3304, allocations: 85.47 kB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3304, allocations: 48 / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3306, allocations: 43.94 kB / 1.036 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3307, allocations: 7.938 kB / 1.036 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.3307, allocations: 3.938 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.3308, allocations: 95.27 kB / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3308, allocations: 0 / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002085/0.331, allocations: 16 kB / 1.036 GB, free: 5.125 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.0001098/0.3311, allocations: 99.19 kB / 1.036 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006477/0.3317, allocations: 235.7 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3318, allocations: 4 kB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.3321, allocations: 115.9 kB / 1.036 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.3323, allocations: 11.66 kB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008095/0.3331, allocations: 292.4 kB / 1.037 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.3333, allocations: 0.6888 MB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.932e-05/0.3334, allocations: 23.98 kB / 1.037 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.3335, allocations: 11.42 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3335, allocations: 0 / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of Templates: time 0.002452/0.336, allocations: 0.8053 MB / 1.038 GB, free: 2.801 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)