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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 103.6 kB / 16.27 MB, free: 5.98 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.00151/0.001509, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.369/1.369, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8449/0.8449, allocations: 135.2 MB / 426.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.91 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3766, allocations: 80.92 MB / 0.5851 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002866/0.3795, allocations: 1.449 MB / 0.5865 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004049/0.38, allocations: 147.1 kB / 0.5866 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.38, allocations: 5.125 kB / 0.5866 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.3801, allocations: 8.516 kB / 0.5866 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.964e-05/0.3802, allocations: 6.625 kB / 0.5866 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.3805, allocations: 28.66 kB / 0.5867 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.155e-05/0.3806, allocations: 36.61 kB / 0.5867 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3807, allocations: 31.02 kB / 0.5867 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.3808, allocations: 14.66 kB / 0.5867 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.3808, allocations: 25.12 kB / 0.5868 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3808, allocations: 8.5 kB / 0.5868 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.818e-05/0.381, allocations: 30.77 kB / 0.5868 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.381, allocations: 15.42 kB / 0.5868 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.381, allocations: 11.59 kB / 0.5868 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.3811, allocations: 67.69 kB / 0.5869 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3812, allocations: 1.406 kB / 0.5869 GB, free: 23.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3812, allocations: 0 / 0.5869 GB, free: 23.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.3812, allocations: 0 / 0.5869 GB, free: 23.87 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.0003967/0.3816, allocations: 364 kB / 0.5872 GB, free: 23.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3816, allocations: 9.703 kB / 0.5872 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.3827, allocations: 212.5 kB / 0.5875 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.34e-05/0.3828, allocations: 167.2 kB / 0.5876 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.3828, allocations: 3.094 kB / 0.5876 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.3829, allocations: 6.156 kB / 0.5876 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.3834, allocations: 205.8 kB / 0.5878 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3834, allocations: 192 / 0.5878 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.3835, allocations: 5.375 kB / 0.5878 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.3835, allocations: 2.719 kB / 0.5878 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009168/0.3844, allocations: 277.2 kB / 0.5881 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3854, allocations: 442.9 kB / 0.5885 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.3866, allocations: 285.6 kB / 0.5888 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003413/0.3869, allocations: 97.8 kB / 0.5889 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.3869, allocations: 1.375 kB / 0.5889 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.387, allocations: 43.17 kB / 0.5889 GB, free: 22.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.387, allocations: 1.781 kB / 0.5889 GB, free: 22.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001147/0.3881, allocations: 310.4 kB / 0.5892 GB, free: 22.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3882, allocations: 51.41 kB / 0.5893 GB, free: 22.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.3883, allocations: 115.2 kB / 0.5894 GB, free: 21.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.3883, allocations: 29.7 kB / 0.5894 GB, free: 21.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.3883, allocations: 95.41 kB / 0.5895 GB, free: 21.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.3884, allocations: 5.469 kB / 0.5895 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.3884, allocations: 18.5 kB / 0.5895 GB, free: 21.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.3885, allocations: 320.8 kB / 0.5898 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.3889, allocations: 96.31 kB / 0.5899 GB, free: 21.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.3893, allocations: 95.03 kB / 0.59 GB, free: 21.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006487/0.3899, allocations: 169.6 kB / 0.5902 GB, free: 21.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3899, allocations: 6.281 kB / 0.5902 GB, free: 21.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000687/0.3906, allocations: 213.9 kB / 0.5904 GB, free: 21.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3907, allocations: 5.812 kB / 0.5904 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3907, allocations: 0 / 0.5904 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3907, allocations: 0 / 0.5904 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.3909, allocations: 37.16 kB / 0.5904 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.391, allocations: 0 / 0.5904 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.3912, allocations: 37.61 kB / 0.5905 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3912, allocations: 0 / 0.5905 GB, free: 20.93 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 7.525e-05/0.3913, allocations: 121.8 kB / 0.5906 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.3913, allocations: 9.656 kB / 0.5906 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.3913, allocations: 8.234 kB / 0.5906 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3914, allocations: 0 / 0.5906 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3914, allocations: 0 / 0.5906 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3914, allocations: 8.781 kB / 0.5906 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.3916, allocations: 209.6 kB / 0.5908 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3916, allocations: 4.703 kB / 0.5908 GB, free: 20.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.3918, allocations: 32.92 kB / 0.5908 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.3918, allocations: 0 / 0.5908 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3918, allocations: 4.75 kB / 0.5908 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3918, allocations: 3.938 kB / 0.5908 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3918, allocations: 0.5312 kB / 0.5908 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.3926, allocations: 318.2 kB / 0.5911 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.3926, allocations: 81.77 kB / 0.5912 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3926, allocations: 4.531 kB / 0.5912 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.3929, allocations: 25.98 kB / 0.5913 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.3929, allocations: 7.984 kB / 0.5913 GB, free: 20.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.3929, allocations: 0 / 0.5913 GB, free: 20.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.488e-05/0.393, allocations: 95.27 kB / 0.5914 GB, free: 19.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.393, allocations: 2.656 kB / 0.5914 GB, free: 19.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.3932, allocations: 19.91 kB / 0.5914 GB, free: 19.91 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.0001047/0.3933, allocations: 95.19 kB / 0.5915 GB, free: 19.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000721/0.394, allocations: 202 kB / 0.5917 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3941, allocations: 288 / 0.5917 GB, free: 19.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.3944, allocations: 98.72 kB / 0.5918 GB, free: 19.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.3947, allocations: 13.97 kB / 0.5918 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008612/0.3955, allocations: 285.4 kB / 0.592 GB, free: 19.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3956, allocations: 0.6862 MB / 0.5927 GB, free: 18.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.3957, allocations: 19.36 kB / 0.5927 GB, free: 18.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3957, allocations: 0 / 0.5927 GB, free: 18.47 MB / 446.1 MB Notification: Performance of Templates: time 0.002513/0.3982, allocations: 1.165 MB / 0.5939 GB, free: 17.34 MB / 446.1 MB 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)