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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009266/0.0009267, allocations: 103.3 kB / 15.06 MB, free: 1.098 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.0009531/0.0009532, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8496/0.8496, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002742, allocations: 8 kB / 0.5068 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 82.31 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001432/0.1467, allocations: 1.16 MB / 0.5883 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003187/0.1471, allocations: 144.5 kB / 0.5885 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.1471, allocations: 0 / 0.5885 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.945e-05/0.1472, allocations: 3.938 kB / 0.5885 GB, free: 1.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.1472, allocations: 11.98 kB / 0.5885 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.1474, allocations: 15.98 kB / 0.5885 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.1475, allocations: 27.91 kB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1476, allocations: 15.98 kB / 0.5885 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.1476, allocations: 11.98 kB / 0.5886 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.053e-05/0.1477, allocations: 19.92 kB / 0.5886 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1477, allocations: 0 / 0.5886 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.1478, allocations: 27.97 kB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.1478, allocations: 11.92 kB / 0.5886 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.1478, allocations: 29.7 kB / 0.5886 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.539e-05/0.1479, allocations: 43.88 kB / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1479, allocations: 0 / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.148, allocations: 0 / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.148, allocations: 0 / 0.5887 GB, free: 1.613 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.0004543/0.1484, allocations: 355.4 kB / 0.589 GB, free: 1.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1485, allocations: 8.031 kB / 0.589 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.1495, allocations: 247.5 kB / 0.5893 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1496, allocations: 174.9 kB / 0.5894 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1496, allocations: 8 kB / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.1496, allocations: 0 / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.1502, allocations: 217.4 kB / 0.5896 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1502, allocations: 0 / 0.5896 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1502, allocations: 0 / 0.5896 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1502, allocations: 0 / 0.5896 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.151, allocations: 315.6 kB / 0.5899 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008529/0.1519, allocations: 461.4 kB / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.153, allocations: 334.2 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.153, allocations: 0 / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.153, allocations: 30.56 kB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.153, allocations: 8.062 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001126/0.1541, allocations: 369.4 kB / 0.5911 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.1542, allocations: 55.41 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.1543, allocations: 122 kB / 0.5913 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1543, allocations: 25.7 kB / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.093e-05/0.1544, allocations: 96.12 kB / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.1544, allocations: 11.84 kB / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-06/0.1544, allocations: 0 / 0.5914 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1545, allocations: 318.8 kB / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.1549, allocations: 119.8 kB / 0.5918 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.1552, allocations: 115.9 kB / 0.5919 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1555, allocations: 103.9 kB / 0.592 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1555, allocations: 3.938 kB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006997/0.1562, allocations: 253.4 kB / 0.5923 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1563, allocations: 11.98 kB / 0.5923 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1563, allocations: 0 / 0.5923 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1563, allocations: 0 / 0.5923 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.1565, allocations: 43.91 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1566, allocations: 0 / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.1567, allocations: 43.95 kB / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1568, allocations: 3.984 kB / 0.5924 GB, free: 13.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.363e-05/0.1568, allocations: 116.2 kB / 0.5925 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.1569, allocations: 7.906 kB / 0.5925 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.1569, allocations: 7.906 kB / 0.5925 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1569, allocations: 7.984 kB / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.1569, allocations: 3.953 kB / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1569, allocations: 0 / 0.5925 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1571, allocations: 205.6 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1572, allocations: 0 / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.1574, allocations: 47.89 kB / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1574, allocations: 0 / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1574, allocations: 7.984 kB / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1574, allocations: 0 / 0.5927 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1574, allocations: 3.953 kB / 0.5928 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007504/0.1582, allocations: 347.3 kB / 0.5931 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.1582, allocations: 81.02 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.1583, allocations: 0 / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.1585, allocations: 36.33 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1585, allocations: 3.984 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1585, allocations: 11.95 kB / 0.5932 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.1586, allocations: 99.2 kB / 0.5933 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1586, allocations: 0 / 0.5933 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002202/0.1588, allocations: 12 kB / 0.5933 GB, free: 12.54 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 (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.0001245/0.1589, allocations: 103.1 kB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007256/0.1597, allocations: 235.7 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1597, allocations: 0 / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003481/0.16, allocations: 119.9 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.1602, allocations: 3.5 kB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008366/0.161, allocations: 300.7 kB / 0.594 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1613, allocations: 0.6965 MB / 0.5947 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.9e-05/0.1614, allocations: 23.98 kB / 0.5947 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.1614, allocations: 11.44 kB / 0.5948 GB, free: 11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1614, allocations: 0 / 0.5948 GB, free: 11 MB / 0.4981 GB Notification: Performance of Templates: time 0.00264/0.1641, allocations: 0.7903 MB / 0.5955 GB, free: 10.22 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: