Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007945/0.0007945, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008328/0.0008328, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 223.2 MB / 239.9 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8637/0.8637, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003254, allocations: 13.67 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 82.3 MB / 0.5872 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.001683/0.16, allocations: 1.438 MB / 0.5886 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008233/0.1608, allocations: 0.5914 MB / 0.5892 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.1609, allocations: 0 / 0.5892 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.1609, allocations: 7.875 kB / 0.5892 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.104e-05/0.161, allocations: 19.95 kB / 0.5892 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.1614, allocations: 154.9 kB / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.178e-05/0.1615, allocations: 67.89 kB / 0.5894 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1616, allocations: 45.2 kB / 0.5894 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.769e-05/0.1617, allocations: 47.89 kB / 0.5895 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.1618, allocations: 39.78 kB / 0.5895 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1618, allocations: 4 kB / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.18e-05/0.1619, allocations: 35.91 kB / 0.5896 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.1619, allocations: 23.91 kB / 0.5896 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.162, allocations: 41.64 kB / 0.5896 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.1621, allocations: 96.03 kB / 0.5897 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.1621, allocations: 0 / 0.5897 GB, free: 496 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.041e-06/0.1621, allocations: 3.938 kB / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1621, allocations: 0 / 0.5897 GB, free: 492 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004458/0.1625, allocations: 419 kB / 0.5901 GB, free: 24 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.609e-05/0.1626, allocations: 12.03 kB / 0.5901 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008073/0.1634, allocations: 147.6 kB / 0.5903 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1635, allocations: 182.8 kB / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.46e-05/0.1636, allocations: 67.39 kB / 0.5905 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.1636, allocations: 8 kB / 0.5905 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004955/0.1641, allocations: 185.5 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.1642, allocations: 0 / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.1642, allocations: 3.984 kB / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.1642, allocations: 0 / 0.5907 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.1648, allocations: 195.8 kB / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009744/0.1658, allocations: 0.5018 MB / 0.5914 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000969/0.1668, allocations: 262.3 kB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1668, allocations: 8.125 kB / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.1668, allocations: 38.5 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1668, allocations: 4 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009825/0.1678, allocations: 313.5 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1679, allocations: 51.41 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.168, allocations: 136.4 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.168, allocations: 29.7 kB / 0.5922 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.1681, allocations: 112.1 kB / 0.5923 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1681, allocations: 23.73 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-06/0.1681, allocations: 4 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1682, allocations: 322.8 kB / 0.5926 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.1685, allocations: 91.92 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.1688, allocations: 114.5 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.1691, allocations: 91.92 kB / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1691, allocations: 0 / 0.5929 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006674/0.1698, allocations: 233.4 kB / 0.5931 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1699, allocations: 10.5 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1699, allocations: 4.062 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1699, allocations: 0 / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002648/0.1702, allocations: 47.89 kB / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1702, allocations: 0 / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1704, allocations: 43.86 kB / 0.5932 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1704, allocations: 4 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.599e-05/0.1705, allocations: 117.8 kB / 0.5934 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.1705, allocations: 7.906 kB / 0.5934 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006938/0.1712, allocations: 242.2 kB / 0.5936 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1712, allocations: 4 kB / 0.5936 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1713, allocations: 3.938 kB / 0.5936 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1713, allocations: 3.984 kB / 0.5936 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.1715, allocations: 242.1 kB / 0.5938 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1715, allocations: 0 / 0.5938 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.1717, allocations: 47.95 kB / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1717, allocations: 0 / 0.5939 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1718, allocations: 3.984 kB / 0.5939 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1718, allocations: 384 / 0.5939 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1718, allocations: 3.938 kB / 0.5939 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.1725, allocations: 327.2 kB / 0.5942 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.1725, allocations: 85.02 kB / 0.5943 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1725, allocations: 0 / 0.5943 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.1728, allocations: 47.95 kB / 0.5943 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.33e-05/0.1729, allocations: 7.938 kB / 0.5943 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1729, allocations: 3.984 kB / 0.5943 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.504e-05/0.173, allocations: 109.3 kB / 0.5944 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.173, allocations: 0 / 0.5944 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002438/0.1732, allocations: 27.91 kB / 0.5945 GB, free: 11.29 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001102/0.1733, allocations: 99.25 kB / 0.5946 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006453/0.174, allocations: 199.8 kB / 0.5948 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.174, allocations: 4.125 kB / 0.5948 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.1743, allocations: 91.92 kB / 0.5948 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.1745, allocations: 15.94 kB / 0.5949 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.1751, allocations: 297.4 kB / 0.5951 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1754, allocations: 0.7043 MB / 0.5958 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.213e-05/0.1755, allocations: 12.19 kB / 0.5958 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.1755, allocations: 19.42 kB / 0.5959 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of SimCode: time 1.463e-06/0.1755, allocations: 0 / 0.5959 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of Templates: time 0.003077/0.1786, allocations: 1.301 MB / 0.5971 GB, free: 8.508 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: