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.000814/0.000814, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0008834/0.0008834, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6608/0.6608, allocations: 132.4 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.000259, allocations: 8 kB / 0.5034 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3258, allocations: 81.58 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001175/0.327, allocations: 1.171 MB / 0.5842 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002857/0.3273, allocations: 128.3 kB / 0.5843 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.3274, allocations: 1.125 kB / 0.5844 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.368e-05/0.3274, allocations: 4.641 kB / 0.5844 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.242e-05/0.3275, allocations: 5.703 kB / 0.5844 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.3276, allocations: 31.91 kB / 0.5844 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.3277, allocations: 37.53 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.3278, allocations: 11.08 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.3279, allocations: 14.16 kB / 0.5845 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.636e-05/0.3279, allocations: 20.48 kB / 0.5845 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.3279, allocations: 1.625 kB / 0.5845 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.328, allocations: 30.28 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.328, allocations: 6.578 kB / 0.5845 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.328, allocations: 32.02 kB / 0.5845 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.773e-05/0.3281, allocations: 48.39 kB / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3281, allocations: 1.031 kB / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3281, allocations: 0 / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.3282, allocations: 0 / 0.5846 GB, free: 2.906 MB / 430.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.0003112/0.3285, allocations: 360.3 kB / 0.5849 GB, free: 2.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.3285, allocations: 9.875 kB / 0.5849 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009622/0.3295, allocations: 243.2 kB / 0.5852 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.497e-05/0.3295, allocations: 171.4 kB / 0.5853 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3296, allocations: 1.344 kB / 0.5853 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.3296, allocations: 3.156 kB / 0.5853 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.3301, allocations: 219.7 kB / 0.5855 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3301, allocations: 0 / 0.5855 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3301, allocations: 9.172 kB / 0.5856 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3301, allocations: 2 kB / 0.5856 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.3309, allocations: 314.2 kB / 0.5859 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.3317, allocations: 461.5 kB / 0.5863 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009671/0.3327, allocations: 342.8 kB / 0.5866 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.333, allocations: 123.6 kB / 0.5867 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.333, allocations: 4.469 kB / 0.5867 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.333, allocations: 31.95 kB / 0.5868 GB, free: 1.738 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.333, allocations: 0.8438 kB / 0.5868 GB, free: 1.738 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001024/0.3341, allocations: 372.2 kB / 0.5871 GB, free: 1.648 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.3341, allocations: 52.44 kB / 0.5872 GB, free: 1.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.3342, allocations: 118.3 kB / 0.5873 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.3342, allocations: 26.48 kB / 0.5873 GB, free: 1.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.712e-05/0.3342, allocations: 92.08 kB / 0.5874 GB, free: 1.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.3342, allocations: 6.5 kB / 0.5874 GB, free: 1.352 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.3342, allocations: 4 kB / 0.5874 GB, free: 1.348 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.524e-05/0.3343, allocations: 318.1 kB / 0.5877 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003164/0.3346, allocations: 116.2 kB / 0.5878 GB, free: 1.012 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/0.3349, allocations: 117.1 kB / 0.5879 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003371/0.3353, allocations: 99.41 kB / 0.588 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3353, allocations: 4.75 kB / 0.588 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006574/0.3359, allocations: 248.6 kB / 0.5883 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.336, allocations: 14.38 kB / 0.5883 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.336, allocations: 0 / 0.5883 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.336, allocations: 0.9375 kB / 0.5883 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.3362, allocations: 45.11 kB / 0.5883 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3362, allocations: 1.281 kB / 0.5883 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.3364, allocations: 44.23 kB / 0.5884 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3364, allocations: 2.641 kB / 0.5884 GB, free: 0.8945 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.3365, allocations: 116.2 kB / 0.5885 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.3365, allocations: 5.719 kB / 0.5885 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.3365, allocations: 19.7 kB / 0.5885 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3365, allocations: 0.5938 kB / 0.5885 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3366, allocations: 1.531 kB / 0.5885 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3366, allocations: 0.5625 kB / 0.5885 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3367, allocations: 212.1 kB / 0.5887 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3367, allocations: 0.5156 kB / 0.5887 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.3369, allocations: 42.02 kB / 0.5888 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.337, allocations: 0 / 0.5888 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.337, allocations: 6 kB / 0.5888 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.337, allocations: 0.5625 kB / 0.5888 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.337, allocations: 5.5 kB / 0.5888 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.3376, allocations: 344.8 kB / 0.5891 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.659e-05/0.3377, allocations: 88.33 kB / 0.5892 GB, free: 276 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.3377, allocations: 9.766 kB / 0.5892 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.3379, allocations: 41.58 kB / 0.5892 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.3379, allocations: 3.734 kB / 0.5892 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.3379, allocations: 2.547 kB / 0.5892 GB, free: 260 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.557e-05/0.338, allocations: 96.17 kB / 0.5893 GB, free: 176 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.338, allocations: 0 / 0.5893 GB, free: 176 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002149/0.3382, allocations: 12.78 kB / 0.5893 GB, free: 176 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.281e-05/0.3383, allocations: 101.9 kB / 0.5894 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006796/0.339, allocations: 237.8 kB / 0.5897 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.339, allocations: 1.875 kB / 0.5897 GB, free: 36 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.3393, allocations: 115.4 kB / 0.5898 GB, free: 20 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.3395, allocations: 6.938 kB / 0.5898 GB, free: 16 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.3404, allocations: 291.6 kB / 0.5901 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.3406, allocations: 0.6913 MB / 0.5907 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.296e-05/0.3407, allocations: 16.25 kB / 0.5908 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.3407, allocations: 14.08 kB / 0.5908 GB, free: 15.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3407, allocations: 0 / 0.5908 GB, free: 15.16 MB / 446.1 MB Notification: Performance of Templates: time 0.002578/0.3433, allocations: 0.8085 MB / 0.5916 GB, free: 15.09 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)