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.001779/0.001779, allocations: 104.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.002046/0.002046, allocations: 189.8 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.383/1.383, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8126/0.8126, allocations: 135.1 MB / 426.2 MB, free: 4.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 63.91 kB / 0.506 GB, free: 8.406 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3364, allocations: 80.91 MB / 0.585 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.00238/0.3388, allocations: 1.432 MB / 0.5864 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003492/0.3392, allocations: 197.9 kB / 0.5866 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.3392, allocations: 4.719 kB / 0.5866 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.3393, allocations: 1.281 kB / 0.5866 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.3393, allocations: 4.656 kB / 0.5866 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.3396, allocations: 38.52 kB / 0.5866 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.064e-05/0.3396, allocations: 21.52 kB / 0.5867 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.857e-05/0.3397, allocations: 8.406 kB / 0.5867 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.545e-05/0.3397, allocations: 3.156 kB / 0.5867 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.505e-05/0.3398, allocations: 16.3 kB / 0.5867 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.3398, allocations: 1.188 kB / 0.5867 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.3399, allocations: 37.91 kB / 0.5867 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.3399, allocations: 4.875 kB / 0.5867 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.3399, allocations: 14.09 kB / 0.5867 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.988e-05/0.34, allocations: 39.86 kB / 0.5868 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3401, allocations: 0.5 kB / 0.5868 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3401, allocations: 0.9062 kB / 0.5868 GB, free: 23.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.3401, allocations: 0 / 0.5868 GB, free: 23.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003427/0.3404, allocations: 345.3 kB / 0.5871 GB, free: 23.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3405, allocations: 11.98 kB / 0.5871 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.3405, allocations: 3.156 kB / 0.5871 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.3406, allocations: 177.8 kB / 0.5873 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3406, allocations: 1.406 kB / 0.5873 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.3406, allocations: 1.719 kB / 0.5873 GB, free: 23.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3408, allocations: 51.86 kB / 0.5873 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3408, allocations: 192 / 0.5873 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.3408, allocations: 7.938 kB / 0.5873 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3408, allocations: 1.438 kB / 0.5874 GB, free: 23.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.341, allocations: 31.28 kB / 0.5874 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/0.3412, allocations: 250.6 kB / 0.5876 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.3413, allocations: 41.91 kB / 0.5877 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/0.3414, allocations: 23.19 kB / 0.5877 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.824e-05/0.3415, allocations: 93.17 kB / 0.5878 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.3415, allocations: 30.56 kB / 0.5878 GB, free: 22.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.3415, allocations: 4.609 kB / 0.5878 GB, free: 22.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003386/0.3419, allocations: 87.55 kB / 0.5879 GB, free: 22.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.3419, allocations: 56.81 kB / 0.5879 GB, free: 22.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.118e-05/0.342, allocations: 100.3 kB / 0.588 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.863e-06/0.342, allocations: 26.61 kB / 0.5881 GB, free: 22.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/0.342, allocations: 89.56 kB / 0.5881 GB, free: 22.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.342, allocations: 5.75 kB / 0.5882 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.3421, allocations: 11.78 kB / 0.5882 GB, free: 22.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.057e-05/0.3421, allocations: 317 kB / 0.5885 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.3422, allocations: 19 kB / 0.5885 GB, free: 22.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.3423, allocations: 17.42 kB / 0.5885 GB, free: 22.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3424, allocations: 37.08 kB / 0.5885 GB, free: 22.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3424, allocations: 1.375 kB / 0.5885 GB, free: 22.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.3426, allocations: 76.69 kB / 0.5886 GB, free: 21.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3427, allocations: 8.406 kB / 0.5886 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3427, allocations: 0 / 0.5886 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3427, allocations: 2.25 kB / 0.5886 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.249e-05/0.3428, allocations: 9.391 kB / 0.5886 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3428, allocations: 1.188 kB / 0.5886 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.3428, allocations: 4.5 kB / 0.5886 GB, free: 21.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.3429, allocations: 1.062 kB / 0.5886 GB, free: 21.98 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.369e-05/0.3429, allocations: 121.7 kB / 0.5888 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3429, allocations: 2.219 kB / 0.5888 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.3431, allocations: 67.56 kB / 0.5888 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3432, allocations: 5 kB / 0.5888 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3432, allocations: 0 / 0.5888 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3432, allocations: 1.906 kB / 0.5888 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.3433, allocations: 166.6 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.3433, allocations: 1.062 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.3434, allocations: 5.594 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3434, allocations: 2.25 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.3434, allocations: 0 / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3434, allocations: 5.453 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3434, allocations: 7.594 kB / 0.589 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.3436, allocations: 155.6 kB / 0.5892 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.3436, allocations: 90.19 kB / 0.5892 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.3436, allocations: 4 kB / 0.5892 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.3437, allocations: 4.469 kB / 0.5892 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.3437, allocations: 5.641 kB / 0.5893 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3438, allocations: 1.906 kB / 0.5893 GB, free: 21.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.08e-05/0.3438, allocations: 81.31 kB / 0.5893 GB, free: 21.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3438, allocations: 3.938 kB / 0.5893 GB, free: 21.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.344, allocations: 13.03 kB / 0.5894 GB, free: 21.25 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.0001178/0.3441, allocations: 109.7 kB / 0.5895 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.3444, allocations: 39.59 kB / 0.5895 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3444, allocations: 0 / 0.5895 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.3445, allocations: 23.94 kB / 0.5895 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.3447, allocations: 12.47 kB / 0.5895 GB, free: 21.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002323/0.345, allocations: 135.8 kB / 0.5897 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.208e-05/0.3451, allocations: 0.6749 MB / 0.5903 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.3451, allocations: 9.031 kB / 0.5903 GB, free: 20.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3451, allocations: 0 / 0.5903 GB, free: 20.29 MB / 446.1 MB Notification: Performance of Templates: time 0.001816/0.3469, allocations: 0.6597 MB / 0.591 GB, free: 19.98 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)