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.001122/0.001122, allocations: 102.9 kB / 16.27 MB, free: 6.414 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.001229/0.001229, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8182/0.8182, allocations: 132.2 MB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 55.91 kB / 0.5024 GB, free: 11.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3577, allocations: 80.19 MB / 0.5807 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00248/0.3602, allocations: 1.462 MB / 0.5822 GB, free: 26.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003359/0.3606, allocations: 146.9 kB / 0.5823 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.3606, allocations: 0 / 0.5823 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.3606, allocations: 4.531 kB / 0.5823 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.987e-05/0.3607, allocations: 10.61 kB / 0.5823 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.361, allocations: 33.16 kB / 0.5823 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.361, allocations: 36.52 kB / 0.5824 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3612, allocations: 29.03 kB / 0.5824 GB, free: 26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.3612, allocations: 14.28 kB / 0.5824 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.3613, allocations: 21.58 kB / 0.5824 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3613, allocations: 4.062 kB / 0.5824 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.3614, allocations: 29.66 kB / 0.5825 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.3614, allocations: 13.39 kB / 0.5825 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.3614, allocations: 20.31 kB / 0.5825 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.3616, allocations: 60.39 kB / 0.5826 GB, free: 25.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3616, allocations: 0 / 0.5826 GB, free: 25.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3616, allocations: 0.7812 kB / 0.5826 GB, free: 25.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3616, allocations: 0 / 0.5826 GB, free: 25.89 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.0003849/0.362, allocations: 371.8 kB / 0.5829 GB, free: 25.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.362, allocations: 9.375 kB / 0.5829 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.3631, allocations: 209 kB / 0.5831 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.258e-05/0.3632, allocations: 170.3 kB / 0.5833 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.3632, allocations: 7.781 kB / 0.5833 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3632, allocations: 1.781 kB / 0.5833 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.3638, allocations: 198.9 kB / 0.5835 GB, free: 25.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3638, allocations: 4.125 kB / 0.5835 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3638, allocations: 5.062 kB / 0.5835 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3638, allocations: 1.156 kB / 0.5835 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.3647, allocations: 281.1 kB / 0.5838 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.3655, allocations: 440.2 kB / 0.5842 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.3666, allocations: 283.5 kB / 0.5845 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.367, allocations: 102.3 kB / 0.5846 GB, free: 24.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.367, allocations: 7.031 kB / 0.5846 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.367, allocations: 35.84 kB / 0.5846 GB, free: 24.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.367, allocations: 0 / 0.5846 GB, free: 24.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001121/0.3681, allocations: 311 kB / 0.5849 GB, free: 24.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.3682, allocations: 51.41 kB / 0.5849 GB, free: 24.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.11e-05/0.3683, allocations: 122.9 kB / 0.5851 GB, free: 23.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3683, allocations: 26.86 kB / 0.5851 GB, free: 23.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.3683, allocations: 86.45 kB / 0.5852 GB, free: 23.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3683, allocations: 9.219 kB / 0.5852 GB, free: 23.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.3684, allocations: 18.58 kB / 0.5852 GB, free: 23.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.3684, allocations: 321.1 kB / 0.5855 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.3688, allocations: 96.64 kB / 0.5856 GB, free: 23.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003681/0.3692, allocations: 96.25 kB / 0.5857 GB, free: 23.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006529/0.3698, allocations: 170.6 kB / 0.5858 GB, free: 23.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3699, allocations: 1.125 kB / 0.5859 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007309/0.3706, allocations: 220.1 kB / 0.5861 GB, free: 23.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3706, allocations: 4.25 kB / 0.5861 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3706, allocations: 1.375 kB / 0.5861 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3706, allocations: 0 / 0.5861 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.3709, allocations: 35.67 kB / 0.5861 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3709, allocations: 5.25 kB / 0.5861 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.3711, allocations: 32.81 kB / 0.5861 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.3711, allocations: 5.5 kB / 0.5861 GB, free: 23.14 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.378e-05/0.3712, allocations: 121.5 kB / 0.5863 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3712, allocations: 3.281 kB / 0.5863 GB, free: 23.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.3713, allocations: 13.28 kB / 0.5863 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3713, allocations: 0 / 0.5863 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3713, allocations: 0 / 0.5863 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3713, allocations: 1.125 kB / 0.5863 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.3715, allocations: 226 kB / 0.5865 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3715, allocations: 1.375 kB / 0.5865 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.3717, allocations: 34.41 kB / 0.5865 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3717, allocations: 0 / 0.5865 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3718, allocations: 5.25 kB / 0.5865 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3718, allocations: 3.125 kB / 0.5865 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3718, allocations: 0 / 0.5865 GB, free: 22.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.3725, allocations: 309.3 kB / 0.5868 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.3726, allocations: 86.19 kB / 0.5869 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3726, allocations: 1.656 kB / 0.5869 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.3728, allocations: 31.45 kB / 0.5869 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.3729, allocations: 5.75 kB / 0.5869 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3729, allocations: 1.062 kB / 0.5869 GB, free: 22.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.113e-05/0.3729, allocations: 96.52 kB / 0.587 GB, free: 22.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3729, allocations: 0 / 0.587 GB, free: 22.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.3732, allocations: 12.59 kB / 0.5871 GB, free: 22.31 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.000101/0.3733, allocations: 100.7 kB / 0.5871 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007596/0.3741, allocations: 198.1 kB / 0.5873 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3741, allocations: 1.094 kB / 0.5873 GB, free: 22.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.3745, allocations: 104.6 kB / 0.5874 GB, free: 22.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.3747, allocations: 5.281 kB / 0.5874 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.3756, allocations: 283.6 kB / 0.5877 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.3757, allocations: 0.6883 MB / 0.5884 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.772e-05/0.3758, allocations: 11.19 kB / 0.5884 GB, free: 21.14 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3758, allocations: 0 / 0.5884 GB, free: 21.14 MB / 446.1 MB Notification: Performance of Templates: time 0.002628/0.3785, allocations: 1.171 MB / 0.5895 GB, free: 20.57 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)