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.001639/0.001639, allocations: 109.9 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.001815/0.001815, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8412/0.8412, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.38 kB / 0.5863 GB, free: 21.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1444, allocations: 80.93 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002654/0.1471, allocations: 1.454 MB / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003938/0.1475, allocations: 144.4 kB / 0.6669 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.1476, allocations: 0 / 0.6669 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.88e-05/0.1476, allocations: 3.938 kB / 0.6669 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.1477, allocations: 7.938 kB / 0.6669 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.1479, allocations: 27.91 kB / 0.6669 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.858e-05/0.148, allocations: 43.89 kB / 0.6669 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.1482, allocations: 27.92 kB / 0.667 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.1482, allocations: 12 kB / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.1483, allocations: 23.86 kB / 0.667 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.1483, allocations: 4 kB / 0.667 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.871e-05/0.1484, allocations: 31.97 kB / 0.667 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.1484, allocations: 11.98 kB / 0.667 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.184e-05/0.1485, allocations: 23.86 kB / 0.6671 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.1486, allocations: 63.8 kB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1486, allocations: 0 / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.835e-06/0.1486, allocations: 0 / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1486, allocations: 7.875 kB / 0.6671 GB, free: 3.91 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.0004506/0.1491, allocations: 359.3 kB / 0.6675 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.1491, allocations: 13.11 kB / 0.6675 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.1502, allocations: 212.5 kB / 0.6677 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1504, allocations: 172.3 kB / 0.6679 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1504, allocations: 4.375 kB / 0.6679 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1504, allocations: 4.375 kB / 0.6679 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005738/0.151, allocations: 198 kB / 0.6681 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.151, allocations: 192 / 0.6681 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.151, allocations: 7.938 kB / 0.6681 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.151, allocations: 4 kB / 0.6681 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008441/0.1519, allocations: 287.5 kB / 0.6683 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009033/0.1528, allocations: 432.9 kB / 0.6688 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.1539, allocations: 290.2 kB / 0.669 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.1543, allocations: 104.7 kB / 0.6691 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1543, allocations: 0 / 0.6691 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.1544, allocations: 30.56 kB / 0.6692 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.1544, allocations: 0 / 0.6692 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001191/0.1556, allocations: 317.2 kB / 0.6695 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1556, allocations: 51.41 kB / 0.6695 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/0.1557, allocations: 117.8 kB / 0.6696 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1557, allocations: 25.7 kB / 0.6697 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.1558, allocations: 88.14 kB / 0.6697 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.1558, allocations: 23.89 kB / 0.6698 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.1559, allocations: 17.66 kB / 0.6698 GB, free: 1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.156, allocations: 322.8 kB / 0.6701 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.1564, allocations: 91.88 kB / 0.6702 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.1567, allocations: 99.88 kB / 0.6703 GB, free: 500 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006662/0.1574, allocations: 168.6 kB / 0.6704 GB, free: 328 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1574, allocations: 3.938 kB / 0.6704 GB, free: 324 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007513/0.1582, allocations: 217.4 kB / 0.6706 GB, free: 100 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1582, allocations: 4 kB / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1582, allocations: 384 / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1582, allocations: 0 / 0.6706 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.1585, allocations: 43.88 kB / 0.6707 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1585, allocations: 0 / 0.6707 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1587, allocations: 35.89 kB / 0.6707 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1587, allocations: 0 / 0.6707 GB, free: 16 kB / 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.0001119/0.1588, allocations: 117.8 kB / 0.6708 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.1589, allocations: 7.906 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.1589, allocations: 7.906 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1589, allocations: 4 kB / 0.6709 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.159, allocations: 4 kB / 0.6709 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.159, allocations: 0 / 0.6709 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/0.1592, allocations: 209.5 kB / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1592, allocations: 0 / 0.6711 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.1594, allocations: 31.94 kB / 0.6711 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.1594, allocations: 0 / 0.6711 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1595, allocations: 4 kB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1595, allocations: 0 / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1595, allocations: 4 kB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007987/0.1603, allocations: 315.5 kB / 0.6714 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.1603, allocations: 81.06 kB / 0.6715 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1604, allocations: 7.984 kB / 0.6715 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.1606, allocations: 35.95 kB / 0.6715 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1606, allocations: 0 / 0.6715 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1607, allocations: 7.984 kB / 0.6715 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.415e-05/0.1607, allocations: 91.27 kB / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1607, allocations: 0 / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002409/0.161, allocations: 12 kB / 0.6716 GB, free: 15 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.0001221/0.1611, allocations: 108.5 kB / 0.6717 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007881/0.1619, allocations: 191.8 kB / 0.6719 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1619, allocations: 0 / 0.6719 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.1623, allocations: 111.7 kB / 0.672 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.1625, allocations: 5.719 kB / 0.672 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009175/0.1635, allocations: 289.9 kB / 0.6723 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1637, allocations: 0.6885 MB / 0.673 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.1638, allocations: 11.72 kB / 0.673 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1638, allocations: 0 / 0.673 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.002437/0.1662, allocations: 1.178 MB / 0.6741 GB, free: 12.36 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)