Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008072/0.008073, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8196/0.8196, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.2 MB / 406.9 MB, free: 3.195 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008774/0.0008775, allocations: 101 kB / 490 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003977, allocations: 12 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3988, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.5395, allocations: 111.5 MB / 0.7584 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.5397, allocations: 67.97 kB / 0.7584 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003398/0.5431, allocations: 1.166 MB / 0.7596 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5432, allocations: 0 / 0.7596 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5432, allocations: 0 / 0.7596 GB, free: 3.242 MB / 0.5261 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.0004073/0.5436, allocations: 359.5 kB / 0.7599 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5436, allocations: 12.03 kB / 0.7599 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007997/0.5444, allocations: 195.6 kB / 0.7601 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.5446, allocations: 167 kB / 0.7603 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.5446, allocations: 4 kB / 0.7603 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.5446, allocations: 4 kB / 0.7603 GB, free: 2.434 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.5452, allocations: 213.4 kB / 0.7605 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.5452, allocations: 0 / 0.7605 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.5452, allocations: 0 / 0.7605 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.5452, allocations: 0 / 0.7605 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008214/0.5461, allocations: 327.5 kB / 0.7608 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009401/0.547, allocations: 453.4 kB / 0.7612 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.5481, allocations: 338.2 kB / 0.7615 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.5481, allocations: 8.078 kB / 0.7616 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.5481, allocations: 34.5 kB / 0.7616 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.5482, allocations: 0 / 0.7616 GB, free: 1.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.001118/0.5493, allocations: 369.2 kB / 0.7619 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.5493, allocations: 55.41 kB / 0.762 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.5494, allocations: 109.2 kB / 0.7621 GB, free: 476 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.5495, allocations: 29.7 kB / 0.7621 GB, free: 440 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.74e-05/0.5496, allocations: 84.14 kB / 0.7622 GB, free: 352 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.5496, allocations: 19.77 kB / 0.7622 GB, free: 332 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.5496, allocations: 0 / 0.7622 GB, free: 332 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5497, allocations: 314.8 kB / 0.7625 GB, free: 8 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.5501, allocations: 111.9 kB / 0.7626 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/0.5505, allocations: 115.9 kB / 0.7627 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.5508, allocations: 107.9 kB / 0.7628 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5508, allocations: 0 / 0.7628 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007356/0.5516, allocations: 257.6 kB / 0.7631 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5516, allocations: 4 kB / 0.7631 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.5516, allocations: 4 kB / 0.7631 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.5517, allocations: 4.031 kB / 0.7631 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.5519, allocations: 39.95 kB / 0.7631 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.5519, allocations: 7.953 kB / 0.7631 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.5521, allocations: 31.95 kB / 0.7632 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.5522, allocations: 11.98 kB / 0.7632 GB, free: 15.32 MB / 0.5417 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 9.48e-05/0.5523, allocations: 113.8 kB / 0.7633 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.5523, allocations: 7.906 kB / 0.7633 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.5523, allocations: 12.28 kB / 0.7633 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5524, allocations: 0 / 0.7633 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.5524, allocations: 3.984 kB / 0.7633 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5524, allocations: 3.953 kB / 0.7633 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.5526, allocations: 209.5 kB / 0.7635 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5526, allocations: 0 / 0.7635 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.5529, allocations: 43.95 kB / 0.7636 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5529, allocations: 0 / 0.7636 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.5529, allocations: 0 / 0.7636 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5529, allocations: 3.938 kB / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5529, allocations: 3.984 kB / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008165/0.5537, allocations: 351.3 kB / 0.7639 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.5538, allocations: 81.02 kB / 0.764 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.5538, allocations: 0 / 0.764 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.554, allocations: 47.89 kB / 0.764 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.5541, allocations: 0 / 0.764 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.5541, allocations: 7.984 kB / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.583e-05/0.5542, allocations: 95.22 kB / 0.7641 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5542, allocations: 0 / 0.7641 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002171/0.5544, allocations: 12 kB / 0.7641 GB, free: 14.24 MB / 0.5417 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.000128/0.5545, allocations: 99.25 kB / 0.7642 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007287/0.5552, allocations: 227.8 kB / 0.7645 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5553, allocations: 0 / 0.7645 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.5556, allocations: 127.8 kB / 0.7646 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.5558, allocations: 1.125 kB / 0.7646 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009114/0.5567, allocations: 292.5 kB / 0.7649 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.557, allocations: 0.6965 MB / 0.7655 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.851e-05/0.5571, allocations: 19.98 kB / 0.7656 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.5572, allocations: 7.438 kB / 0.7656 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of SimCode: time 2.01e-07/0.5572, allocations: 0 / 0.7656 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of Templates: time 0.002945/0.5601, allocations: 0.8163 MB / 0.7664 GB, free: 11.91 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)