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.000971/0.000971, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006837/0.006838, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7472/0.7472, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 12.81 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4796/0.4799, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00174/0.4817, allocations: 1.181 MB / 0.5848 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004517/0.4822, allocations: 144.7 kB / 0.585 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.4822, allocations: 4.906 kB / 0.585 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.465e-05/0.4823, allocations: 4.641 kB / 0.585 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.4823, allocations: 2.234 kB / 0.585 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.4826, allocations: 31.08 kB / 0.585 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.4827, allocations: 34.14 kB / 0.585 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.4828, allocations: 24.08 kB / 0.5851 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.4828, allocations: 10.34 kB / 0.5851 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.4829, allocations: 15.58 kB / 0.5851 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.4829, allocations: 5.953 kB / 0.5851 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.483, allocations: 30.72 kB / 0.5851 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.483, allocations: 6.641 kB / 0.5851 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.4831, allocations: 38.47 kB / 0.5852 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.4832, allocations: 63.53 kB / 0.5852 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4832, allocations: 0 / 0.5852 GB, free: 2.953 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4832, allocations: 4 kB / 0.5852 GB, free: 2.949 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.4833, allocations: 1 kB / 0.5852 GB, free: 2.949 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.000412/0.4837, allocations: 356.4 kB / 0.5856 GB, free: 2.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4837, allocations: 12.69 kB / 0.5856 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.4849, allocations: 248.5 kB / 0.5858 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.68e-05/0.485, allocations: 164.8 kB / 0.586 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.485, allocations: 2.219 kB / 0.586 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.4851, allocations: 7.469 kB / 0.586 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.4857, allocations: 212.5 kB / 0.5862 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4857, allocations: 192 / 0.5862 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4857, allocations: 3.938 kB / 0.5862 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.4858, allocations: 1.844 kB / 0.5862 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009808/0.4867, allocations: 319.2 kB / 0.5865 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009049/0.4877, allocations: 473 kB / 0.5869 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.4889, allocations: 343.7 kB / 0.5873 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.4893, allocations: 114 kB / 0.5874 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.4894, allocations: 5.891 kB / 0.5874 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.4894, allocations: 40.47 kB / 0.5874 GB, free: 1.773 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.4894, allocations: 0 / 0.5874 GB, free: 1.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001339/0.4907, allocations: 365.6 kB / 0.5878 GB, free: 1.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.4908, allocations: 56.06 kB / 0.5878 GB, free: 1.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.357e-05/0.4908, allocations: 114.5 kB / 0.5879 GB, free: 1.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.4909, allocations: 31.08 kB / 0.588 GB, free: 1.488 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.4909, allocations: 87.06 kB / 0.5881 GB, free: 1.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.4909, allocations: 9.844 kB / 0.5881 GB, free: 1.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.491, allocations: 11.75 kB / 0.5881 GB, free: 1.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.267e-05/0.491, allocations: 321.8 kB / 0.5884 GB, free: 1.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.4914, allocations: 113 kB / 0.5885 GB, free: 1.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.4919, allocations: 121.3 kB / 0.5886 GB, free: 1.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007686/0.4926, allocations: 211.1 kB / 0.5888 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4926, allocations: 0 / 0.5888 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008354/0.4935, allocations: 257.6 kB / 0.5891 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4935, allocations: 5 kB / 0.5891 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.4935, allocations: 0.5156 kB / 0.5891 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4935, allocations: 0.7188 kB / 0.5891 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.4938, allocations: 41.59 kB / 0.5891 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4938, allocations: 1.172 kB / 0.5891 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.4941, allocations: 40.56 kB / 0.5891 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.4941, allocations: 6.172 kB / 0.5891 GB, free: 0.9023 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 6.495e-05/0.4942, allocations: 120.5 kB / 0.5893 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.4942, allocations: 5.281 kB / 0.5893 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.4942, allocations: 16.45 kB / 0.5893 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4943, allocations: 0 / 0.5893 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4943, allocations: 1.031 kB / 0.5893 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4943, allocations: 4.797 kB / 0.5893 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.4945, allocations: 212.2 kB / 0.5895 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4945, allocations: 0.5938 kB / 0.5895 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.4947, allocations: 45.36 kB / 0.5895 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4947, allocations: 5.156 kB / 0.5895 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4948, allocations: 0.7969 kB / 0.5895 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.4948, allocations: 5.859 kB / 0.5895 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4948, allocations: 0 / 0.5895 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.4956, allocations: 353.8 kB / 0.5899 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.4957, allocations: 79.5 kB / 0.59 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.4957, allocations: 1.031 kB / 0.59 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.496, allocations: 43.23 kB / 0.59 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.496, allocations: 3.094 kB / 0.59 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.496, allocations: 2.125 kB / 0.59 GB, free: 268 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.4961, allocations: 93.09 kB / 0.5901 GB, free: 188 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4961, allocations: 1.5 kB / 0.5901 GB, free: 188 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.4963, allocations: 11.09 kB / 0.5901 GB, free: 188 kB / 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.0001058/0.4964, allocations: 101.5 kB / 0.5902 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008673/0.4973, allocations: 235.4 kB / 0.5904 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4973, allocations: 0 / 0.5904 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004115/0.4977, allocations: 121 kB / 0.5905 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.498, allocations: 2.984 kB / 0.5905 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.499, allocations: 303.8 kB / 0.5908 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.4993, allocations: 0.6898 MB / 0.5915 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.456e-05/0.4994, allocations: 21.77 kB / 0.5915 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.4994, allocations: 11.28 kB / 0.5915 GB, free: 15.17 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4994, allocations: 3.938 kB / 0.5915 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.003354/0.5028, allocations: 0.8227 MB / 0.5923 GB, free: 15.09 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)