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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.0058/0.0058, allocations: 94.31 kB / 15.73 MB, free: 6.051 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.001391/0.001391, allocations: 198.8 kB / 16.68 MB, free: 5.973 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8099/0.8099, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 62.25 kB / 0.5814 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1646, allocations: 80.2 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002441/0.1671, allocations: 1.465 MB / 0.6611 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004612/0.1676, allocations: 140.4 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.1676, allocations: 0 / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.629e-05/0.1677, allocations: 11.94 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.1678, allocations: 3.938 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.168, allocations: 27.91 kB / 0.6613 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.1682, allocations: 43.89 kB / 0.6613 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.1683, allocations: 27.94 kB / 0.6614 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.1684, allocations: 15.98 kB / 0.6614 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.1684, allocations: 19.86 kB / 0.6614 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1685, allocations: 4 kB / 0.6614 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1686, allocations: 31.97 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.1686, allocations: 8 kB / 0.6614 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.1687, allocations: 31.78 kB / 0.6615 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1689, allocations: 59.81 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1689, allocations: 0 / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.615e-06/0.1689, allocations: 3.938 kB / 0.6615 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.1689, allocations: 7.938 kB / 0.6615 GB, free: 11.6 MB / 0.4981 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.0005642/0.1695, allocations: 363.2 kB / 0.6619 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.1695, allocations: 12.03 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.171, allocations: 212.5 kB / 0.6621 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1712, allocations: 172.3 kB / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1712, allocations: 384 / 0.6623 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.1713, allocations: 8.375 kB / 0.6623 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000826/0.1721, allocations: 186 kB / 0.6624 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1721, allocations: 192 / 0.6624 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.1722, allocations: 7.938 kB / 0.6624 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1722, allocations: 8 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.1734, allocations: 287.5 kB / 0.6627 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.1748, allocations: 441.1 kB / 0.6631 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.1764, allocations: 286.2 kB / 0.6634 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/0.1769, allocations: 100.8 kB / 0.6635 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.177, allocations: 3.938 kB / 0.6635 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.177, allocations: 30.56 kB / 0.6636 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.177, allocations: 8 kB / 0.6636 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001724/0.1787, allocations: 305.3 kB / 0.6638 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.1788, allocations: 55.41 kB / 0.6639 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.179, allocations: 121.8 kB / 0.664 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.179, allocations: 25.7 kB / 0.664 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.1791, allocations: 84.14 kB / 0.6641 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.1791, allocations: 11.95 kB / 0.6641 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.1792, allocations: 17.7 kB / 0.6642 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1794, allocations: 318.8 kB / 0.6645 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.1799, allocations: 99.81 kB / 0.6646 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.1805, allocations: 91.88 kB / 0.6646 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009704/0.1815, allocations: 180.9 kB / 0.6648 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1815, allocations: 0 / 0.6648 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00112/0.1826, allocations: 217.4 kB / 0.665 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.1827, allocations: 9.562 kB / 0.665 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1827, allocations: 3.938 kB / 0.665 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.1827, allocations: 0 / 0.665 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003653/0.1831, allocations: 35.94 kB / 0.6651 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1831, allocations: 0 / 0.6651 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.1834, allocations: 31.89 kB / 0.6651 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.1834, allocations: 0 / 0.6651 GB, free: 7.715 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 0.0001571/0.1836, allocations: 125.8 kB / 0.6652 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.1836, allocations: 7.953 kB / 0.6652 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.592e-05/0.1837, allocations: 7.906 kB / 0.6652 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1837, allocations: 0 / 0.6652 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1837, allocations: 4 kB / 0.6652 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1838, allocations: 0 / 0.6652 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.1841, allocations: 217.5 kB / 0.6654 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1841, allocations: 0 / 0.6654 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.1845, allocations: 35.94 kB / 0.6655 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1845, allocations: 0 / 0.6655 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1845, allocations: 8 kB / 0.6655 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1845, allocations: 0 / 0.6655 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1845, allocations: 0 / 0.6655 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.1858, allocations: 315.5 kB / 0.6658 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.1858, allocations: 81.06 kB / 0.6659 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.1859, allocations: 3.984 kB / 0.6659 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.1862, allocations: 28 kB / 0.6659 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.1863, allocations: 7.984 kB / 0.6659 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1863, allocations: 4 kB / 0.6659 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.03e-05/0.1864, allocations: 95.27 kB / 0.666 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1864, allocations: 0 / 0.666 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003957/0.1868, allocations: 12 kB / 0.666 GB, free: 6.676 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.0001497/0.1869, allocations: 99.19 kB / 0.6661 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.1881, allocations: 199.7 kB / 0.6663 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1881, allocations: 3.938 kB / 0.6663 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00052/0.1886, allocations: 99.81 kB / 0.6664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.189, allocations: 8.266 kB / 0.6664 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1903, allocations: 261.1 kB / 0.6666 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1907, allocations: 0.6885 MB / 0.6673 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.1908, allocations: 23.98 kB / 0.6673 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.1909, allocations: 7.438 kB / 0.6673 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.1909, allocations: 0 / 0.6673 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of Templates: time 0.004376/0.1953, allocations: 0.9259 MB / 0.6683 GB, free: 4.312 MB / 0.4981 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)