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.00142/0.00142, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001608/0.001608, allocations: 196.7 kB / 16.91 MB, free: 6.195 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.309/1.309, allocations: 222.9 MB / 240.6 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7766/0.7766, allocations: 132.2 MB / 422.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 59.91 kB / 0.5019 GB, free: 12.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3413, allocations: 80.19 MB / 0.5802 GB, free: 27.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002203/0.3435, allocations: 1.52 MB / 0.5817 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003108/0.3439, allocations: 151.5 kB / 0.5818 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.3439, allocations: 1.031 kB / 0.5818 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.344, allocations: 1.094 kB / 0.5818 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.344, allocations: 5.125 kB / 0.5818 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001903/0.3442, allocations: 22.55 kB / 0.5819 GB, free: 26.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.67e-05/0.3443, allocations: 41.94 kB / 0.5819 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3445, allocations: 20.83 kB / 0.5819 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.3445, allocations: 19.45 kB / 0.5819 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.3445, allocations: 21.39 kB / 0.582 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3446, allocations: 2.875 kB / 0.582 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.3447, allocations: 30.59 kB / 0.582 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.3447, allocations: 11.22 kB / 0.582 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.3447, allocations: 24.11 kB / 0.582 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.924e-05/0.3448, allocations: 44.22 kB / 0.5821 GB, free: 25.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3448, allocations: 0.7812 kB / 0.5821 GB, free: 25.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3448, allocations: 0 / 0.5821 GB, free: 25.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.3448, allocations: 1.438 kB / 0.5821 GB, free: 25.98 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.0003428/0.3452, allocations: 361.8 kB / 0.5824 GB, free: 25.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3452, allocations: 10.72 kB / 0.5824 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009996/0.3462, allocations: 212.2 kB / 0.5826 GB, free: 25.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.519e-05/0.3463, allocations: 171.3 kB / 0.5828 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3463, allocations: 2.688 kB / 0.5828 GB, free: 25.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3463, allocations: 6.531 kB / 0.5828 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004912/0.3468, allocations: 189.4 kB / 0.583 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.3469, allocations: 192 / 0.583 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.3469, allocations: 13.95 kB / 0.583 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3469, allocations: 2.062 kB / 0.583 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007489/0.3476, allocations: 278.1 kB / 0.5833 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.3484, allocations: 445.5 kB / 0.5837 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/0.3494, allocations: 286.3 kB / 0.584 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.3498, allocations: 101.1 kB / 0.5841 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.3498, allocations: 1.375 kB / 0.5841 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.3498, allocations: 33.22 kB / 0.5841 GB, free: 24.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.3498, allocations: 3.938 kB / 0.5841 GB, free: 24.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001063/0.3509, allocations: 311.7 kB / 0.5844 GB, free: 24.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.3509, allocations: 51.41 kB / 0.5844 GB, free: 24.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.419e-05/0.351, allocations: 130.5 kB / 0.5846 GB, free: 24.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.351, allocations: 25.7 kB / 0.5846 GB, free: 24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.3511, allocations: 89.08 kB / 0.5847 GB, free: 23.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.3511, allocations: 5.156 kB / 0.5847 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.3511, allocations: 25.58 kB / 0.5847 GB, free: 23.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.3512, allocations: 323.5 kB / 0.585 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.3515, allocations: 89.31 kB / 0.5851 GB, free: 23.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.3518, allocations: 97.73 kB / 0.5852 GB, free: 23.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.3524, allocations: 173.9 kB / 0.5854 GB, free: 23.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3524, allocations: 1.344 kB / 0.5854 GB, free: 23.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000662/0.3531, allocations: 218.5 kB / 0.5856 GB, free: 23.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3531, allocations: 6.75 kB / 0.5856 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3532, allocations: 1.125 kB / 0.5856 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3532, allocations: 0 / 0.5856 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.3534, allocations: 38.03 kB / 0.5856 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.3534, allocations: 3.984 kB / 0.5856 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.3536, allocations: 27.86 kB / 0.5856 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.3536, allocations: 1.562 kB / 0.5856 GB, free: 23.23 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.406e-05/0.3537, allocations: 121.3 kB / 0.5858 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.3538, allocations: 11.31 kB / 0.5858 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.3538, allocations: 11.34 kB / 0.5858 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3538, allocations: 0 / 0.5858 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3538, allocations: 3.375 kB / 0.5858 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3538, allocations: 0 / 0.5858 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.354, allocations: 220.6 kB / 0.586 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.354, allocations: 1.25 kB / 0.586 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.3543, allocations: 34.19 kB / 0.586 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3543, allocations: 0.8438 kB / 0.586 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.3543, allocations: 1.094 kB / 0.586 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3543, allocations: 2.938 kB / 0.586 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3543, allocations: 0 / 0.586 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006615/0.355, allocations: 315.3 kB / 0.5863 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.355, allocations: 81.02 kB / 0.5864 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.355, allocations: 5.578 kB / 0.5864 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3552, allocations: 31.36 kB / 0.5864 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.3553, allocations: 6.594 kB / 0.5865 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.3553, allocations: 5.188 kB / 0.5865 GB, free: 22.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.46e-05/0.3553, allocations: 97.58 kB / 0.5866 GB, free: 22.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3553, allocations: 1.406 kB / 0.5866 GB, free: 22.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3556, allocations: 12.47 kB / 0.5866 GB, free: 22.39 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 9.6e-05/0.3557, allocations: 103 kB / 0.5867 GB, free: 22.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006918/0.3564, allocations: 193.6 kB / 0.5868 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3564, allocations: 0 / 0.5868 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.3567, allocations: 108.1 kB / 0.587 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.357, allocations: 3.281 kB / 0.587 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008019/0.3578, allocations: 291.7 kB / 0.5872 GB, free: 21.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3579, allocations: 0.6928 MB / 0.5879 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.358, allocations: 10.44 kB / 0.5879 GB, free: 21.21 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.358, allocations: 2.469 kB / 0.5879 GB, free: 21.21 MB / 446.1 MB Notification: Performance of Templates: time 0.00226/0.3602, allocations: 1.171 MB / 0.5891 GB, free: 20.64 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)