Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007694/0.007695, allocations: 169.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7657/0.7657, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.537/1.537, allocations: 223.2 MB / 406.9 MB, free: 3.145 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.0009699/0.0009699, allocations: 101.1 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.0003127, allocations: 12 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4268, allocations: 82.32 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.5647, allocations: 112 MB / 0.7589 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/0.565, allocations: 71.97 kB / 0.759 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004014/0.569, allocations: 1.431 MB / 0.7604 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.569, allocations: 0 / 0.7604 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.569, allocations: 4 kB / 0.7604 GB, free: 2.457 MB / 0.5261 GB 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.0003152/0.5694, allocations: 343.2 kB / 0.7607 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.5694, allocations: 16.03 kB / 0.7607 GB, free: 2.059 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.5694, allocations: 11.89 kB / 0.7607 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.5696, allocations: 175 kB / 0.7609 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.5696, allocations: 0 / 0.7609 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.5696, allocations: 0 / 0.7609 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.5697, allocations: 45.69 kB / 0.7609 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.5697, allocations: 0 / 0.7609 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.5697, allocations: 3.938 kB / 0.7609 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5697, allocations: 0 / 0.7609 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.564e-05/0.5698, allocations: 31.92 kB / 0.761 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.5702, allocations: 248.9 kB / 0.7612 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.413e-05/0.5702, allocations: 34.56 kB / 0.7613 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/0.5709, allocations: 473.5 kB / 0.7617 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.5709, allocations: 30.56 kB / 0.7617 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5709, allocations: 4 kB / 0.7617 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002224/0.5712, allocations: 81.45 kB / 0.7618 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.5712, allocations: 51.41 kB / 0.7619 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.5713, allocations: 101 kB / 0.762 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.5713, allocations: 25.7 kB / 0.762 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.058e-05/0.5713, allocations: 80.27 kB / 0.7621 GB, free: 460 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.5713, allocations: 15.91 kB / 0.7621 GB, free: 444 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.5714, allocations: 0 / 0.7621 GB, free: 444 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.199e-05/0.5714, allocations: 314.8 kB / 0.7624 GB, free: 120 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.5715, allocations: 15.98 kB / 0.7624 GB, free: 104 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.5715, allocations: 8 kB / 0.7624 GB, free: 96 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/0.5716, allocations: 20.05 kB / 0.7624 GB, free: 76 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5716, allocations: 0 / 0.7624 GB, free: 76 kB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/0.5717, allocations: 57.62 kB / 0.7625 GB, free: 12 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5717, allocations: 4 kB / 0.7625 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5717, allocations: 0 / 0.7625 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.5718, allocations: 0 / 0.7625 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.9e-05/0.5718, allocations: 12.03 kB / 0.7625 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5719, allocations: 4 kB / 0.7625 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.273e-05/0.5719, allocations: 8.031 kB / 0.7625 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.5719, allocations: 0 / 0.7625 GB, free: 15.98 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.291e-05/0.572, allocations: 109.8 kB / 0.7626 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.572, allocations: 7.938 kB / 0.7626 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.5722, allocations: 69.06 kB / 0.7627 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5722, allocations: 0 / 0.7627 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5722, allocations: 8.016 kB / 0.7627 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.5722, allocations: 0 / 0.7627 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.5723, allocations: 165.6 kB / 0.7628 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.5724, allocations: 0 / 0.7628 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.5724, allocations: 11.92 kB / 0.7629 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5724, allocations: 0 / 0.7629 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.5724, allocations: 0 / 0.7629 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5724, allocations: 4 kB / 0.7629 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5724, allocations: 0 / 0.7629 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.5726, allocations: 159.5 kB / 0.763 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.5726, allocations: 77.11 kB / 0.7631 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.5727, allocations: 4 kB / 0.7631 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.828e-05/0.5727, allocations: 4 kB / 0.7631 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.5728, allocations: 0 / 0.7631 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.5728, allocations: 4 kB / 0.7631 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.5728, allocations: 91.23 kB / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5728, allocations: 0 / 0.7632 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002147/0.573, allocations: 27.94 kB / 0.7632 GB, free: 15.15 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 (2): * Single equations (assignments): 2 * 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.0001654/0.5732, allocations: 127.1 kB / 0.7633 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.5733, allocations: 23.98 kB / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5733, allocations: 64 / 0.7634 GB, free: 15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.5734, allocations: 15.98 kB / 0.7634 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.5735, allocations: 11.95 kB / 0.7634 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.5738, allocations: 132.6 kB / 0.7635 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.5741, allocations: 0.6848 MB / 0.7642 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.5741, allocations: 11.95 kB / 0.7642 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.5741, allocations: 7.438 kB / 0.7642 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of SimCode: time 3.1e-07/0.5741, allocations: 0 / 0.7642 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of Templates: time 0.002243/0.5764, allocations: 0.5853 MB / 0.7648 GB, free: 13.5 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)