Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") translateModel(IDEAS.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001438/0.001439, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9573/0.9573, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.97 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 80.92 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00254/0.1531, allocations: 1.516 MB / 0.5852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000374/0.1535, allocations: 148.5 kB / 0.5853 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.1536, allocations: 0 / 0.5853 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.699e-05/0.1536, allocations: 7.922 kB / 0.5853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.1537, allocations: 0 / 0.5853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.1539, allocations: 27.91 kB / 0.5854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.522e-05/0.154, allocations: 35.92 kB / 0.5854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1541, allocations: 27.92 kB / 0.5854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.1541, allocations: 11.98 kB / 0.5854 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.1542, allocations: 27.84 kB / 0.5855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1542, allocations: 0 / 0.5855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.1543, allocations: 31.97 kB / 0.5855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.1543, allocations: 12 kB / 0.5855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.1543, allocations: 15.88 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1545, allocations: 63.84 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1545, allocations: 0 / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1545, allocations: 0 / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1545, allocations: 0 / 0.5856 GB, free: 3.086 MB / 494.1 MB 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.0004384/0.1549, allocations: 359.7 kB / 0.5859 GB, free: 2.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.155, allocations: 8.031 kB / 0.5859 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.1561, allocations: 212.5 kB / 0.5861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1562, allocations: 180.1 kB / 0.5863 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1562, allocations: 8.375 kB / 0.5863 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1562, allocations: 4.312 kB / 0.5863 GB, free: 2.242 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005564/0.1568, allocations: 194 kB / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.1568, allocations: 192 / 0.5865 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.1568, allocations: 7.938 kB / 0.5865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1568, allocations: 0 / 0.5865 GB, free: 2.039 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.1577, allocations: 279.6 kB / 0.5868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009309/0.1586, allocations: 441.3 kB / 0.5872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.1597, allocations: 282.3 kB / 0.5875 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.1601, allocations: 112.7 kB / 0.5876 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1601, allocations: 0 / 0.5876 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1601, allocations: 30.56 kB / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.1602, allocations: 0 / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.001142/0.1613, allocations: 313.2 kB / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.1614, allocations: 55.41 kB / 0.5879 GB, free: 476 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.1614, allocations: 113.8 kB / 0.5881 GB, free: 352 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1615, allocations: 25.7 kB / 0.5881 GB, free: 320 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.1615, allocations: 92.12 kB / 0.5882 GB, free: 224 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1616, allocations: 19.75 kB / 0.5882 GB, free: 204 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.1616, allocations: 13.72 kB / 0.5882 GB, free: 184 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1617, allocations: 326.8 kB / 0.5885 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.1621, allocations: 91.88 kB / 0.5886 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.1624, allocations: 99.88 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006466/0.1631, allocations: 164.6 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1631, allocations: 11.94 kB / 0.5889 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007128/0.1638, allocations: 213.5 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1639, allocations: 4 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1639, allocations: 4 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1639, allocations: 0 / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.1641, allocations: 31.95 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1642, allocations: 3.984 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.1644, allocations: 35.84 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1644, allocations: 7.938 kB / 0.5892 GB, free: 15.19 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.579e-05/0.1645, allocations: 117.8 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.1645, allocations: 0 / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.894e-05/0.1646, allocations: 15.89 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1646, allocations: 4.328 kB / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1646, allocations: 0 / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1646, allocations: 0 / 0.5893 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.1648, allocations: 209.5 kB / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1648, allocations: 3.984 kB / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.1651, allocations: 35.89 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1651, allocations: 0 / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.1651, allocations: 3.984 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1651, allocations: 0 / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1651, allocations: 4.375 kB / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.1659, allocations: 311.2 kB / 0.5898 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.1659, allocations: 81.11 kB / 0.5899 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.1659, allocations: 4 kB / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002232/0.1662, allocations: 31.89 kB / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.1662, allocations: 7.984 kB / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1662, allocations: 0 / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.95e-05/0.1663, allocations: 95.27 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1663, allocations: 0 / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002409/0.1665, allocations: 12 kB / 0.59 GB, free: 14.17 MB / 0.4981 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 (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.00012/0.1667, allocations: 107.1 kB / 0.5901 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007493/0.1674, allocations: 191.7 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1674, allocations: 0 / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/0.1678, allocations: 103.9 kB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1681, allocations: 6.516 kB / 0.5904 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008986/0.169, allocations: 274.9 kB / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1693, allocations: 0.6965 MB / 0.5914 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.563e-05/0.1694, allocations: 16.25 kB / 0.5914 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.1695, allocations: 15.42 kB / 0.5914 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1695, allocations: 0 / 0.5914 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.002838/0.1723, allocations: 0.8258 MB / 0.5922 GB, free: 11.89 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)