Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008891/0.0008891, 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.001007/0.001007, 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.241/1.241, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8648/0.8648, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002846, allocations: 11.98 kB / 0.5068 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 82.3 MB / 0.5872 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.001699/0.1566, allocations: 1.442 MB / 0.5886 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.1575, allocations: 0.5873 MB / 0.5892 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.1575, allocations: 4 kB / 0.5892 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.1576, allocations: 3.938 kB / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.1576, allocations: 19.91 kB / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.1581, allocations: 138.9 kB / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.98e-05/0.1582, allocations: 75.84 kB / 0.5894 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1583, allocations: 45.25 kB / 0.5894 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.825e-05/0.1584, allocations: 51.83 kB / 0.5895 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.661e-05/0.1585, allocations: 35.78 kB / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1585, allocations: 4 kB / 0.5895 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.21e-05/0.1586, allocations: 43.89 kB / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.1586, allocations: 19.92 kB / 0.5896 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.1587, allocations: 41.64 kB / 0.5896 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.1588, allocations: 100 kB / 0.5897 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.1588, allocations: 3.938 kB / 0.5897 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1588, allocations: 0 / 0.5897 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.1588, allocations: 0 / 0.5897 GB, free: 0.5195 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004781/0.1593, allocations: 419 kB / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1593, allocations: 12.03 kB / 0.5901 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007952/0.1601, allocations: 135.6 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1603, allocations: 186.8 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.282e-05/0.1604, allocations: 71.39 kB / 0.5905 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.1604, allocations: 12 kB / 0.5905 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.1609, allocations: 177.5 kB / 0.5907 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1609, allocations: 7.984 kB / 0.5907 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.1609, allocations: 8 kB / 0.5907 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1609, allocations: 0 / 0.5907 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.1615, allocations: 191.8 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009557/0.1625, allocations: 0.494 MB / 0.5914 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009364/0.1634, allocations: 274.3 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1635, allocations: 4 kB / 0.5916 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.1635, allocations: 34.5 kB / 0.5917 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 9.81e-07/0.1635, allocations: 0 / 0.5917 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009671/0.1645, allocations: 313.6 kB / 0.592 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1645, allocations: 55.41 kB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.1646, allocations: 136.2 kB / 0.5922 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1646, allocations: 29.64 kB / 0.5922 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.1647, allocations: 116.1 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1647, allocations: 15.73 kB / 0.5923 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/0.1648, allocations: 8 kB / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.1649, allocations: 318.8 kB / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.1651, allocations: 91.92 kB / 0.5927 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.1655, allocations: 110.5 kB / 0.5928 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.1657, allocations: 91.92 kB / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1658, allocations: 0 / 0.5929 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006436/0.1664, allocations: 237.4 kB / 0.5931 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1664, allocations: 9.719 kB / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1664, allocations: 0 / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1665, allocations: 0 / 0.5931 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.1667, allocations: 51.95 kB / 0.5932 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1667, allocations: 3.938 kB / 0.5932 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.1669, allocations: 35.86 kB / 0.5932 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.167, allocations: 4 kB / 0.5932 GB, free: 12.7 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 9.137e-05/0.1671, allocations: 121.8 kB / 0.5934 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.1671, allocations: 7.906 kB / 0.5934 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006909/0.1678, allocations: 238.2 kB / 0.5936 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1678, allocations: 3.938 kB / 0.5936 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1678, allocations: 4 kB / 0.5936 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.1678, allocations: 0 / 0.5936 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.1681, allocations: 246.1 kB / 0.5938 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1681, allocations: 0 / 0.5938 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.1683, allocations: 48.27 kB / 0.5939 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1683, allocations: 0 / 0.5939 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1683, allocations: 7.984 kB / 0.5939 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1683, allocations: 0 / 0.5939 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1683, allocations: 3.938 kB / 0.5939 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006848/0.169, allocations: 327.2 kB / 0.5942 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.1691, allocations: 81.02 kB / 0.5943 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1691, allocations: 4 kB / 0.5943 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.1694, allocations: 43.95 kB / 0.5943 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1694, allocations: 7.969 kB / 0.5943 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1695, allocations: 8 kB / 0.5943 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.102e-05/0.1695, allocations: 109.1 kB / 0.5944 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1695, allocations: 0 / 0.5944 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002405/0.1698, allocations: 23.91 kB / 0.5945 GB, free: 11.34 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.0001086/0.1699, allocations: 99.19 kB / 0.5946 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000632/0.1705, allocations: 199.8 kB / 0.5947 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1706, allocations: 0 / 0.5947 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.1709, allocations: 104 kB / 0.5948 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.1711, allocations: 11.94 kB / 0.5949 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005838/0.1717, allocations: 305.4 kB / 0.5952 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.172, allocations: 0.7004 MB / 0.5958 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.276e-05/0.1721, allocations: 12.19 kB / 0.5958 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.1721, allocations: 15.42 kB / 0.5959 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1721, allocations: 0 / 0.5959 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of Templates: time 0.003228/0.1754, allocations: 1.301 MB / 0.5971 GB, free: 8.555 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) Environment - environmentSimulation: