Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001331, allocations: 189.8 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7923/0.7923, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 68.47 kB / 0.5013 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4788, allocations: 80.2 MB / 0.5796 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.003257/0.4822, allocations: 1.521 MB / 0.5811 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000532/0.4828, allocations: 150 kB / 0.5812 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.4828, allocations: 0 / 0.5812 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.377e-05/0.4829, allocations: 0.7031 kB / 0.5812 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.483, allocations: 5.625 kB / 0.5812 GB, free: 3.414 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.4834, allocations: 26.88 kB / 0.5813 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.4835, allocations: 38.09 kB / 0.5813 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.4837, allocations: 25.41 kB / 0.5813 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.4838, allocations: 17.2 kB / 0.5813 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.4839, allocations: 17.86 kB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.4839, allocations: 3.438 kB / 0.5814 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.484, allocations: 33.59 kB / 0.5814 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.484, allocations: 11.55 kB / 0.5814 GB, free: 3.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.4841, allocations: 21.98 kB / 0.5814 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.4842, allocations: 61.05 kB / 0.5815 GB, free: 3.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4842, allocations: 5.062 kB / 0.5815 GB, free: 3.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4843, allocations: 0.6094 kB / 0.5815 GB, free: 3.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4843, allocations: 0 / 0.5815 GB, free: 3.301 MB / 430.1 MB 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.0004443/0.4847, allocations: 368.4 kB / 0.5818 GB, free: 2.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4848, allocations: 9.156 kB / 0.5818 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.486, allocations: 209 kB / 0.582 GB, free: 2.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.4861, allocations: 171.9 kB / 0.5822 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.4861, allocations: 6.594 kB / 0.5822 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.4862, allocations: 2.188 kB / 0.5822 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.4868, allocations: 196.6 kB / 0.5824 GB, free: 2.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4868, allocations: 8.828 kB / 0.5824 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.4869, allocations: 3.938 kB / 0.5824 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.4869, allocations: 1.375 kB / 0.5824 GB, free: 2.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.4881, allocations: 277.9 kB / 0.5827 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.4892, allocations: 444.3 kB / 0.5831 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.4903, allocations: 284.2 kB / 0.5834 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.4907, allocations: 102 kB / 0.5835 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.4907, allocations: 4.688 kB / 0.5835 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.4908, allocations: 40.2 kB / 0.5835 GB, free: 2.141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.953e-06/0.4908, allocations: 0.7188 kB / 0.5835 GB, free: 2.141 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001209/0.492, allocations: 306.5 kB / 0.5838 GB, free: 2.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.492, allocations: 53.53 kB / 0.5839 GB, free: 2.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.4921, allocations: 117.3 kB / 0.584 GB, free: 1.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.4922, allocations: 27.11 kB / 0.584 GB, free: 1.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.4922, allocations: 91.16 kB / 0.5841 GB, free: 1.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.4922, allocations: 10.69 kB / 0.5841 GB, free: 1.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.4923, allocations: 19.34 kB / 0.5841 GB, free: 1.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.264e-05/0.4924, allocations: 326.2 kB / 0.5844 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.4927, allocations: 92.41 kB / 0.5845 GB, free: 1.414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.4931, allocations: 95.44 kB / 0.5846 GB, free: 1.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.4938, allocations: 174.9 kB / 0.5848 GB, free: 1.363 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4938, allocations: 0 / 0.5848 GB, free: 1.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000716/0.4945, allocations: 214.6 kB / 0.585 GB, free: 1.301 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.4945, allocations: 5.344 kB / 0.585 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4945, allocations: 2.219 kB / 0.585 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.4946, allocations: 4.375 kB / 0.585 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.4948, allocations: 33.8 kB / 0.585 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4948, allocations: 0 / 0.585 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.4951, allocations: 34.95 kB / 0.5851 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.4951, allocations: 6.266 kB / 0.5851 GB, free: 1.285 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.095e-05/0.4952, allocations: 123.8 kB / 0.5852 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.4952, allocations: 3.219 kB / 0.5852 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.4953, allocations: 10.61 kB / 0.5852 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4953, allocations: 1.516 kB / 0.5852 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4953, allocations: 0.5 kB / 0.5852 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4953, allocations: 1.062 kB / 0.5852 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.4955, allocations: 220.5 kB / 0.5854 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4955, allocations: 0 / 0.5854 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.4958, allocations: 33.16 kB / 0.5854 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4958, allocations: 0.5625 kB / 0.5854 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4958, allocations: 6.094 kB / 0.5854 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4958, allocations: 1.25 kB / 0.5854 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4958, allocations: 336 / 0.5854 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007865/0.4966, allocations: 319.5 kB / 0.5857 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.4966, allocations: 79.33 kB / 0.5858 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.4967, allocations: 1.438 kB / 0.5858 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.4969, allocations: 35.08 kB / 0.5859 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.497, allocations: 6.922 kB / 0.5859 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.497, allocations: 1.562 kB / 0.5859 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.623e-05/0.497, allocations: 93.89 kB / 0.586 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.497, allocations: 0 / 0.586 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.4973, allocations: 17.22 kB / 0.586 GB, free: 0.5664 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001606/0.4975, allocations: 97.3 kB / 0.5861 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008237/0.4983, allocations: 202.4 kB / 0.5863 GB, free: 448 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4983, allocations: 0 / 0.5863 GB, free: 448 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.4987, allocations: 99.56 kB / 0.5864 GB, free: 432 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.499, allocations: 11.34 kB / 0.5864 GB, free: 424 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009524/0.5, allocations: 269.4 kB / 0.5866 GB, free: 276 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.5002, allocations: 0.6911 MB / 0.5873 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.725e-05/0.5003, allocations: 16.62 kB / 0.5873 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.5004, allocations: 15.23 kB / 0.5873 GB, free: 15.56 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5004, allocations: 0 / 0.5873 GB, free: 15.56 MB / 446.1 MB Notification: Performance of Templates: time 0.004015/0.5044, allocations: 0.8691 MB / 0.5882 GB, free: 15.48 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)