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.0008859/0.0008859, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0009475/0.0009474, allocations: 177.3 kB / 15.95 MB, free: 216 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.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8658/0.8658, allocations: 135.2 MB / 426.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 8 kB / 0.5068 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1504, allocations: 82.31 MB / 0.5872 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001588/0.1521, allocations: 1.16 MB / 0.5883 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003242/0.1524, allocations: 140.5 kB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.1525, allocations: 0 / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.1525, allocations: 0 / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.684e-05/0.1526, allocations: 11.98 kB / 0.5885 GB, free: 1.766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.1528, allocations: 19.91 kB / 0.5885 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.1528, allocations: 27.97 kB / 0.5885 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.153, allocations: 19.98 kB / 0.5885 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.96e-05/0.153, allocations: 11.92 kB / 0.5885 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.1531, allocations: 15.92 kB / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1531, allocations: 0 / 0.5886 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.557e-05/0.1532, allocations: 31.97 kB / 0.5886 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.1532, allocations: 4 kB / 0.5886 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.1532, allocations: 37.64 kB / 0.5886 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.595e-05/0.1533, allocations: 43.92 kB / 0.5887 GB, free: 1.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.1533, allocations: 3.938 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1533, allocations: 0 / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1533, allocations: 3.938 kB / 0.5887 GB, free: 1.543 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.1538, allocations: 355.5 kB / 0.589 GB, free: 1.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1538, allocations: 12.03 kB / 0.589 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.1549, allocations: 239.5 kB / 0.5893 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1551, allocations: 171 kB / 0.5894 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1551, allocations: 8 kB / 0.5894 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1551, allocations: 0 / 0.5894 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005598/0.1557, allocations: 213.4 kB / 0.5896 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1557, allocations: 0 / 0.5896 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1557, allocations: 4 kB / 0.5896 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1557, allocations: 4 kB / 0.5896 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.1566, allocations: 319.5 kB / 0.59 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009164/0.1575, allocations: 457.4 kB / 0.5904 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.1586, allocations: 338.2 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1586, allocations: 4.078 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1586, allocations: 34.56 kB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1587, allocations: 4.062 kB / 0.5907 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001134/0.1598, allocations: 373.2 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.1598, allocations: 55.41 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.097e-05/0.1599, allocations: 110 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.16, allocations: 29.7 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.16, allocations: 96.06 kB / 0.5914 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.1601, allocations: 7.844 kB / 0.5914 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.1601, allocations: 4 kB / 0.5914 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1602, allocations: 318.8 kB / 0.5917 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003431/0.1605, allocations: 111.9 kB / 0.5918 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.1609, allocations: 115.9 kB / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003235/0.1612, allocations: 103.8 kB / 0.592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1612, allocations: 0 / 0.592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000723/0.162, allocations: 257.4 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.162, allocations: 4 kB / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.162, allocations: 0 / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.162, allocations: 384 / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.1623, allocations: 51.89 kB / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1623, allocations: 0 / 0.5923 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.1625, allocations: 39.95 kB / 0.5924 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.1625, allocations: 3.938 kB / 0.5924 GB, free: 13.56 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 0.0001009/0.1626, allocations: 123.7 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.1626, allocations: 7.906 kB / 0.5925 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.1627, allocations: 11.91 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1627, allocations: 0 / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1627, allocations: 3.953 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1627, allocations: 0 / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.163, allocations: 209.6 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.163, allocations: 4 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.1632, allocations: 43.94 kB / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1632, allocations: 0 / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1632, allocations: 0 / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1632, allocations: 0 / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.1632, allocations: 3.953 kB / 0.5927 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/0.164, allocations: 347.3 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.1641, allocations: 81.02 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1641, allocations: 11.92 kB / 0.5932 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1643, allocations: 39.95 kB / 0.5932 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.1644, allocations: 0 / 0.5932 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1644, allocations: 7.953 kB / 0.5932 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.503e-05/0.1644, allocations: 91.27 kB / 0.5933 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1645, allocations: 4 kB / 0.5933 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002238/0.1647, allocations: 12 kB / 0.5933 GB, free: 12.48 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.0001361/0.1648, allocations: 95.25 kB / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.1656, allocations: 235.7 kB / 0.5936 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1656, allocations: 3.938 kB / 0.5936 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.166, allocations: 123.8 kB / 0.5938 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.1661, allocations: 3.984 kB / 0.5938 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000895/0.167, allocations: 297.2 kB / 0.594 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.1673, allocations: 0.694 MB / 0.5947 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.052e-05/0.1674, allocations: 19.98 kB / 0.5947 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.1675, allocations: 15.72 kB / 0.5947 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1675, allocations: 4 kB / 0.5948 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.00285/0.1703, allocations: 0.8015 MB / 0.5955 GB, free: 10.14 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: