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.006447/0.006447, 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.001126/0.001126, allocations: 192.5 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.306/1.306, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9166/0.9166, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 64.44 kB / 0.5053 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1453, allocations: 80.92 MB / 0.5843 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002891/0.1483, allocations: 1.829 MB / 0.5861 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1493, allocations: 0.6555 MB / 0.5868 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.111e-05/0.1494, allocations: 4 kB / 0.5868 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.1494, allocations: 3.938 kB / 0.5868 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.1495, allocations: 15.86 kB / 0.5868 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.15, allocations: 169.1 kB / 0.5869 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1501, allocations: 111.7 kB / 0.5871 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1502, allocations: 49.08 kB / 0.5871 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1504, allocations: 67.78 kB / 0.5872 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.562e-05/0.1505, allocations: 47.75 kB / 0.5872 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1505, allocations: 4 kB / 0.5872 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1506, allocations: 43.97 kB / 0.5873 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.1506, allocations: 31.89 kB / 0.5873 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.1507, allocations: 43.73 kB / 0.5873 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1508, allocations: 104 kB / 0.5874 GB, free: 1.801 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1509, allocations: 0 / 0.5874 GB, free: 1.801 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1509, allocations: 0 / 0.5874 GB, free: 1.801 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.1509, allocations: 0 / 0.5874 GB, free: 1.801 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.000578/0.1515, allocations: 439 kB / 0.5878 GB, free: 1.324 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1515, allocations: 8.031 kB / 0.5879 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008671/0.1524, allocations: 108.7 kB / 0.588 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1525, allocations: 192.1 kB / 0.5881 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.21e-05/0.1526, allocations: 63.91 kB / 0.5882 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1526, allocations: 8.375 kB / 0.5882 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005368/0.1532, allocations: 169.7 kB / 0.5884 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1532, allocations: 0 / 0.5884 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.1532, allocations: 4 kB / 0.5884 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.1532, allocations: 8 kB / 0.5884 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.1539, allocations: 151.8 kB / 0.5885 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1549, allocations: 485.8 kB / 0.589 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.1559, allocations: 222.3 kB / 0.5892 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.1563, allocations: 88.83 kB / 0.5893 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1563, allocations: 4 kB / 0.5893 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1563, allocations: 30.56 kB / 0.5893 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1563, allocations: 0 / 0.5893 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009739/0.1573, allocations: 261.5 kB / 0.5896 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.1573, allocations: 55.41 kB / 0.5896 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1575, allocations: 139.7 kB / 0.5898 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1575, allocations: 29.7 kB / 0.5898 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.1576, allocations: 104.2 kB / 0.5899 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.1576, allocations: 27.66 kB / 0.5899 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.1577, allocations: 29.64 kB / 0.5899 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1578, allocations: 318.8 kB / 0.5902 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/0.1581, allocations: 75.86 kB / 0.5903 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002982/0.1584, allocations: 98.73 kB / 0.5904 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.159, allocations: 166.4 kB / 0.5906 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.159, allocations: 0 / 0.5906 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006413/0.1596, allocations: 197.4 kB / 0.5908 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1596, allocations: 4 kB / 0.5908 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.1597, allocations: 8.062 kB / 0.5908 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1597, allocations: 7.875 kB / 0.5908 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.16, allocations: 35.95 kB / 0.5908 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.16, allocations: 0 / 0.5908 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.1602, allocations: 27.95 kB / 0.5908 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1602, allocations: 4 kB / 0.5908 GB, free: 14.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.1603, allocations: 121.8 kB / 0.591 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.1604, allocations: 7.906 kB / 0.591 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.1611, allocations: 210.1 kB / 0.5912 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1611, allocations: 4 kB / 0.5912 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1611, allocations: 4 kB / 0.5912 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1611, allocations: 3.984 kB / 0.5912 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.1614, allocations: 242.1 kB / 0.5914 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1614, allocations: 0 / 0.5914 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.1616, allocations: 31.95 kB / 0.5914 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1616, allocations: 0 / 0.5914 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1617, allocations: 7.922 kB / 0.5914 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1617, allocations: 0 / 0.5914 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1617, allocations: 0 / 0.5914 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000674/0.1623, allocations: 291.4 kB / 0.5917 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.1624, allocations: 85.02 kB / 0.5918 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1624, allocations: 7.938 kB / 0.5918 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003001/0.1627, allocations: 35.89 kB / 0.5918 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.1628, allocations: 7.984 kB / 0.5919 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.1628, allocations: 7.984 kB / 0.5919 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.674e-05/0.1629, allocations: 105.7 kB / 0.592 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1629, allocations: 3.938 kB / 0.592 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002787/0.1632, allocations: 24 kB / 0.592 GB, free: 12.78 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 (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.0001237/0.1633, allocations: 99.25 kB / 0.5921 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006335/0.164, allocations: 163.8 kB / 0.5922 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.164, allocations: 0 / 0.5922 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003018/0.1643, allocations: 84.03 kB / 0.5923 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1646, allocations: 8 kB / 0.5923 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.1653, allocations: 322.8 kB / 0.5926 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1655, allocations: 0.6965 MB / 0.5933 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.1656, allocations: 19.42 kB / 0.5933 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1656, allocations: 0 / 0.5933 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of Templates: time 0.003012/0.1687, allocations: 1.589 MB / 0.5949 GB, free: 9.75 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (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)