Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008103/0.008102, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9147/0.9147, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.2 MB / 406.9 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 104.8 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004544, allocations: 19.94 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5135/0.514, allocations: 82.31 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.7094, allocations: 113.1 MB / 0.76 GB, free: 2.891 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.7097, allocations: 75.95 kB / 0.76 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02263/0.7323, allocations: 5.119 MB / 0.765 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.176e-06/0.7324, allocations: 4 kB / 0.765 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.136e-06/0.7324, allocations: 0 / 0.765 GB, free: 13.68 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007003/0.7331, allocations: 422.8 kB / 0.7654 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.7332, allocations: 8.031 kB / 0.7654 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.7342, allocations: 119.7 kB / 0.7656 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.7344, allocations: 185.2 kB / 0.7657 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.7345, allocations: 67.31 kB / 0.7658 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.7346, allocations: 11.98 kB / 0.7658 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.7353, allocations: 189.5 kB / 0.766 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.7354, allocations: 0 / 0.766 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.567e-05/0.7354, allocations: 4 kB / 0.766 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7354, allocations: 4 kB / 0.766 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/0.7364, allocations: 195.8 kB / 0.7662 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.7379, allocations: 0.4979 MB / 0.7667 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.7395, allocations: 270.3 kB / 0.7669 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.7396, allocations: 0 / 0.7669 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.7396, allocations: 38.55 kB / 0.767 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=6): time 4.068e-06/0.7397, allocations: 7.938 kB / 0.767 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.00154/0.7412, allocations: 309.6 kB / 0.7673 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.7413, allocations: 51.41 kB / 0.7673 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.7414, allocations: 125 kB / 0.7674 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.7415, allocations: 29.7 kB / 0.7675 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.039e-05/0.7415, allocations: 112.1 kB / 0.7676 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.7416, allocations: 23.72 kB / 0.7676 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.7416, allocations: 8 kB / 0.7676 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7417, allocations: 314.8 kB / 0.7679 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004631/0.7422, allocations: 99.91 kB / 0.768 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.7427, allocations: 106.5 kB / 0.7681 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.7432, allocations: 95.86 kB / 0.7682 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.7432, allocations: 4 kB / 0.7682 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001015/0.7442, allocations: 229.4 kB / 0.7684 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.7443, allocations: 9.094 kB / 0.7684 GB, free: 9.973 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7443, allocations: 4.062 kB / 0.7684 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.7443, allocations: 0 / 0.7684 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.7447, allocations: 47.95 kB / 0.7685 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7447, allocations: 0 / 0.7685 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.745, allocations: 35.88 kB / 0.7685 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.7451, allocations: 11.92 kB / 0.7685 GB, free: 9.875 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.000137/0.7452, allocations: 117.8 kB / 0.7686 GB, free: 9.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.7453, allocations: 7.906 kB / 0.7686 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.7463, allocations: 242.2 kB / 0.7689 GB, free: 9.496 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.7464, allocations: 4 kB / 0.7689 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.7464, allocations: 0 / 0.7689 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7464, allocations: 0 / 0.7689 GB, free: 9.492 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.7468, allocations: 242.1 kB / 0.7691 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7468, allocations: 0 / 0.7691 GB, free: 9.203 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003505/0.7471, allocations: 43.95 kB / 0.7691 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7472, allocations: 0 / 0.7691 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.7472, allocations: 384 / 0.7691 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.7472, allocations: 0 / 0.7691 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7472, allocations: 7.984 kB / 0.7691 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.7482, allocations: 327.2 kB / 0.7695 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.7483, allocations: 96.88 kB / 0.7696 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.7483, allocations: 0 / 0.7696 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.7488, allocations: 43.95 kB / 0.7696 GB, free: 8.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.7489, allocations: 4 kB / 0.7696 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.7489, allocations: 11.98 kB / 0.7696 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.806e-05/0.749, allocations: 105.1 kB / 0.7697 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/0.749, allocations: 0 / 0.7697 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004561/0.7495, allocations: 23.91 kB / 0.7697 GB, free: 8.52 MB / 0.5417 GB 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 (6): * Single equations (assignments): 6 * 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 0.0001798/0.7497, allocations: 99.25 kB / 0.7698 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009995/0.7507, allocations: 199.8 kB / 0.77 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7507, allocations: 4.125 kB / 0.77 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.7512, allocations: 95.92 kB / 0.7701 GB, free: 8.121 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.7516, allocations: 15.95 kB / 0.7701 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009616/0.7525, allocations: 297.4 kB / 0.7704 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.7529, allocations: 0.7043 MB / 0.7711 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.7531, allocations: 20.17 kB / 0.7711 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.7532, allocations: 15.42 kB / 0.7711 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of SimCode: time 5.91e-07/0.7532, allocations: 0 / 0.7711 GB, free: 7.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.004859/0.7581, allocations: 1.312 MB / 0.7724 GB, free: 5.723 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)