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.0013/0.0013, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.691/0.691, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.48/1.48, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 97.08 kB / 483.3 MB, free: 5.832 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.469e-05, allocations: 4.25 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.185, allocations: 82.3 MB / 0.6404 GB, free: 7.824 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6691/0.8542, allocations: 112 MB / 0.7498 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.8544, allocations: 80.45 kB / 0.7499 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004485/0.8589, allocations: 1.418 MB / 0.7512 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8589, allocations: 0 / 0.7512 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.859, allocations: 3.938 kB / 0.7512 GB, free: 27.61 MB / 0.5105 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.000375/0.8593, allocations: 348.4 kB / 0.7516 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.8594, allocations: 11.69 kB / 0.7516 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.8594, allocations: 0 / 0.7516 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.8596, allocations: 169.9 kB / 0.7518 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.8596, allocations: 3.938 kB / 0.7518 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.8596, allocations: 1.125 kB / 0.7518 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.8597, allocations: 39.44 kB / 0.7518 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.8597, allocations: 0 / 0.7518 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.8598, allocations: 0 / 0.7518 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.8598, allocations: 0 / 0.7518 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.468e-05/0.8598, allocations: 15.53 kB / 0.7518 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.8602, allocations: 265.5 kB / 0.7521 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.848e-05/0.8603, allocations: 25.95 kB / 0.7521 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.8603, allocations: 11.55 kB / 0.7521 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006171/0.8609, allocations: 472 kB / 0.7525 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.8609, allocations: 34.55 kB / 0.7526 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.861, allocations: 3.875 kB / 0.7526 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001696/0.8611, allocations: 43.98 kB / 0.7526 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.8612, allocations: 51.41 kB / 0.7527 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.8613, allocations: 102.7 kB / 0.7528 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.8613, allocations: 29.64 kB / 0.7528 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.8613, allocations: 87.3 kB / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.8614, allocations: 7.656 kB / 0.7529 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.8614, allocations: 3.938 kB / 0.7529 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.8615, allocations: 314.8 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.8615, allocations: 10.56 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.8616, allocations: 10.72 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.043e-05/0.8616, allocations: 3.906 kB / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8616, allocations: 0 / 0.7532 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.515e-05/0.8617, allocations: 43.77 kB / 0.7533 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.8617, allocations: 7.016 kB / 0.7533 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8617, allocations: 0 / 0.7533 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.8617, allocations: 0 / 0.7533 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.8618, allocations: 14.59 kB / 0.7533 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.8618, allocations: 0 / 0.7533 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/0.8619, allocations: 11.14 kB / 0.7533 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.8619, allocations: 0 / 0.7533 GB, free: 25.51 MB / 0.5105 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 () * 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.736e-05/0.8619, allocations: 108.9 kB / 0.7534 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.862, allocations: 7.75 kB / 0.7534 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.8621, allocations: 52.16 kB / 0.7535 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.8621, allocations: 0 / 0.7535 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.8621, allocations: 4.031 kB / 0.7535 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8621, allocations: 0 / 0.7535 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.8623, allocations: 167.5 kB / 0.7536 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.8623, allocations: 0 / 0.7536 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.8623, allocations: 7.078 kB / 0.7536 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.8624, allocations: 0 / 0.7536 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.8624, allocations: 0 / 0.7536 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8624, allocations: 0 / 0.7536 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8624, allocations: 3.469 kB / 0.7536 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.8625, allocations: 149 kB / 0.7538 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.8626, allocations: 81.02 kB / 0.7538 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.8626, allocations: 0 / 0.7538 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/0.8626, allocations: 10.12 kB / 0.7539 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.8627, allocations: 3.812 kB / 0.7539 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.8627, allocations: 0 / 0.7539 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.8627, allocations: 85.41 kB / 0.7539 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8627, allocations: 0 / 0.7539 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002215/0.863, allocations: 30.7 kB / 0.754 GB, free: 24.84 MB / 0.5105 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 () * 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.0001771/0.8631, allocations: 120.7 kB / 0.7541 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.249e-05/0.8632, allocations: 18.97 kB / 0.7541 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8632, allocations: 0 / 0.7541 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.8633, allocations: 7 kB / 0.7541 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.8634, allocations: 3.953 kB / 0.7541 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.8636, allocations: 67.62 kB / 0.7542 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.8639, allocations: 0.6831 MB / 0.7548 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.8639, allocations: 4.656 kB / 0.7549 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.8639, allocations: 7.438 kB / 0.7549 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.864, allocations: 0 / 0.7549 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.002451/0.8664, allocations: 0.6016 MB / 0.7554 GB, free: 23.88 MB / 0.5105 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)