Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.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/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/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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008899/0.008899, allocations: 170.5 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7377/0.7377, allocations: 132.3 MB / 148.1 MB, free: 264 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.63/1.63, allocations: 223.2 MB / 403.2 MB, free: 6.73 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.0009118/0.0009118, allocations: 97.89 kB / 485.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 11.98 kB / 0.5641 GB, free: 2.141 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3797, allocations: 81.59 MB / 0.6438 GB, free: 39.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.5199, allocations: 111.3 MB / 0.7524 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5202, allocations: 75.94 kB / 0.7525 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003666/0.5239, allocations: 1.155 MB / 0.7536 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.976e-06/0.5239, allocations: 0 / 0.7536 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.5239, allocations: 4 kB / 0.7536 GB, free: 7.465 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004981/0.5245, allocations: 358.5 kB / 0.754 GB, free: 7.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.5245, allocations: 12.03 kB / 0.754 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000875/0.5254, allocations: 191.6 kB / 0.7541 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.5255, allocations: 167 kB / 0.7543 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5256, allocations: 4 kB / 0.7543 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.5256, allocations: 0 / 0.7543 GB, free: 6.664 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005797/0.5262, allocations: 225.4 kB / 0.7545 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5262, allocations: 0 / 0.7545 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5262, allocations: 0 / 0.7545 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.5262, allocations: 0 / 0.7545 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008126/0.527, allocations: 319.6 kB / 0.7548 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009403/0.528, allocations: 461.4 kB / 0.7553 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.5291, allocations: 346.1 kB / 0.7556 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.5291, allocations: 0 / 0.7556 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.5291, allocations: 30.56 kB / 0.7556 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.5291, allocations: 0 / 0.7556 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.001135/0.5303, allocations: 377.5 kB / 0.756 GB, free: 4.863 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.5303, allocations: 55.34 kB / 0.756 GB, free: 4.797 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.5304, allocations: 117.1 kB / 0.7562 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.5305, allocations: 25.7 kB / 0.7562 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.5305, allocations: 88.12 kB / 0.7563 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.5306, allocations: 11.84 kB / 0.7563 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.5306, allocations: 0 / 0.7563 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.5307, allocations: 314.8 kB / 0.7566 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.531, allocations: 111.9 kB / 0.7567 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.5314, allocations: 119.9 kB / 0.7568 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.5317, allocations: 103.9 kB / 0.7569 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5317, allocations: 0 / 0.7569 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007158/0.5324, allocations: 253.4 kB / 0.7571 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.5325, allocations: 4 kB / 0.7571 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5325, allocations: 0 / 0.7571 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.5325, allocations: 7.953 kB / 0.7571 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.5327, allocations: 47.88 kB / 0.7572 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5328, allocations: 0 / 0.7572 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.533, allocations: 39.95 kB / 0.7572 GB, free: 3.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.533, allocations: 0 / 0.7572 GB, free: 3.543 MB / 0.5261 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 (3): * Single equations (assignments): 3 * 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 8.541e-05/0.5331, allocations: 117.8 kB / 0.7573 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.5331, allocations: 11.89 kB / 0.7574 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.411e-05/0.5332, allocations: 7.906 kB / 0.7574 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5332, allocations: 0 / 0.7574 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.5332, allocations: 3.953 kB / 0.7574 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5332, allocations: 0 / 0.7574 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.5335, allocations: 205.6 kB / 0.7576 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5335, allocations: 0 / 0.7576 GB, free: 3.137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.5337, allocations: 43.95 kB / 0.7576 GB, free: 3.094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5338, allocations: 7.922 kB / 0.7576 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.5338, allocations: 0 / 0.7576 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5338, allocations: 0 / 0.7576 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5338, allocations: 3.953 kB / 0.7576 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.5346, allocations: 351.2 kB / 0.7579 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.5347, allocations: 81.02 kB / 0.758 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.5347, allocations: 4 kB / 0.758 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.5349, allocations: 39.95 kB / 0.7581 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.535, allocations: 7.938 kB / 0.7581 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.535, allocations: 4 kB / 0.7581 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.164e-05/0.535, allocations: 95.58 kB / 0.7582 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.535, allocations: 0 / 0.7582 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002342/0.5353, allocations: 16 kB / 0.7582 GB, free: 2.461 MB / 0.5261 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 (3): * Single equations (assignments): 3 * 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.0001324/0.5354, allocations: 99.25 kB / 0.7583 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007421/0.5362, allocations: 231.7 kB / 0.7585 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5362, allocations: 4 kB / 0.7585 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.5365, allocations: 115.8 kB / 0.7586 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.5367, allocations: 11.94 kB / 0.7586 GB, free: 2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000919/0.5377, allocations: 288.5 kB / 0.7589 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.5379, allocations: 0.6926 MB / 0.7596 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.163e-05/0.538, allocations: 20 kB / 0.7596 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.5381, allocations: 11.42 kB / 0.7596 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/0.5381, allocations: 0 / 0.7596 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of Templates: time 0.002852/0.5409, allocations: 0.8079 MB / 0.7604 GB, free: 144 kB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)