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.00132/0.00132, allocations: 101.2 kB / 16.41 MB, free: 5.949 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.001259/0.001259, allocations: 193 kB / 17.34 MB, free: 5.578 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.839/0.839, allocations: 135.2 MB / 426.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 64.75 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1571, allocations: 80.93 MB / 0.6654 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002743/0.1598, allocations: 1.465 MB / 0.6668 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004158/0.1602, allocations: 140.4 kB / 0.6669 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.1603, allocations: 4 kB / 0.6669 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.559e-05/0.1603, allocations: 7.938 kB / 0.6669 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.046e-05/0.1604, allocations: 3.938 kB / 0.6669 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.1606, allocations: 31.89 kB / 0.667 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.1607, allocations: 39.91 kB / 0.667 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1608, allocations: 19.94 kB / 0.667 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.505e-05/0.1609, allocations: 11.98 kB / 0.667 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.1609, allocations: 27.86 kB / 0.6671 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.161, allocations: 4 kB / 0.6671 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.251e-05/0.1611, allocations: 31.97 kB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.1611, allocations: 7.984 kB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.1611, allocations: 27.86 kB / 0.6671 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1612, allocations: 63.8 kB / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1613, allocations: 0 / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1613, allocations: 0 / 0.6672 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.1613, allocations: 3.938 kB / 0.6672 GB, free: 3.816 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.0005303/0.1618, allocations: 363.2 kB / 0.6676 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1618, allocations: 9.109 kB / 0.6676 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.1629, allocations: 216.5 kB / 0.6678 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.163, allocations: 168.3 kB / 0.6679 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1631, allocations: 8.375 kB / 0.6679 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1631, allocations: 384 / 0.6679 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.1637, allocations: 198 kB / 0.6681 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1637, allocations: 192 / 0.6681 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.1637, allocations: 3.938 kB / 0.6681 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.1637, allocations: 0 / 0.6681 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009734/0.1647, allocations: 283.6 kB / 0.6684 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009648/0.1656, allocations: 452.6 kB / 0.6688 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1667, allocations: 282.2 kB / 0.6691 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.1671, allocations: 104.8 kB / 0.6692 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.1671, allocations: 8.062 kB / 0.6692 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1672, allocations: 30.56 kB / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1672, allocations: 0 / 0.6692 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001214/0.1684, allocations: 309.3 kB / 0.6695 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.1684, allocations: 51.41 kB / 0.6696 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1686, allocations: 125.8 kB / 0.6697 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1686, allocations: 25.7 kB / 0.6697 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.1687, allocations: 92.09 kB / 0.6698 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.1687, allocations: 11.95 kB / 0.6698 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.1687, allocations: 17.7 kB / 0.6698 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.1689, allocations: 322.8 kB / 0.6702 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003755/0.1693, allocations: 87.88 kB / 0.6702 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.1696, allocations: 103.9 kB / 0.6703 GB, free: 404 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006671/0.1703, allocations: 168.6 kB / 0.6705 GB, free: 232 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.1703, allocations: 3.938 kB / 0.6705 GB, free: 228 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007627/0.171, allocations: 221.7 kB / 0.6707 GB, free: 0 / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.1711, allocations: 4.047 kB / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1711, allocations: 0 / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1711, allocations: 0 / 0.6707 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.1713, allocations: 39.89 kB / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1713, allocations: 0 / 0.6708 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.1715, allocations: 27.95 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1715, allocations: 4 kB / 0.6708 GB, free: 15.93 MB / 0.5137 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.0001041/0.1716, allocations: 117.8 kB / 0.6709 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.1717, allocations: 11.94 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.1717, allocations: 11.91 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1717, allocations: 4 kB / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1717, allocations: 0 / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1717, allocations: 0 / 0.6709 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.172, allocations: 213.5 kB / 0.6711 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.172, allocations: 0 / 0.6711 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.1722, allocations: 39.88 kB / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1722, allocations: 0 / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1722, allocations: 0 / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1722, allocations: 0 / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1722, allocations: 0 / 0.6712 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008076/0.173, allocations: 311.2 kB / 0.6715 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.1731, allocations: 85.05 kB / 0.6715 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1731, allocations: 8 kB / 0.6715 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1733, allocations: 27.95 kB / 0.6716 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1734, allocations: 4 kB / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1734, allocations: 4 kB / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.731e-05/0.1735, allocations: 99.58 kB / 0.6717 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1735, allocations: 0 / 0.6717 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002289/0.1737, allocations: 15.94 kB / 0.6717 GB, free: 14.89 MB / 0.5137 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.0001483/0.1738, allocations: 103.2 kB / 0.6718 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007889/0.1746, allocations: 195.8 kB / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1746, allocations: 0 / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.175, allocations: 107.8 kB / 0.6721 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.1752, allocations: 4 kB / 0.6721 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/0.1762, allocations: 282.8 kB / 0.6724 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.1765, allocations: 0.6924 MB / 0.673 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.222e-05/0.1766, allocations: 11.44 kB / 0.673 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.1766, allocations: 0 / 0.673 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of Templates: time 0.002849/0.1795, allocations: 1.168 MB / 0.6742 GB, free: 12.28 MB / 0.5137 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)