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.006859/0.006859, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00136/0.00136, allocations: 196.7 kB / 16.67 MB, free: 5.52 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8118/0.8118, allocations: 135.1 MB / 425.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.98 kB / 0.5856 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1674, allocations: 80.92 MB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002869/0.1703, allocations: 1.767 MB / 0.6664 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1715, allocations: 0.667 MB / 0.667 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.022e-05/0.1715, allocations: 4 kB / 0.667 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.219e-05/0.1716, allocations: 11.86 kB / 0.667 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.524e-05/0.1717, allocations: 15.81 kB / 0.6671 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.1723, allocations: 167 kB / 0.6672 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1724, allocations: 123.6 kB / 0.6673 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.1726, allocations: 52.77 kB / 0.6674 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.1727, allocations: 71.78 kB / 0.6675 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.1728, allocations: 51.75 kB / 0.6675 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.794e-05/0.1729, allocations: 12 kB / 0.6675 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.173, allocations: 43.97 kB / 0.6676 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.173, allocations: 31.89 kB / 0.6676 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.1731, allocations: 51.72 kB / 0.6676 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1733, allocations: 147.5 kB / 0.6678 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1733, allocations: 0 / 0.6678 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1733, allocations: 0 / 0.6678 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.1733, allocations: 3.938 kB / 0.6678 GB, free: 2.586 MB / 0.4981 GB 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.0006244/0.1739, allocations: 435.1 kB / 0.6682 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.174, allocations: 9.109 kB / 0.6682 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009001/0.1749, allocations: 108.6 kB / 0.6683 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.175, allocations: 196.1 kB / 0.6685 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-05/0.1752, allocations: 59.97 kB / 0.6686 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1752, allocations: 12.38 kB / 0.6686 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005461/0.1757, allocations: 173.5 kB / 0.6687 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1758, allocations: 0 / 0.6687 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.1758, allocations: 11.94 kB / 0.6687 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1758, allocations: 4 kB / 0.6687 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.1765, allocations: 157.6 kB / 0.6689 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.1777, allocations: 477.7 kB / 0.6693 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.1788, allocations: 222.3 kB / 0.6696 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003289/0.1791, allocations: 80.91 kB / 0.6696 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.1792, allocations: 3.984 kB / 0.6696 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.1792, allocations: 38.56 kB / 0.6697 GB, free: 476 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.1792, allocations: 0 / 0.6697 GB, free: 476 kB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001107/0.1803, allocations: 265.4 kB / 0.6699 GB, free: 204 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1804, allocations: 51.41 kB / 0.67 GB, free: 140 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1805, allocations: 140.2 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.1806, allocations: 33.7 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.622e-05/0.1807, allocations: 104.1 kB / 0.6702 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.1807, allocations: 23.73 kB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.1808, allocations: 21.7 kB / 0.6703 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.1809, allocations: 318.8 kB / 0.6706 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.1812, allocations: 79.91 kB / 0.6707 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.1815, allocations: 90.5 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.1822, allocations: 166.4 kB / 0.6709 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1822, allocations: 0 / 0.6709 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007199/0.1829, allocations: 205.6 kB / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.183, allocations: 4 kB / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.183, allocations: 0 / 0.6711 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.183, allocations: 7.938 kB / 0.6711 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.1833, allocations: 35.94 kB / 0.6712 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1833, allocations: 8.062 kB / 0.6712 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1835, allocations: 27.88 kB / 0.6712 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.1835, allocations: 4 kB / 0.6712 GB, free: 14.84 MB / 0.5137 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.0001288/0.1837, allocations: 117.8 kB / 0.6713 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.1837, allocations: 15.83 kB / 0.6713 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/0.1845, allocations: 210.1 kB / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1845, allocations: 0 / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1845, allocations: 3.938 kB / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1845, allocations: 0 / 0.6715 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.1848, allocations: 230.5 kB / 0.6717 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1848, allocations: 4 kB / 0.6718 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.1851, allocations: 39.88 kB / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1851, allocations: 4 kB / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1851, allocations: 3.938 kB / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1851, allocations: 0 / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1851, allocations: 0 / 0.6718 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007198/0.1858, allocations: 283.3 kB / 0.6721 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.1859, allocations: 85.02 kB / 0.6721 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1859, allocations: 7.938 kB / 0.6722 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.1863, allocations: 27.95 kB / 0.6722 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.1863, allocations: 11.98 kB / 0.6722 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1863, allocations: 8.172 kB / 0.6722 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.738e-05/0.1864, allocations: 105.6 kB / 0.6723 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1864, allocations: 0 / 0.6723 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000286/0.1867, allocations: 27.91 kB / 0.6723 GB, free: 13.58 MB / 0.5137 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.0001336/0.1869, allocations: 100.5 kB / 0.6724 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000717/0.1876, allocations: 171.8 kB / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1876, allocations: 0 / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.1879, allocations: 83.84 kB / 0.6727 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1883, allocations: 8 kB / 0.6727 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/0.189, allocations: 259.6 kB / 0.6729 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1893, allocations: 0.6963 MB / 0.6736 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.184e-05/0.1894, allocations: 19.98 kB / 0.6736 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.787e-05/0.1894, allocations: 11.44 kB / 0.6736 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1894, allocations: 0 / 0.6736 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.003882/0.1933, allocations: 1.476 MB / 0.6751 GB, free: 10.71 MB / 0.5137 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)