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.001095/0.001095, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001049/0.001049, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8051/0.8051, allocations: 132.2 MB / 423.3 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3855, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002222/0.3878, allocations: 1.457 MB / 0.5829 GB, free: 26.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003291/0.3882, allocations: 142.2 kB / 0.583 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.3882, allocations: 2.062 kB / 0.583 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.3882, allocations: 4.875 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.3883, allocations: 9.016 kB / 0.5831 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.3885, allocations: 35.28 kB / 0.5831 GB, free: 26.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.592e-05/0.3886, allocations: 40.59 kB / 0.5831 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3887, allocations: 19.52 kB / 0.5832 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.3888, allocations: 18.47 kB / 0.5832 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.3888, allocations: 25.34 kB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3888, allocations: 3.75 kB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.891e-05/0.3889, allocations: 25.27 kB / 0.5832 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.389, allocations: 14.33 kB / 0.5832 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.389, allocations: 23.83 kB / 0.5833 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3891, allocations: 59.61 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3891, allocations: 1.281 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3891, allocations: 0.5 kB / 0.5833 GB, free: 26.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3891, allocations: 0 / 0.5833 GB, free: 26.2 MB / 446.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.0003386/0.3895, allocations: 362.5 kB / 0.5837 GB, free: 25.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.3895, allocations: 13.72 kB / 0.5837 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009237/0.3904, allocations: 209 kB / 0.5839 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.558e-05/0.3905, allocations: 175.7 kB / 0.584 GB, free: 25.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3906, allocations: 5.438 kB / 0.584 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3906, allocations: 8.172 kB / 0.5841 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.391, allocations: 192.7 kB / 0.5842 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.3911, allocations: 4.172 kB / 0.5842 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3911, allocations: 5.344 kB / 0.5842 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3911, allocations: 5.75 kB / 0.5843 GB, free: 25.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.3918, allocations: 278 kB / 0.5845 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007465/0.3925, allocations: 443.1 kB / 0.5849 GB, free: 24.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000896/0.3934, allocations: 284.7 kB / 0.5852 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.3937, allocations: 101.2 kB / 0.5853 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3938, allocations: 3.469 kB / 0.5853 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.234e-05/0.3938, allocations: 34.55 kB / 0.5853 GB, free: 24.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.3938, allocations: 1.156 kB / 0.5853 GB, free: 24.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009361/0.3947, allocations: 315.1 kB / 0.5856 GB, free: 24.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.3948, allocations: 52.75 kB / 0.5857 GB, free: 24.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.296e-05/0.3948, allocations: 116.9 kB / 0.5858 GB, free: 24.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.3949, allocations: 25.7 kB / 0.5858 GB, free: 24.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.661e-05/0.3949, allocations: 90.47 kB / 0.5859 GB, free: 24.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3949, allocations: 15.25 kB / 0.5859 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.395, allocations: 13.91 kB / 0.5859 GB, free: 24.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.395, allocations: 324.6 kB / 0.5863 GB, free: 23.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.3953, allocations: 92.62 kB / 0.5863 GB, free: 23.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.3956, allocations: 98.31 kB / 0.5864 GB, free: 23.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.3961, allocations: 170.7 kB / 0.5866 GB, free: 23.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3961, allocations: 0 / 0.5866 GB, free: 23.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000588/0.3967, allocations: 218.1 kB / 0.5868 GB, free: 23.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3968, allocations: 5.906 kB / 0.5868 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3968, allocations: 0 / 0.5868 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3968, allocations: 1.438 kB / 0.5868 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.397, allocations: 35.16 kB / 0.5869 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.397, allocations: 1.219 kB / 0.5869 GB, free: 23.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.3972, allocations: 28.02 kB / 0.5869 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3972, allocations: 5.297 kB / 0.5869 GB, free: 23.45 MB / 446.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 5.807e-05/0.3973, allocations: 123.6 kB / 0.587 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.3973, allocations: 1.531 kB / 0.587 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.3974, allocations: 13.12 kB / 0.587 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3974, allocations: 3.938 kB / 0.587 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3974, allocations: 5.312 kB / 0.587 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.3974, allocations: 5.578 kB / 0.587 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3975, allocations: 220.4 kB / 0.5872 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3976, allocations: 0 / 0.5872 GB, free: 23.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.3978, allocations: 32.64 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3978, allocations: 4 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3978, allocations: 4.562 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3978, allocations: 3.984 kB / 0.5873 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3978, allocations: 4.312 kB / 0.5873 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.3984, allocations: 312 kB / 0.5876 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.3984, allocations: 83.11 kB / 0.5877 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3985, allocations: 1 kB / 0.5877 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.3987, allocations: 31.42 kB / 0.5877 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.3987, allocations: 7.141 kB / 0.5877 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.3987, allocations: 1.156 kB / 0.5877 GB, free: 22.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.685e-05/0.3988, allocations: 99.67 kB / 0.5878 GB, free: 22.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3988, allocations: 0 / 0.5878 GB, free: 22.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.3991, allocations: 12.47 kB / 0.5878 GB, free: 22.6 MB / 446.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.0001132/0.3992, allocations: 96.75 kB / 0.5879 GB, free: 22.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006861/0.3999, allocations: 204 kB / 0.5881 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3999, allocations: 0 / 0.5881 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.4002, allocations: 94.91 kB / 0.5882 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.4005, allocations: 6.25 kB / 0.5882 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008517/0.4013, allocations: 265.1 kB / 0.5884 GB, free: 22.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.4014, allocations: 0.6876 MB / 0.5891 GB, free: 21.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.639e-05/0.4015, allocations: 20.52 kB / 0.5891 GB, free: 21.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.4016, allocations: 14.39 kB / 0.5892 GB, free: 21.46 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4016, allocations: 0 / 0.5892 GB, free: 21.46 MB / 446.1 MB Notification: Performance of Templates: time 0.00287/0.4045, allocations: 0.9174 MB / 0.59 GB, free: 21.02 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)