Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108 kB / 15.6 MB, free: 132 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.001452/0.001452, allocations: 198 kB / 16.54 MB, free: 6.672 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.84 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1559, allocations: 80.92 MB / 0.5844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.00263/0.1586, allocations: 1.437 MB / 0.5858 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007051/0.1593, allocations: 457.5 kB / 0.5862 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.004e-05/0.1594, allocations: 3.938 kB / 0.5862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.1594, allocations: 7.938 kB / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.764e-05/0.1594, allocations: 3.938 kB / 0.5862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.1596, allocations: 23.97 kB / 0.5862 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.081e-05/0.1597, allocations: 31.86 kB / 0.5863 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.072e-05/0.1598, allocations: 4 kB / 0.5863 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.1598, allocations: 11.92 kB / 0.5863 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.288e-05/0.1599, allocations: 11.94 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.1599, allocations: 4 kB / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.534e-05/0.16, allocations: 19.97 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.16, allocations: 8 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.16, allocations: 15.92 kB / 0.5863 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.566e-05/0.1601, allocations: 23.91 kB / 0.5864 GB, free: 2.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1601, allocations: 3.984 kB / 0.5864 GB, free: 2.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1601, allocations: 0 / 0.5864 GB, free: 2.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1601, allocations: 4 kB / 0.5864 GB, free: 2.488 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004142/0.1606, allocations: 339.7 kB / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1606, allocations: 8.031 kB / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.1606, allocations: 4.938 kB / 0.5867 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.1607, allocations: 176.2 kB / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1608, allocations: 384 / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.1608, allocations: 4.375 kB / 0.5869 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.1609, allocations: 53.98 kB / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1609, allocations: 0 / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.161, allocations: 0 / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.161, allocations: 0 / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.1611, allocations: 39.95 kB / 0.587 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.1614, allocations: 244.9 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1615, allocations: 42.48 kB / 0.5872 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.1616, allocations: 24.91 kB / 0.5873 GB, free: 1.418 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.1618, allocations: 77.11 kB / 0.5873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1618, allocations: 38.56 kB / 0.5874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1618, allocations: 0 / 0.5874 GB, free: 1.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003359/0.1621, allocations: 85.58 kB / 0.5875 GB, free: 1.188 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1622, allocations: 51.41 kB / 0.5875 GB, free: 1.125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.53e-05/0.1623, allocations: 101.8 kB / 0.5876 GB, free: 1.016 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1623, allocations: 29.83 kB / 0.5876 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.1623, allocations: 84.14 kB / 0.5877 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.1623, allocations: 11.89 kB / 0.5877 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.1624, allocations: 21.64 kB / 0.5877 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1625, allocations: 310.8 kB / 0.588 GB, free: 0.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.1626, allocations: 15.98 kB / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.1627, allocations: 20.17 kB / 0.5881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.1628, allocations: 48.81 kB / 0.5881 GB, free: 468 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1628, allocations: 4 kB / 0.5881 GB, free: 464 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.163, allocations: 69.52 kB / 0.5882 GB, free: 388 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.163, allocations: 7.984 kB / 0.5882 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1631, allocations: 4 kB / 0.5882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1631, allocations: 4.031 kB / 0.5882 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.1632, allocations: 4 kB / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.1632, allocations: 0 / 0.5882 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.1632, allocations: 11.92 kB / 0.5882 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.1632, allocations: 0 / 0.5882 GB, free: 356 kB / 494.1 MB 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 (2): * Single equations (assignments): 2 * 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 6.69e-05/0.1633, allocations: 113.8 kB / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1633, allocations: 4 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.1636, allocations: 76.77 kB / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1636, allocations: 0 / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1636, allocations: 0 / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1636, allocations: 3.984 kB / 0.5884 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.1637, allocations: 161.6 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1638, allocations: 4 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.1638, allocations: 7.938 kB / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1638, allocations: 0 / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.1638, allocations: 0 / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1638, allocations: 32 / 0.5886 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1638, allocations: 8 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1641, allocations: 163.5 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.1641, allocations: 81.02 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.1641, allocations: 0 / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.1642, allocations: 7.984 kB / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.1642, allocations: 8.031 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.1642, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.247e-05/0.1643, allocations: 87.27 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1643, allocations: 0 / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002178/0.1645, allocations: 12 kB / 0.5889 GB, free: 15.52 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 (2): * Single equations (assignments): 2 * 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.0001301/0.1647, allocations: 103.1 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1649, allocations: 47.95 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1649, allocations: 0 / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.198e-05/0.165, allocations: 15.98 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1652, allocations: 11.94 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002376/0.1655, allocations: 113.4 kB / 0.5892 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.1657, allocations: 0.6847 MB / 0.5899 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.199e-05/0.1658, allocations: 3.938 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.1658, allocations: 7.438 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1658, allocations: 0 / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.002375/0.1682, allocations: 0.5511 MB / 0.5904 GB, free: 13.93 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)