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.001263/0.001263, allocations: 108.4 kB / 16.37 MB, free: 6.012 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.001343/0.001343, allocations: 194.6 kB / 17.31 MB, free: 5.613 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7714/0.7714, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.5068 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3726, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002466/0.3751, allocations: 1.449 MB / 0.5872 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003602/0.3755, allocations: 155.3 kB / 0.5873 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.3755, allocations: 2.844 kB / 0.5873 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.3756, allocations: 3.938 kB / 0.5873 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.3756, allocations: 5.312 kB / 0.5873 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3759, allocations: 28.58 kB / 0.5874 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.246e-05/0.376, allocations: 45.31 kB / 0.5874 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3761, allocations: 25.7 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.3761, allocations: 14.78 kB / 0.5875 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.3762, allocations: 25.53 kB / 0.5875 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3762, allocations: 5.812 kB / 0.5875 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.3763, allocations: 33.81 kB / 0.5875 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.3763, allocations: 9.328 kB / 0.5875 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.3764, allocations: 16.09 kB / 0.5875 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.3765, allocations: 69.56 kB / 0.5876 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3765, allocations: 0 / 0.5876 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3765, allocations: 0.7188 kB / 0.5876 GB, free: 24.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3765, allocations: 0 / 0.5876 GB, free: 24.19 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.0003886/0.3769, allocations: 361.2 kB / 0.588 GB, free: 23.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.377, allocations: 10.42 kB / 0.588 GB, free: 23.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009632/0.3779, allocations: 214.8 kB / 0.5882 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.013e-05/0.378, allocations: 171.2 kB / 0.5883 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.378, allocations: 2.938 kB / 0.5883 GB, free: 23.51 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.378, allocations: 7.844 kB / 0.5883 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.3785, allocations: 195.8 kB / 0.5885 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.3786, allocations: 1.406 kB / 0.5885 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3786, allocations: 8.812 kB / 0.5885 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3786, allocations: 1.188 kB / 0.5885 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007291/0.3793, allocations: 274.9 kB / 0.5888 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007916/0.3801, allocations: 444.4 kB / 0.5892 GB, free: 22.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008774/0.381, allocations: 287.6 kB / 0.5895 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.3813, allocations: 102.2 kB / 0.5896 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3813, allocations: 1.094 kB / 0.5896 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.3814, allocations: 33.12 kB / 0.5896 GB, free: 22.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.3814, allocations: 0 / 0.5896 GB, free: 22.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009234/0.3823, allocations: 315.6 kB / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3823, allocations: 51.41 kB / 0.59 GB, free: 22.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.3824, allocations: 123.5 kB / 0.5901 GB, free: 21.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.3824, allocations: 25.7 kB / 0.5901 GB, free: 21.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.084e-05/0.3825, allocations: 88.05 kB / 0.5902 GB, free: 21.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.3825, allocations: 12.89 kB / 0.5902 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.3825, allocations: 17.72 kB / 0.5902 GB, free: 21.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.3826, allocations: 319.7 kB / 0.5905 GB, free: 21.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.3829, allocations: 98.19 kB / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.3832, allocations: 91.88 kB / 0.5907 GB, free: 21.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.3837, allocations: 175.9 kB / 0.5909 GB, free: 21.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3837, allocations: 0.5 kB / 0.5909 GB, free: 21.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005783/0.3843, allocations: 220.2 kB / 0.5911 GB, free: 20.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3843, allocations: 4 kB / 0.5911 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3843, allocations: 3.938 kB / 0.5911 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3843, allocations: 1.938 kB / 0.5911 GB, free: 20.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.3846, allocations: 35.94 kB / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3846, allocations: 0 / 0.5911 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.3847, allocations: 34.86 kB / 0.5912 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3848, allocations: 0 / 0.5912 GB, free: 20.79 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 6.481e-05/0.3848, allocations: 122.6 kB / 0.5913 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.3849, allocations: 4 kB / 0.5913 GB, free: 20.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.3849, allocations: 9 kB / 0.5913 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3849, allocations: 0 / 0.5913 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3849, allocations: 4 kB / 0.5913 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3849, allocations: 1.719 kB / 0.5913 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.3851, allocations: 213.5 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3851, allocations: 4 kB / 0.5915 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.3853, allocations: 37.5 kB / 0.5916 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3853, allocations: 0 / 0.5916 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3853, allocations: 4 kB / 0.5916 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3854, allocations: 0 / 0.5916 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3854, allocations: 5.156 kB / 0.5916 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.386, allocations: 319.8 kB / 0.5919 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.386, allocations: 77.11 kB / 0.5919 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.386, allocations: 0 / 0.5919 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.3862, allocations: 27.95 kB / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.3862, allocations: 0 / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.3863, allocations: 13.14 kB / 0.592 GB, free: 19.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.396e-05/0.3863, allocations: 95.2 kB / 0.5921 GB, free: 19.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3863, allocations: 3.312 kB / 0.5921 GB, free: 19.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.3865, allocations: 15.91 kB / 0.5921 GB, free: 19.77 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.0001086/0.3866, allocations: 99.19 kB / 0.5922 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000615/0.3873, allocations: 197.9 kB / 0.5924 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3873, allocations: 0 / 0.5924 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.3876, allocations: 102 kB / 0.5925 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.3878, allocations: 4 kB / 0.5925 GB, free: 19.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.3886, allocations: 255.5 kB / 0.5927 GB, free: 19.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.3888, allocations: 0.6929 MB / 0.5934 GB, free: 18.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.051e-05/0.3888, allocations: 19.2 kB / 0.5934 GB, free: 18.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.3889, allocations: 12.25 kB / 0.5934 GB, free: 18.35 MB / 446.1 MB Notification: Performance of SimCode: time 1.81e-07/0.3889, allocations: 0 / 0.5934 GB, free: 18.35 MB / 446.1 MB Notification: Performance of Templates: time 0.002876/0.3918, allocations: 0.9344 MB / 0.5943 GB, free: 17.45 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)