Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 100.5 kB / 16.36 MB, free: 6.449 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.001159/0.001159, allocations: 197.6 kB / 17.31 MB, free: 5.812 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7751/0.7751, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 0.5068 GB, free: 7.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3411, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002567/0.3437, allocations: 1.422 MB / 0.5872 GB, free: 24.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003692/0.3441, allocations: 205 kB / 0.5874 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.256e-05/0.3442, allocations: 2.031 kB / 0.5874 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.3442, allocations: 4.438 kB / 0.5874 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.3442, allocations: 0.875 kB / 0.5874 GB, free: 24.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.3445, allocations: 33.97 kB / 0.5874 GB, free: 24.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.609e-05/0.3446, allocations: 21.58 kB / 0.5874 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.042e-05/0.3447, allocations: 12.92 kB / 0.5874 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.826e-05/0.3447, allocations: 7.766 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.626e-05/0.3447, allocations: 10.5 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.3448, allocations: 3.469 kB / 0.5874 GB, free: 24.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.162e-05/0.3449, allocations: 31.81 kB / 0.5875 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.3449, allocations: 9.453 kB / 0.5875 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.3449, allocations: 15.09 kB / 0.5875 GB, free: 24.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.345, allocations: 43.66 kB / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.345, allocations: 0 / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.345, allocations: 0 / 0.5875 GB, free: 24.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.345, allocations: 1.438 kB / 0.5875 GB, free: 24.23 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003566/0.3454, allocations: 350.2 kB / 0.5879 GB, free: 23.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3454, allocations: 10.45 kB / 0.5879 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.796e-05/0.3455, allocations: 3.875 kB / 0.5879 GB, free: 23.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.146e-05/0.3456, allocations: 169.7 kB / 0.5881 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3456, allocations: 4.375 kB / 0.5881 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.3456, allocations: 2.625 kB / 0.5881 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.3458, allocations: 50.98 kB / 0.5881 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3458, allocations: 1.344 kB / 0.5881 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3458, allocations: 3.938 kB / 0.5881 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3458, allocations: 9.281 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.346, allocations: 40.33 kB / 0.5882 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.3462, allocations: 248.5 kB / 0.5884 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.3464, allocations: 41.5 kB / 0.5884 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.3465, allocations: 23.39 kB / 0.5885 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-05/0.3465, allocations: 79.58 kB / 0.5885 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.3466, allocations: 32.69 kB / 0.5886 GB, free: 23.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.3466, allocations: 1.594 kB / 0.5886 GB, free: 23.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003366/0.3469, allocations: 85.95 kB / 0.5886 GB, free: 23.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.3469, allocations: 52.75 kB / 0.5887 GB, free: 22.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.169e-05/0.347, allocations: 104.7 kB / 0.5888 GB, free: 22.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-06/0.347, allocations: 26.52 kB / 0.5888 GB, free: 22.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.3471, allocations: 85.2 kB / 0.5889 GB, free: 22.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.3471, allocations: 7 kB / 0.5889 GB, free: 22.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.3471, allocations: 12.84 kB / 0.5889 GB, free: 22.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.3472, allocations: 318.8 kB / 0.5892 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.3472, allocations: 14.45 kB / 0.5892 GB, free: 22.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.3473, allocations: 19.45 kB / 0.5893 GB, free: 22.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3475, allocations: 36.14 kB / 0.5893 GB, free: 22.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3475, allocations: 0 / 0.5893 GB, free: 22.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001642/0.3476, allocations: 78.56 kB / 0.5894 GB, free: 22.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3477, allocations: 6.125 kB / 0.5894 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3477, allocations: 6.328 kB / 0.5894 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3477, allocations: 0 / 0.5894 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.3478, allocations: 11.08 kB / 0.5894 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3478, allocations: 0 / 0.5894 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/0.3478, allocations: 7.859 kB / 0.5894 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3478, allocations: 0 / 0.5894 GB, free: 22.32 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 (2): * Single equations (assignments): 2 * 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 4.453e-05/0.3479, allocations: 119.5 kB / 0.5895 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3479, allocations: 1.094 kB / 0.5895 GB, free: 22.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.3481, allocations: 71.19 kB / 0.5896 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3481, allocations: 2.688 kB / 0.5896 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3481, allocations: 0 / 0.5896 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3482, allocations: 1.562 kB / 0.5896 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.3483, allocations: 165.2 kB / 0.5897 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3483, allocations: 5.031 kB / 0.5897 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.3483, allocations: 11.45 kB / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3483, allocations: 0 / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.3483, allocations: 1.375 kB / 0.5898 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3483, allocations: 4.5 kB / 0.5898 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3484, allocations: 1.656 kB / 0.5898 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3485, allocations: 166 kB / 0.5899 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.3486, allocations: 88.89 kB / 0.59 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.3486, allocations: 3.844 kB / 0.59 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.3486, allocations: 7.547 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.3487, allocations: 1.562 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.3487, allocations: 0 / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.067e-05/0.3487, allocations: 79.38 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3487, allocations: 0.5 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.349, allocations: 18.36 kB / 0.5901 GB, free: 21.59 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 (2): * Single equations (assignments): 2 * 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.0001241/0.3491, allocations: 106.1 kB / 0.5902 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.3493, allocations: 35.28 kB / 0.5903 GB, free: 21.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3493, allocations: 1.125 kB / 0.5903 GB, free: 21.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.3494, allocations: 23.88 kB / 0.5903 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.3496, allocations: 12.33 kB / 0.5903 GB, free: 21.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002185/0.3499, allocations: 108.8 kB / 0.5904 GB, free: 21.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.35, allocations: 0.6791 MB / 0.5911 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.063e-05/0.35, allocations: 2 kB / 0.5911 GB, free: 20.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.35, allocations: 8.781 kB / 0.5911 GB, free: 20.65 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.35, allocations: 1.469 kB / 0.5911 GB, free: 20.65 MB / 446.1 MB Notification: Performance of Templates: time 0.002505/0.3525, allocations: 0.5641 MB / 0.5916 GB, free: 20.22 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)