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.001342/0.001341, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001398/0.001398, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8165/0.8165, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 65.06 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1444, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00282/0.1473, allocations: 1.467 MB / 0.6618 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004355/0.1477, allocations: 140.5 kB / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.1478, allocations: 0 / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.1478, allocations: 7.922 kB / 0.6619 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.1479, allocations: 7.938 kB / 0.6619 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.1482, allocations: 31.89 kB / 0.6619 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.1483, allocations: 35.92 kB / 0.662 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1484, allocations: 27.92 kB / 0.662 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.1485, allocations: 11.98 kB / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.741e-05/0.1485, allocations: 27.86 kB / 0.662 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1486, allocations: 4 kB / 0.662 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.512e-05/0.1487, allocations: 27.97 kB / 0.6621 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.1487, allocations: 15.98 kB / 0.6621 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.1487, allocations: 19.88 kB / 0.6621 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.1489, allocations: 63.84 kB / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1489, allocations: 0 / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.955e-06/0.1489, allocations: 0 / 0.6622 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.1489, allocations: 3.938 kB / 0.6622 GB, free: 8.352 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.0005078/0.1494, allocations: 359.4 kB / 0.6625 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1495, allocations: 12.03 kB / 0.6625 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.1506, allocations: 212.5 kB / 0.6627 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.1507, allocations: 180.2 kB / 0.6629 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1507, allocations: 384 / 0.6629 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1508, allocations: 4.375 kB / 0.6629 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.1513, allocations: 194 kB / 0.6631 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.1513, allocations: 192 / 0.6631 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.1514, allocations: 3.938 kB / 0.6631 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1514, allocations: 3.938 kB / 0.6631 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008346/0.1522, allocations: 279.6 kB / 0.6634 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.1531, allocations: 445 kB / 0.6638 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1542, allocations: 290.2 kB / 0.6641 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.1545, allocations: 104.8 kB / 0.6642 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.1546, allocations: 0 / 0.6642 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1546, allocations: 30.56 kB / 0.6642 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1546, allocations: 0 / 0.6642 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001154/0.1558, allocations: 317.2 kB / 0.6645 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.1558, allocations: 51.41 kB / 0.6645 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.498e-05/0.1559, allocations: 117.8 kB / 0.6647 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1559, allocations: 25.7 kB / 0.6647 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.156, allocations: 92.12 kB / 0.6648 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.156, allocations: 11.84 kB / 0.6648 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.951e-05/0.1561, allocations: 17.72 kB / 0.6648 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1562, allocations: 322.8 kB / 0.6651 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.1566, allocations: 91.88 kB / 0.6652 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000343/0.1569, allocations: 95.88 kB / 0.6653 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000646/0.1576, allocations: 180.6 kB / 0.6655 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1576, allocations: 3.938 kB / 0.6655 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007265/0.1583, allocations: 217.4 kB / 0.6657 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1583, allocations: 4 kB / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1583, allocations: 0 / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1584, allocations: 0 / 0.6657 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.1586, allocations: 35.95 kB / 0.6657 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.1586, allocations: 0 / 0.6657 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.1588, allocations: 39.94 kB / 0.6657 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.1588, allocations: 0 / 0.6657 GB, free: 4.461 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.421e-05/0.1589, allocations: 113.8 kB / 0.6659 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.159, allocations: 7.906 kB / 0.6659 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.159, allocations: 12.22 kB / 0.6659 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.159, allocations: 0 / 0.6659 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.159, allocations: 8.375 kB / 0.6659 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1591, allocations: 3.984 kB / 0.6659 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.1593, allocations: 209.5 kB / 0.6661 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1593, allocations: 4 kB / 0.6661 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.1595, allocations: 31.89 kB / 0.6661 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1595, allocations: 0 / 0.6661 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1596, allocations: 7.984 kB / 0.6661 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1596, allocations: 0 / 0.6661 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1596, allocations: 0 / 0.6661 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.1603, allocations: 311.2 kB / 0.6664 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1604, allocations: 81.02 kB / 0.6665 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1604, allocations: 0 / 0.6665 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.1606, allocations: 35.95 kB / 0.6665 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.1607, allocations: 3.984 kB / 0.6665 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1607, allocations: 4 kB / 0.6665 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.1608, allocations: 95.2 kB / 0.6666 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1608, allocations: 0 / 0.6666 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002355/0.161, allocations: 12 kB / 0.6666 GB, free: 3.434 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.0001183/0.1611, allocations: 103.2 kB / 0.6667 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007384/0.1619, allocations: 199.7 kB / 0.6669 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1619, allocations: 0 / 0.6669 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.1622, allocations: 99.81 kB / 0.667 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1625, allocations: 8 kB / 0.667 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008894/0.1634, allocations: 290.8 kB / 0.6673 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1636, allocations: 0.6923 MB / 0.668 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.1637, allocations: 11.42 kB / 0.668 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1637, allocations: 4 kB / 0.668 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of Templates: time 0.002389/0.1661, allocations: 1.173 MB / 0.6692 GB, free: 0.7969 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)