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.0009387/0.0009389, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000999/0.0009992, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.304/1.304, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9038/0.9038, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003415, allocations: 12 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 82.31 MB / 0.5886 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.001499/0.1418, allocations: 1.173 MB / 0.5898 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003957/0.1422, allocations: 148.4 kB / 0.5899 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.1423, allocations: 0 / 0.5899 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.1423, allocations: 0 / 0.5899 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.797e-05/0.1424, allocations: 11.91 kB / 0.5899 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.1425, allocations: 19.98 kB / 0.5899 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.062e-05/0.1426, allocations: 31.92 kB / 0.59 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1427, allocations: 27.98 kB / 0.59 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.844e-05/0.1428, allocations: 11.92 kB / 0.59 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.799e-05/0.1428, allocations: 19.86 kB / 0.59 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.1428, allocations: 0 / 0.59 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.1429, allocations: 35.97 kB / 0.5901 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.143, allocations: 7.938 kB / 0.5901 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.143, allocations: 41.56 kB / 0.5901 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.82e-05/0.1431, allocations: 43.92 kB / 0.5901 GB, free: 1.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1431, allocations: 0 / 0.5901 GB, free: 1.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1431, allocations: 4 kB / 0.5902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.1431, allocations: 0 / 0.5902 GB, free: 1.02 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.0004098/0.1435, allocations: 355.7 kB / 0.5905 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.1436, allocations: 15.95 kB / 0.5905 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.1447, allocations: 244.5 kB / 0.5907 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1448, allocations: 168.3 kB / 0.5909 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1449, allocations: 4.375 kB / 0.5909 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1449, allocations: 384 / 0.5909 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/0.1455, allocations: 214 kB / 0.5911 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1455, allocations: 192 / 0.5911 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1455, allocations: 7.938 kB / 0.5911 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1456, allocations: 3.938 kB / 0.5911 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009076/0.1465, allocations: 315.6 kB / 0.5914 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009117/0.1474, allocations: 461.4 kB / 0.5919 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.1486, allocations: 342.1 kB / 0.5922 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.149, allocations: 124.8 kB / 0.5923 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.149, allocations: 7.984 kB / 0.5923 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1491, allocations: 30.56 kB / 0.5923 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1491, allocations: 0 / 0.5923 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.00123/0.1503, allocations: 369.2 kB / 0.5927 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.1503, allocations: 51.41 kB / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.1504, allocations: 121.8 kB / 0.5929 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.1505, allocations: 25.7 kB / 0.5929 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.1505, allocations: 92.06 kB / 0.593 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1506, allocations: 15.75 kB / 0.593 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.1506, allocations: 13.72 kB / 0.593 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1507, allocations: 318.8 kB / 0.5933 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.1511, allocations: 119.9 kB / 0.5934 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.1515, allocations: 111.9 kB / 0.5935 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/0.1522, allocations: 208.6 kB / 0.5937 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1522, allocations: 0 / 0.5937 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008039/0.153, allocations: 249.5 kB / 0.594 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1531, allocations: 4 kB / 0.594 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1531, allocations: 4 kB / 0.594 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1531, allocations: 7.938 kB / 0.594 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.1534, allocations: 44.31 kB / 0.594 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1534, allocations: 0 / 0.594 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.1536, allocations: 39.95 kB / 0.5941 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.1536, allocations: 4 kB / 0.5941 GB, free: 12.78 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.706e-05/0.1537, allocations: 125.7 kB / 0.5942 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.1537, allocations: 7.906 kB / 0.5942 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.1538, allocations: 7.906 kB / 0.5942 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1538, allocations: 0 / 0.5942 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1538, allocations: 0 / 0.5942 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1538, allocations: 0 / 0.5942 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.154, allocations: 209.5 kB / 0.5944 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.154, allocations: 0 / 0.5944 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.1543, allocations: 47.94 kB / 0.5944 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1543, allocations: 0 / 0.5944 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1543, allocations: 0 / 0.5944 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1543, allocations: 4 kB / 0.5944 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1543, allocations: 0 / 0.5944 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/0.1552, allocations: 355.1 kB / 0.5948 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.1552, allocations: 81.09 kB / 0.5949 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.1552, allocations: 8 kB / 0.5949 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.1555, allocations: 35.95 kB / 0.5949 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1555, allocations: 4.375 kB / 0.5949 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.1555, allocations: 3.938 kB / 0.5949 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.96e-05/0.1556, allocations: 95.27 kB / 0.595 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1556, allocations: 0 / 0.595 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002319/0.1558, allocations: 16 kB / 0.595 GB, free: 11.7 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.0001058/0.156, allocations: 103.2 kB / 0.5951 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008135/0.1568, allocations: 231.7 kB / 0.5953 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1568, allocations: 7.938 kB / 0.5953 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.1572, allocations: 115.9 kB / 0.5955 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.1575, allocations: 12 kB / 0.5955 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009379/0.1584, allocations: 322.1 kB / 0.5958 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.1586, allocations: 0.6848 MB / 0.5964 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.1587, allocations: 15.42 kB / 0.5965 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1587, allocations: 4 kB / 0.5965 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.002276/0.161, allocations: 1.169 MB / 0.5976 GB, free: 8.992 MB / 0.4981 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)