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.005265/0.005265, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001342/0.001342, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.348/1.348, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9024/0.9024, allocations: 135.1 MB / 425.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 64.47 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1508, allocations: 80.93 MB / 0.5843 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002585/0.1534, allocations: 1.485 MB / 0.5858 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008088/0.1542, allocations: 475.8 kB / 0.5862 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.554e-05/0.1542, allocations: 0 / 0.5862 GB, free: 3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.1543, allocations: 4 kB / 0.5863 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.1544, allocations: 3.938 kB / 0.5863 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.1545, allocations: 11.98 kB / 0.5863 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.858e-05/0.1546, allocations: 31.92 kB / 0.5863 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.1547, allocations: 4 kB / 0.5863 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.1548, allocations: 15.92 kB / 0.5863 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.123e-05/0.1548, allocations: 7.922 kB / 0.5863 GB, free: 2.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1548, allocations: 8 kB / 0.5863 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.946e-05/0.1549, allocations: 19.98 kB / 0.5863 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.1549, allocations: 7.922 kB / 0.5864 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.155, allocations: 11.94 kB / 0.5864 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.167e-05/0.155, allocations: 19.95 kB / 0.5864 GB, free: 2.855 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.155, allocations: 4 kB / 0.5864 GB, free: 2.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1551, allocations: 0 / 0.5864 GB, free: 2.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.967e-06/0.1551, allocations: 0 / 0.5864 GB, free: 2.852 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.0004392/0.1555, allocations: 337.6 kB / 0.5867 GB, free: 2.477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1556, allocations: 19.97 kB / 0.5867 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.1556, allocations: 4.938 kB / 0.5867 GB, free: 2.453 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1557, allocations: 164.3 kB / 0.5869 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1557, allocations: 4.375 kB / 0.5869 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1558, allocations: 384 / 0.5869 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1559, allocations: 57.92 kB / 0.587 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.156, allocations: 0 / 0.587 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.156, allocations: 0 / 0.587 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.156, allocations: 0 / 0.587 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.1562, allocations: 39.95 kB / 0.587 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.1565, allocations: 244.9 kB / 0.5872 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1566, allocations: 42.53 kB / 0.5873 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.1567, allocations: 24.91 kB / 0.5873 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.1569, allocations: 89.09 kB / 0.5874 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1569, allocations: 30.56 kB / 0.5874 GB, free: 1.637 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.1569, allocations: 0 / 0.5874 GB, free: 1.637 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003618/0.1573, allocations: 85.62 kB / 0.5875 GB, free: 1.547 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1573, allocations: 51.41 kB / 0.5875 GB, free: 1.484 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.1574, allocations: 102 kB / 0.5876 GB, free: 1.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1574, allocations: 29.7 kB / 0.5877 GB, free: 1.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.1575, allocations: 84.08 kB / 0.5877 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.1575, allocations: 11.89 kB / 0.5878 GB, free: 1.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.1575, allocations: 13.72 kB / 0.5878 GB, free: 1.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1576, allocations: 310.8 kB / 0.5881 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.606e-05/0.1577, allocations: 15.98 kB / 0.5881 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.1578, allocations: 23.97 kB / 0.5881 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.158, allocations: 44.77 kB / 0.5881 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.158, allocations: 0 / 0.5881 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.1582, allocations: 65.56 kB / 0.5882 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1582, allocations: 8 kB / 0.5882 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1582, allocations: 4.094 kB / 0.5882 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1582, allocations: 0 / 0.5882 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.791e-05/0.1583, allocations: 11.92 kB / 0.5882 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1583, allocations: 4.25 kB / 0.5882 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.1584, allocations: 3.938 kB / 0.5882 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1584, allocations: 15.88 kB / 0.5882 GB, free: 0.707 MB / 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 8.5e-05/0.1585, allocations: 113.8 kB / 0.5884 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.1585, allocations: 0 / 0.5884 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1587, allocations: 76.77 kB / 0.5884 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.1588, allocations: 0 / 0.5884 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1588, allocations: 0 / 0.5884 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1588, allocations: 0 / 0.5884 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.1589, allocations: 161.6 kB / 0.5886 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1589, allocations: 0 / 0.5886 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.613e-05/0.159, allocations: 7.984 kB / 0.5886 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.159, allocations: 0 / 0.5886 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.159, allocations: 12.03 kB / 0.5886 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.159, allocations: 3.938 kB / 0.5886 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.159, allocations: 0 / 0.5886 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1593, allocations: 159.5 kB / 0.5888 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.1593, allocations: 81.02 kB / 0.5888 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1593, allocations: 3.984 kB / 0.5888 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.1594, allocations: 12.08 kB / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.1595, allocations: 0 / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.1595, allocations: 7.984 kB / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.337e-05/0.1596, allocations: 79.28 kB / 0.5889 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1596, allocations: 0 / 0.5889 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002238/0.1598, allocations: 8 kB / 0.5889 GB, free: 15.89 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.0001517/0.1599, allocations: 99.25 kB / 0.589 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.1602, allocations: 47.89 kB / 0.5891 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1602, allocations: 0 / 0.5891 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.339e-05/0.1603, allocations: 15.98 kB / 0.5891 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1606, allocations: 14.28 kB / 0.5891 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002618/0.1608, allocations: 145.1 kB / 0.5893 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.1611, allocations: 0.677 MB / 0.5899 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.1611, allocations: 7.438 kB / 0.5899 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1611, allocations: 4 kB / 0.5899 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.001856/0.163, allocations: 0.6359 MB / 0.5905 GB, free: 14.19 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)